diff --git a/src/index.json b/src/index.json index 22104158ea8..b39bfe881b5 100644 --- a/src/index.json +++ b/src/index.json @@ -829,9 +829,9 @@ ], "storage-preview": [ { - "filename": "storage_preview-0.1.0-py2.py3-none-any.whl", - "sha256Digest": "36768962d09c65b9668581f5bc01f1ad252acf832f22afdb04ed00c3333379cc", - "downloadUrl": "https://azurecliprod.blob.core.windows.net/cli-extensions/storage_preview-0.1.0-py2.py3-none-any.whl", + "filename": "storage_preview-0.1.1-py2.py3-none-any.whl", + "sha256Digest": "4447f8b825559e2b94bbdcaa2a1af1723a2151fad670ff88162e8d2567e715cf", + "downloadUrl": "https://azurecliprod.blob.core.windows.net/cli-extensions/storage_preview-0.1.1-py2.py3-none-any.whl", "metadata": { "azext.isPreview": true, "azext.minCliCoreVersion": "2.0.32.dev0", @@ -870,7 +870,7 @@ "metadata_version": "2.0", "name": "storage-preview", "summary": "Provides a preview for upcoming storage features.", - "version": "0.1.0" + "version": "0.1.1" } } ] diff --git a/src/storage-preview/azext_storage_preview/__init__.py b/src/storage-preview/azext_storage_preview/__init__.py index 7ae28d3456b..c167eb17515 100644 --- a/src/storage-preview/azext_storage_preview/__init__.py +++ b/src/storage-preview/azext_storage_preview/__init__.py @@ -4,11 +4,11 @@ # -------------------------------------------------------------------------------------------- from azure.cli.core import AzCommandsLoader -from azure.cli.core.profiles import ResourceType, register_resource_type +from azure.cli.core.profiles import register_resource_type from azure.cli.core.commands import AzCommandGroup, AzArgumentContext import azext_storage_preview._help # pylint: disable=unused-import -from .profiles import CUSTOM_DATA_STORAGE +from .profiles import CUSTOM_DATA_STORAGE, CUSTOM_MGMT_STORAGE class StorageCommandsLoader(AzCommandsLoader): @@ -16,9 +16,11 @@ def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType register_resource_type('latest', CUSTOM_DATA_STORAGE, '2017-11-09') + register_resource_type('latest', CUSTOM_MGMT_STORAGE, '2018-02-01') storage_custom = CliCommandType(operations_tmpl='azext_storage_preview.custom#{}') super(StorageCommandsLoader, self).__init__(cli_ctx=cli_ctx, + min_profile='2017-03-10-profile', resource_type=CUSTOM_DATA_STORAGE, custom_command_type=storage_custom, command_group_cls=StorageCommandGroup, @@ -107,12 +109,12 @@ def register_common_storage_account_options(self): from ._validators import validate_encryption_services t_access_tier, t_sku_name, t_encryption_services = self.command_loader.get_models( - 'AccessTier', 'SkuName', 'EncryptionServices', resource_type=ResourceType.MGMT_STORAGE) + 'AccessTier', 'SkuName', 'EncryptionServices', resource_type=CUSTOM_MGMT_STORAGE) self.argument('https_only', help='Allows https traffic only to storage service.', arg_type=get_three_state_flag()) self.argument('sku', help='The storage account SKU.', arg_type=get_enum_type(t_sku_name)) - self.argument('assign_identity', action='store_true', resource_type=ResourceType.MGMT_STORAGE, + self.argument('assign_identity', action='store_true', resource_type=CUSTOM_MGMT_STORAGE, min_api='2017-06-01', help='Generate and assign a new Storage Account Identity for this storage account for use ' 'with key management services like Azure KeyVault.') @@ -125,7 +127,7 @@ def register_common_storage_account_options(self): encryption_choices = list( t_encryption_services._attribute_map.keys()) # pylint: disable=protected-access self.argument('encryption_services', arg_type=get_enum_type(encryption_choices), - resource_type=ResourceType.MGMT_STORAGE, min_api='2016-12-01', nargs='+', + resource_type=CUSTOM_MGMT_STORAGE, min_api='2016-12-01', nargs='+', validator=validate_encryption_services, help='Specifies which service(s) to encrypt.') @@ -196,14 +198,17 @@ def handler(ex): def _register_data_plane_account_arguments(self, command_name): """ Add parameters required to create a storage client """ + from azure.cli.core.commands.parameters import get_resource_name_completion_list from ._validators import validate_client_parameters command = self.command_loader.command_table.get(command_name, None) if not command: return group_name = 'Storage Account' + command.add_argument('account_name', '--account-name', required=False, default=None, arg_group=group_name, + completer=get_resource_name_completion_list('Microsoft.Storage/storageAccounts'), help='Storage account name. Related environment variable: AZURE_STORAGE_ACCOUNT. Must be ' 'used in conjunction with either storage account key or a SAS token. If neither are ' 'present, the command will try to query the storage account key using the ' diff --git a/src/storage-preview/azext_storage_preview/_client_factory.py b/src/storage-preview/azext_storage_preview/_client_factory.py index 849babefca2..ea1e750a65b 100644 --- a/src/storage-preview/azext_storage_preview/_client_factory.py +++ b/src/storage-preview/azext_storage_preview/_client_factory.py @@ -4,12 +4,12 @@ # -------------------------------------------------------------------------------------------- from azure.cli.core.commands.client_factory import get_mgmt_service_client, _get_add_headers_callback -from azure.cli.core.profiles import ResourceType, get_sdk +from azure.cli.core.profiles import get_sdk from knack.util import CLIError from knack.log import get_logger from .sdkutil import get_table_data_type -from .profiles import CUSTOM_DATA_STORAGE +from .profiles import CUSTOM_DATA_STORAGE, CUSTOM_MGMT_STORAGE NO_CREDENTIALS_ERROR_MESSAGE = """ No credentials specified to access storage service. Please provide any of the following: @@ -75,7 +75,7 @@ def generic_data_service_factory(cli_ctx, service, name=None, key=None, connecti def storage_client_factory(cli_ctx, **_): - return get_mgmt_service_client(cli_ctx, ResourceType.MGMT_STORAGE) + return get_mgmt_service_client(cli_ctx, CUSTOM_MGMT_STORAGE) def file_data_service_factory(cli_ctx, kwargs): @@ -164,3 +164,7 @@ def get_creator(name, service_type): def cf_sa(cli_ctx, _): return storage_client_factory(cli_ctx).storage_accounts + + +def cf_blob_container_mgmt(cli_ctx, _): + return storage_client_factory(cli_ctx).blob_containers diff --git a/src/storage-preview/azext_storage_preview/_format.py b/src/storage-preview/azext_storage_preview/_format.py index 908bb395e65..ebaa934ffaa 100644 --- a/src/storage-preview/azext_storage_preview/_format.py +++ b/src/storage-preview/azext_storage_preview/_format.py @@ -148,3 +148,11 @@ def transformer(result): return return_list return transformer + + +def transform_immutability_policy(result): + # service returns policy with period value of "0" after it has been deleted + # this only shows the policy if the property value is greater than 0 + if result.immutability_period_since_creation_in_days: + return result + return None diff --git a/src/storage-preview/azext_storage_preview/_help.py b/src/storage-preview/azext_storage_preview/_help.py index f185373a813..eebcfa7b984 100644 --- a/src/storage-preview/azext_storage_preview/_help.py +++ b/src/storage-preview/azext_storage_preview/_help.py @@ -403,6 +403,21 @@ short-summary: Manage container stored access policies. """ +helps['storage container immutability-policy'] = """ + type: group + short-summary: Manage container immutability policies. +""" + +helps['storage container legal-hold'] = """ + type: group + short-summary: Manage container legal holds. +""" + +helps['storage container legal-hold show'] = """ + type: command + short-summary: Get the legal hold properties of a container. +""" + helps['storage cors'] = """ type: group short-summary: Manage storage service Cross-Origin Resource Sharing (CORS). diff --git a/src/storage-preview/azext_storage_preview/_params.py b/src/storage-preview/azext_storage_preview/_params.py index 454a2121a23..ad72bc75f2d 100644 --- a/src/storage-preview/azext_storage_preview/_params.py +++ b/src/storage-preview/azext_storage_preview/_params.py @@ -3,7 +3,6 @@ # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- -from azure.cli.core.profiles import ResourceType from azure.cli.core.commands.validators import get_default_location_from_resource_group from azure.cli.core.commands.parameters import (tags_type, file_type, get_location_type, get_enum_type) @@ -13,6 +12,7 @@ validate_table_payload_format, validate_key, add_progress_callback, storage_account_key_options, process_file_download_namespace, process_metric_update_namespace, get_char_options_validator, validate_bypass, validate_encryption_source) +from .profiles import CUSTOM_MGMT_STORAGE def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statements @@ -24,7 +24,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem from azure.cli.core.commands.parameters import get_resource_name_completion_list from .sdkutil import get_table_data_type - from .completers import get_storage_name_completion_list + from .completers import get_storage_name_completion_list, get_container_name_completions t_base_blob_service = self.get_sdk('blob.baseblobservice#BaseBlobService') t_file_service = self.get_sdk('file#FileService') @@ -39,8 +39,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem parent='container_name')) container_name_type = CLIArgumentType(options_list=['--container-name', '-c'], help='The container name.', - completer=get_storage_name_completion_list(t_base_blob_service, - 'list_containers')) + completer=get_container_name_completions) directory_type = CLIArgumentType(options_list=['--directory-name', '-d'], help='The directory name.', completer=get_storage_name_completion_list(t_file_service, 'list_directories_and_files', @@ -84,7 +83,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem c.argument('if_match') c.argument('if_none_match') - for item in ['delete', 'list', 'show', 'show-usage', 'update', 'keys']: + for item in ['delete', 'list', 'show', 'update', 'keys']: with self.argument_context('storage account {}'.format(item)) as c: c.argument('account_name', acct_name_type, options_list=['--name', '-n']) @@ -93,7 +92,7 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem with self.argument_context('storage account create') as c: t_account_type, t_sku_name, t_kind = self.get_models('AccountType', 'SkuName', 'Kind', - resource_type=ResourceType.MGMT_STORAGE) + resource_type=CUSTOM_MGMT_STORAGE) c.register_common_storage_account_options() c.argument('location', get_location_type(self.cli_ctx), validator=get_default_location_from_resource_group) @@ -126,10 +125,10 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem c.ignore('encryption_key_vault_properties') for scope in ['storage account create', 'storage account update']: - with self.argument_context(scope, resource_type=ResourceType.MGMT_STORAGE, min_api='2017-06-01', + with self.argument_context(scope, resource_type=CUSTOM_MGMT_STORAGE, min_api='2017-06-01', arg_group='Network Rule') as c: t_bypass, t_default_action = self.get_models('Bypass', 'DefaultAction', - resource_type=ResourceType.MGMT_STORAGE) + resource_type=CUSTOM_MGMT_STORAGE) c.argument('bypass', nargs='+', validator=validate_bypass, arg_type=get_enum_type(t_bypass), help='Bypass traffic for space-separated uses.') @@ -417,6 +416,17 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem c.argument('lease_duration', type=int) c.argument('lease_break_period', type=int) + with self.argument_context('storage container immutability-policy') as c: + c.argument('immutability_period_since_creation_in_days', options_list='--period') + c.argument('container_name', container_name_type) + c.argument('account_name', completer=get_resource_name_completion_list('Microsoft.Storage/storageAccounts')) + + with self.argument_context('storage container legal-hold') as c: + c.argument('container_name', container_name_type) + c.argument('account_name', completer=get_resource_name_completion_list('Microsoft.Storage/storageAccounts')) + c.argument('tags', nargs='+', help='Each tag should be 3 to 23 alphanumeric characters and is ' + 'normalized to lower case') + with self.argument_context('storage share') as c: c.argument('share_name', share_name_type, options_list=('--name', '-n')) diff --git a/src/storage-preview/azext_storage_preview/_validators.py b/src/storage-preview/azext_storage_preview/_validators.py index 5fd4dd94ea3..a310790ca5c 100644 --- a/src/storage-preview/azext_storage_preview/_validators.py +++ b/src/storage-preview/azext_storage_preview/_validators.py @@ -6,13 +6,14 @@ # pylint: disable=protected-access from azure.cli.core.commands.client_factory import get_mgmt_service_client from azure.cli.core.commands.validators import validate_key_value_pairs -from azure.cli.core.profiles import ResourceType, get_sdk +from azure.cli.core.profiles import get_sdk from ._client_factory import get_storage_data_service_client from .util import glob_files_locally, guess_content_type from .sdkutil import get_table_data_type from .url_quote_util import encode_for_url from .oauth_token_util import TokenUpdater +from .profiles import CUSTOM_MGMT_STORAGE storage_account_key_options = {'primary': 'key1', 'secondary': 'key2'} @@ -23,7 +24,7 @@ # pylint: disable=inconsistent-return-statements def _query_account_key(cli_ctx, account_name): """Query the storage account key. This is used when the customer doesn't offer account key but name.""" - scf = get_mgmt_service_client(cli_ctx, ResourceType.MGMT_STORAGE) + scf = get_mgmt_service_client(cli_ctx, CUSTOM_MGMT_STORAGE) acc = next((x for x in scf.storage_accounts.list() if x.name == account_name), None) if acc: from msrestazure.tools import parse_resource_id @@ -31,7 +32,7 @@ def _query_account_key(cli_ctx, account_name): t_storage_account_keys, t_storage_account_list_keys_results = get_sdk( cli_ctx, - ResourceType.MGMT_STORAGE, + CUSTOM_MGMT_STORAGE, 'models.storage_account_keys#StorageAccountKeys', 'models.storage_account_list_keys_result#StorageAccountListKeysResult') @@ -398,7 +399,7 @@ def validate_encryption_services(cmd, namespace): Builds up the encryption services object for storage account operations based on the list of services passed in. """ if namespace.encryption_services: - t_encryption_services, t_encryption_service = get_sdk(cmd.cli_ctx, ResourceType.MGMT_STORAGE, + t_encryption_services, t_encryption_service = get_sdk(cmd.cli_ctx, CUSTOM_MGMT_STORAGE, 'EncryptionServices', 'EncryptionService', mod='models') services = {service: t_encryption_service(enabled=True) for service in namespace.encryption_services} @@ -420,7 +421,7 @@ def validate_encryption_source(cmd, namespace): if namespace.encryption_key_source != 'Microsoft.Keyvault': raise ValueError('--encryption-key-name, --encryption-key-vault, and --encryption-key-version are not ' 'applicable when --encryption-key-source=Microsoft.Keyvault is not specified.') - KeyVaultProperties = get_sdk(cmd.cli_ctx, ResourceType.MGMT_STORAGE, 'KeyVaultProperties', + KeyVaultProperties = get_sdk(cmd.cli_ctx, CUSTOM_MGMT_STORAGE, 'KeyVaultProperties', mod='models') if not KeyVaultProperties: return diff --git a/src/storage-preview/azext_storage_preview/commands.py b/src/storage-preview/azext_storage_preview/commands.py index 9dc997bd307..8a8ebba313b 100644 --- a/src/storage-preview/azext_storage_preview/commands.py +++ b/src/storage-preview/azext_storage_preview/commands.py @@ -5,20 +5,21 @@ from azure.cli.core.commands import CliCommandType from azure.cli.core.profiles import ResourceType -from ._client_factory import (cf_sa, blob_data_service_factory, +from ._client_factory import (cf_sa, cf_blob_container_mgmt, blob_data_service_factory, page_blob_service_factory, file_data_service_factory, queue_data_service_factory, table_data_service_factory, cloud_storage_account_service_factory, multi_service_properties_factory) from .sdkutil import cosmosdb_table_exists -from .profiles import CUSTOM_DATA_STORAGE +from .profiles import CUSTOM_DATA_STORAGE, CUSTOM_MGMT_STORAGE +from ._format import transform_immutability_policy def load_command_table(self, _): # pylint: disable=too-many-locals, too-many-statements storage_account_sdk = CliCommandType( operations_tmpl='azure.mgmt.storage.operations.storage_accounts_operations#StorageAccountsOperations.{}', client_factory=cf_sa, - resource_type=ResourceType.MGMT_STORAGE + resource_type=CUSTOM_MGMT_STORAGE ) storage_account_custom_type = CliCommandType( @@ -40,7 +41,7 @@ def get_custom_sdk(custom_module, client_factory, resource_type=CUSTOM_DATA_STOR resource_type=resource_type ) - with self.command_group('storage account', storage_account_sdk, resource_type=ResourceType.MGMT_STORAGE, + with self.command_group('storage account', storage_account_sdk, resource_type=CUSTOM_MGMT_STORAGE, custom_command_type=storage_account_custom_type) as g: g.command('check-name', 'check_name_availability') g.custom_command('create', 'create_storage_account', min_api='2016-01-01') @@ -57,7 +58,7 @@ def get_custom_sdk(custom_module, client_factory, resource_type=CUSTOM_DATA_STOR with self.command_group('storage account network-rule', storage_account_sdk, custom_command_type=storage_account_custom_type, - resource_type=ResourceType.MGMT_STORAGE, min_api='2017-06-01') as g: + resource_type=CUSTOM_MGMT_STORAGE, min_api='2017-06-01') as g: g.custom_command('add', 'add_network_rule') g.custom_command('list', 'list_network_rules') g.custom_command('remove', 'remove_network_rule') @@ -190,6 +191,25 @@ def get_custom_sdk(custom_module, client_factory, resource_type=CUSTOM_DATA_STOR g.storage_custom_command_oauth('policy show', 'get_acl_policy', exception_handler=g.get_handler_suppress_404()) g.storage_custom_command_oauth('policy list', 'list_acl_policies', table_transformer=transform_acl_list_output) + blob_container_mgmt_sdk = CliCommandType( + operations_tmpl='azext_storage_preview.vendored_sdks.azure_mgmt_storage.operations.blob_containers_operations' + '#BlobContainersOperations.{}', + client_factory=cf_blob_container_mgmt, + resource_type=CUSTOM_MGMT_STORAGE + ) + + with self.command_group('storage container immutability-policy', command_type=blob_container_mgmt_sdk) as g: + g.command('show', 'get_immutability_policy', transform=transform_immutability_policy) + g.command('create', 'create_or_update_immutability_policy') + g.command('delete', 'delete_immutability_policy', transform=lambda x: None) + g.command('lock', 'lock_immutability_policy') + g.command('extend', 'extend_immutability_policy') + + with self.command_group('storage container legal-hold', command_type=blob_container_mgmt_sdk) as g: + g.command('set', 'set_legal_hold') + g.command('clear', 'clear_legal_hold') + g.command('show', 'get', transform=lambda x: getattr(x, 'legal_hold', x)) + file_sdk = CliCommandType( operations_tmpl='azure.multiapi.storage.file.fileservice#FileService.{}', client_factory=file_data_service_factory, diff --git a/src/storage-preview/azext_storage_preview/completers.py b/src/storage-preview/azext_storage_preview/completers.py index acc8b2427cb..3f8cf03277e 100644 --- a/src/storage-preview/azext_storage_preview/completers.py +++ b/src/storage-preview/azext_storage_preview/completers.py @@ -7,6 +7,7 @@ from .util import get_storage_client from ._validators import validate_client_parameters +from ._client_factory import cf_sa, cf_blob_container_mgmt @Completer @@ -97,3 +98,16 @@ def completer(cmd, _, namespace): return list(getattr(client, func)(container_name)) return completer + + +@Completer +def get_container_name_completions(cmd, _, namespace): + if namespace.account_name: + account_client = cf_sa(cmd.cli_ctx, None) + account = next((x for x in account_client.list() if x.name == namespace.account_name), None) + if account: + from msrestazure.tools import parse_resource_id + rg = parse_resource_id(account.id)['resource_group'] + container_client = cf_blob_container_mgmt(cmd.cli_ctx, None) + return [container.name for container in container_client.list(rg, account.name).value] + return [] diff --git a/src/storage-preview/azext_storage_preview/operations/account.py b/src/storage-preview/azext_storage_preview/operations/account.py index 5179065c176..6dc3fa3b8a2 100644 --- a/src/storage-preview/azext_storage_preview/operations/account.py +++ b/src/storage-preview/azext_storage_preview/operations/account.py @@ -74,9 +74,11 @@ def show_storage_account_connection_string(cmd, resource_group_name, account_nam return {'connectionString': connection_string} -def show_storage_account_usage(cmd): +def show_storage_account_usage(cmd, location=None): scf = storage_client_factory(cmd.cli_ctx) - return next((x for x in scf.usage.list() if x.name.value == 'StorageAccounts'), None) # pylint: disable=no-member + if not location: + return next((x for x in scf.usage.list() if x.name.value == 'StorageAccounts'), None) # pylint: disable=no-member + return next((x for x in scf.usage.list_by_location(location) if x.name.value == 'StorageAccounts'), None) # pylint: disable=no-member # pylint: disable=too-many-locals diff --git a/src/storage-preview/azext_storage_preview/profiles.py b/src/storage-preview/azext_storage_preview/profiles.py index 05cdc4c3244..2503e06e914 100644 --- a/src/storage-preview/azext_storage_preview/profiles.py +++ b/src/storage-preview/azext_storage_preview/profiles.py @@ -7,3 +7,5 @@ CUSTOM_DATA_STORAGE = CustomResourceType('azext_storage_preview.vendored_sdks.azure_storage', None) +CUSTOM_MGMT_STORAGE = CustomResourceType('azext_storage_preview.vendored_sdks.azure_mgmt_storage', + 'StorageManagementClient') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/__init__.py b/src/storage-preview/azext_storage_preview/tests/latest/__init__.py index 34913fb394d..94b6f1f221a 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/__init__.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/__init__.py @@ -2,3 +2,7 @@ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- + +from azure.cli.core.profiles import register_resource_type +from ...profiles import CUSTOM_MGMT_STORAGE +register_resource_type('latest', CUSTOM_MGMT_STORAGE, '2018-02-01') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_account_sas.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_account_sas.yaml index 48ee9409608..a3028c1f643 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_account_sas.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_account_sas.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:22Z"}}' + "date": "2018-05-14T23:34:59Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:22Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:34:59Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:24 GMT'] + date: ['Mon, 14 May 2018 23:35:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:25 GMT'] + date: ['Mon, 14 May 2018 23:35:03 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/24581443-fca0-428e-a1d4-90be654a41cc?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b495545d-7224-45c8-85f7-8a7511a6be32?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/24581443-fca0-428e-a1d4-90be654a41cc?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b495545d-7224-45c8-85f7-8a7511a6be32?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:25.8713651Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:25.8713651Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:25.6526131Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.1149932Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.1149932Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:03.0524612Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:43 GMT'] + date: ['Mon, 14 May 2018 23:35:20 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"94uEIpJdQoFGvUpLq172W0WoJBW3KeymBQWjNIBcr123RxLVfRRVSCUUonj7bzAKTUI/gxPz4pB63bh6nuFp2w==","permissions":"FULL"},{"keyName":"key2","value":"K2uoQjVDL7nTil9ce1C8lxWta/FPE/5gqD/CL40AkFzidAFKmgam6IwToKaMYrXfEVywTfRKAwUflstPQEjwyQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"3iO6BzYHk4QkStq0A/0WTu8vuqVfrZirlCraDzsFIhKUGrT2L7WVcy3PoKPXPEWgVsfx5oWhPWBU1p7lznyRcA==","permissions":"FULL"},{"keyName":"key2","value":"lq4+ppbT+bnCaNKuq5RSlZzoKfW2AOyYxzg9rWxgvLS9i2FUOhhrVHouwUxMoyaOvRodVuC6inu1vLHU8Krgng==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:44 GMT'] + date: ['Mon, 14 May 2018 23:35:21 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -127,27 +125,25 @@ interactions: CommandName: [storage account generate-sas] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2018-02-01 response: - body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/o0zeaawp7t7n4skagntpri4","name":"o0zeaawp7t7n4skagntpri4","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.2637195Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.2637195Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.2168154Z","primaryEndpoints":{"blob":"https://o0zeaawp7t7n4skagntpri4.blob.core.windows.net/","queue":"https://o0zeaawp7t7n4skagntpri4.queue.core.windows.net/","table":"https://o0zeaawp7t7n4skagntpri4.table.core.windows.net/","file":"https://o0zeaawp7t7n4skagntpri4.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skagntpub","name":"zeaawp7t7n4skagntpub","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5762847Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5762847Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.5294154Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skagntpub.blob.core.windows.net/","queue":"https://zeaawp7t7n4skagntpub.queue.core.windows.net/","table":"https://zeaawp7t7n4skagntpub.table.core.windows.net/","file":"https://zeaawp7t7n4skagntpub.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storGRP1/providers/Microsoft.Storage/storageAccounts/storacc2","name":"storacc2","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-09T18:24:41.3214880Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-09T18:24:41.3214880Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-09T18:24:41.2902466Z","primaryEndpoints":{"blob":"https://storacc2.blob.core.windows.net/","queue":"https://storacc2.queue.core.windows.net/","table":"https://storacc2.table.core.windows.net/","file":"https://storacc2.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skdiag0","name":"zeaawp7t7n4skdiag0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.7951275Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.7951275Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.7482499Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skdiag0.blob.core.windows.net/","queue":"https://zeaawp7t7n4skdiag0.queue.core.windows.net/","table":"https://zeaawp7t7n4skdiag0.table.core.windows.net/","file":"https://zeaawp7t7n4skdiag0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyReallyCoolVM202/providers/Microsoft.Storage/storageAccounts/mynewaccount1234","name":"mynewaccount1234","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-27T21:34:15.2961058Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-27T21:34:15.2961058Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-27T21:34:15.2335978Z","primaryEndpoints":{"blob":"https://mynewaccount1234.blob.core.windows.net/","queue":"https://mynewaccount1234.queue.core.windows.net/","table":"https://mynewaccount1234.table.core.windows.net/","file":"https://mynewaccount1234.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/60zeaawp7t7n4skagntpri1","name":"60zeaawp7t7n4skagntpri1","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.4978129Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.4978129Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:33:59.3727743Z","primaryEndpoints":{"blob":"https://60zeaawp7t7n4skagntpri1.blob.core.windows.net/","queue":"https://60zeaawp7t7n4skagntpri1.queue.core.windows.net/","table":"https://60zeaawp7t7n4skagntpri1.table.core.windows.net/","file":"https://60zeaawp7t7n4skagntpri1.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/00zeaawp7t7n4skagntpri0","name":"00zeaawp7t7n4skagntpri0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:57.1533290Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:57.1533290Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:33:57.1064646Z","primaryEndpoints":{"blob":"https://00zeaawp7t7n4skagntpri0.blob.core.windows.net/","queue":"https://00zeaawp7t7n4skagntpri0.queue.core.windows.net/","table":"https://00zeaawp7t7n4skagntpri0.table.core.windows.net/","file":"https://00zeaawp7t7n4skagntpri0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Premium_LRS","tier":"Premium"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxgroupdisks925","name":"wilxgroupdisks925","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-13T17:14:42.2678046Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-13T17:14:42.2678046Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-13T17:14:42.2522063Z","primaryEndpoints":{"blob":"https://wilxgroupdisks925.blob.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/i0zeaawp7t7n4skagntpri3","name":"i0zeaawp7t7n4skagntpri3","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.2790240Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.2790240Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:33:59.2321471Z","primaryEndpoints":{"blob":"https://i0zeaawp7t7n4skagntpri3.blob.core.windows.net/","queue":"https://i0zeaawp7t7n4skagntpri3.queue.core.windows.net/","table":"https://i0zeaawp7t7n4skagntpri3.table.core.windows.net/","file":"https://i0zeaawp7t7n4skagntpri3.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skexhb0","name":"zeaawp7t7n4skexhb0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8576146Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8576146Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.7951275Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skexhb0.blob.core.windows.net/","queue":"https://zeaawp7t7n4skexhb0.queue.core.windows.net/","table":"https://zeaawp7t7n4skexhb0.table.core.windows.net/","file":"https://zeaawp7t7n4skexhb0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skmstr0","name":"zeaawp7t7n4skmstr0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5294154Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5294154Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.4825090Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skmstr0.blob.core.windows.net/","queue":"https://zeaawp7t7n4skmstr0.queue.core.windows.net/","table":"https://zeaawp7t7n4skmstr0.table.core.windows.net/","file":"https://zeaawp7t7n4skmstr0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/c0zeaawp7t7n4skagntpri2","name":"c0zeaawp7t7n4skagntpri2","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8889157Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8889157Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.8263879Z","primaryEndpoints":{"blob":"https://c0zeaawp7t7n4skagntpri2.blob.core.windows.net/","queue":"https://c0zeaawp7t7n4skagntpri2.queue.core.windows.net/","table":"https://c0zeaawp7t7n4skagntpri2.table.core.windows.net/","file":"https://c0zeaawp7t7n4skagntpri2.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"identity":{"principalId":"4b358eca-1f6e-4da5-a90c-5cfda2b6ca83","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amar/providers/Microsoft.Storage/storageAccounts/eastustorage1","name":"eastustorage1","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-21T02:38:33.4035294Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-21T02:38:33.4035294Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-03-21T02:38:33.3253713Z","primaryEndpoints":{"blob":"https://eastustorage1.blob.core.windows.net/","queue":"https://eastustorage1.queue.core.windows.net/","table":"https://eastustorage1.table.core.windows.net/","file":"https://eastustorage1.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available","secondaryLocation":"westus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroupeastus2/providers/Microsoft.Storage/storageAccounts/wilxstorageeastus2","name":"wilxstorageeastus2","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-30T18:32:07.3429304Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-30T18:32:07.3429304Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-30T18:32:07.2804546Z","primaryEndpoints":{"blob":"https://wilxstorageeastus2.blob.core.windows.net/","queue":"https://wilxstorageeastus2.queue.core.windows.net/","table":"https://wilxstorageeastus2.table.core.windows.net/","file":"https://wilxstorageeastus2.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available","secondaryLocation":"centralus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorageeastus2-secondary.blob.core.windows.net/","queue":"https://wilxstorageeastus2-secondary.queue.core.windows.net/","table":"https://wilxstorageeastus2-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgojaoj267klrvs47gnp57mu55f6yoziamdogqqs72by7ljczabahxkfmzi5mh2glk5/providers/Microsoft.Storage/storageAccounts/clitest7tkosn7vrxnjiifrm","name":"clitest7tkosn7vrxnjiifrm","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:30.8088827Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:30.8088827Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-01T21:45:30.4963753Z","primaryEndpoints":{"blob":"https://clitest7tkosn7vrxnjiifrm.blob.core.windows.net/","queue":"https://clitest7tkosn7vrxnjiifrm.queue.core.windows.net/","table":"https://clitest7tkosn7vrxnjiifrm.table.core.windows.net/","file":"https://clitest7tkosn7vrxnjiifrm.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgp3j2bt5nvsedgoxpqt6xtucbamnbo7jkgrcckdigt3aclxopqxio6lxjlqrj3czo7/providers/Microsoft.Storage/storageAccounts/clitestt7lrbv35ny3lgnfak","name":"clitestt7lrbv35ny3lgnfak","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:17:59.2725025Z","primaryEndpoints":{"blob":"https://clitestt7lrbv35ny3lgnfak.blob.core.windows.net/","queue":"https://clitestt7lrbv35ny3lgnfak.queue.core.windows.net/","table":"https://clitestt7lrbv35ny3lgnfak.table.core.windows.net/","file":"https://clitestt7lrbv35ny3lgnfak.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vscode-spot/providers/Microsoft.Storage/storageAccounts/spot1936b9594f55526a14","name":"spot1936b9594f55526a14","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-30T04:32:25.2179795Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-30T04:32:25.2179795Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-30T04:32:25.0930004Z","primaryEndpoints":{"blob":"https://spot1936b9594f55526a14.blob.core.windows.net/","queue":"https://spot1936b9594f55526a14.queue.core.windows.net/","table":"https://spot1936b9594f55526a14.table.core.windows.net/","file":"https://spot1936b9594f55526a14.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/awilxlab6038","name":"awilxlab6038","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"hidden-DevTestLabs-LabUId":"8887c3df-fb11-4c4a-b5ea-fb85003cd93d"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-11T22:14:43.7809117Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-11T22:14:43.7809117Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-11T22:14:43.6871681Z","primaryEndpoints":{"blob":"https://awilxlab6038.blob.core.windows.net/","queue":"https://awilxlab6038.queue.core.windows.net/","table":"https://awilxlab6038.table.core.windows.net/","file":"https://awilxlab6038.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy985","name":"foozy985","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-11T22:39:05.4716715Z","primaryEndpoints":{"blob":"https://foozy985.blob.core.windows.net/","queue":"https://foozy985.queue.core.windows.net/","table":"https://foozy985.table.core.windows.net/","file":"https://foozy985.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amar/providers/Microsoft.Storage/storageAccounts/testacc7561","name":"testacc7561","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-13T01:22:28.4626746Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-13T01:22:28.4626746Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-03-13T01:22:28.4157923Z","primaryEndpoints":{"blob":"https://testacc7561.blob.core.windows.net/","queue":"https://testacc7561.queue.core.windows.net/","table":"https://testacc7561.table.core.windows.net/","file":"https://testacc7561.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxstorage2","name":"wilxstorage2","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-16T19:43:30.0571507Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-16T19:43:30.0571507Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-16T19:43:29.9946790Z","primaryEndpoints":{"blob":"https://wilxstorage2.blob.core.windows.net/","queue":"https://wilxstorage2.queue.core.windows.net/","table":"https://wilxstorage2.table.core.windows.net/","file":"https://wilxstorage2.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorage2-secondary.blob.core.windows.net/","queue":"https://wilxstorage2-secondary.queue.core.windows.net/","table":"https://wilxstorage2-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_ZRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/foostore103","name":"foostore103","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-05-25T23:52:18.1234838Z","primaryEndpoints":{"blob":"https://foostore103.blob.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_ZRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/foostore102","name":"foostore102","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1835342Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1835342Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-05-25T19:32:49.5192125Z","primaryEndpoints":{"blob":"https://foostore102.blob.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitest345","name":"zitest345","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8313291Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8313291Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-07T21:55:13.9394493Z","primaryEndpoints":{"blob":"https://zitest345.blob.core.windows.net/","queue":"https://zitest345.queue.core.windows.net/","table":"https://zitest345.table.core.windows.net/","file":"https://zitest345.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitest","name":"zitest","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.7688032Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.7688032Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-05-03T20:07:05.353746Z","primaryEndpoints":{"blob":"https://zitest.blob.core.windows.net/","queue":"https://zitest.queue.core.windows.net/","table":"https://zitest.table.core.windows.net/","file":"https://zitest.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitest1012","name":"zitest1012","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8001033Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8001033Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2017-07-07T02:12:27.684591Z","primaryEndpoints":{"blob":"https://zitest1012.blob.core.windows.net/","queue":"https://zitest1012.queue.core.windows.net/","table":"https://zitest1012.table.core.windows.net/","file":"https://zitest1012.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgvnc44s5iiyknx6iehpbmjsf7y6xsqhrqvyb5opb2yr5wagkqftcqlbbpfkralo2id/providers/Microsoft.Storage/storageAccounts/clitesttc4beb6y7zcdc7zly","name":"clitesttc4beb6y7zcdc7zly","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:16:26.3626209Z","primaryEndpoints":{"blob":"https://clitesttc4beb6y7zcdc7zly.blob.core.windows.net/","queue":"https://clitesttc4beb6y7zcdc7zly.queue.core.windows.net/","table":"https://clitesttc4beb6y7zcdc7zly.table.core.windows.net/","file":"https://clitesttc4beb6y7zcdc7zly.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg3yzhuqlkkv4l7gq2shu6suxl6afxmnlqhzh2u225pyluz6ukscohbbgylq7s5zifg/providers/Microsoft.Storage/storageAccounts/clitestl45vwc3spozojtlf7","name":"clitestl45vwc3spozojtlf7","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:28.7932429Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:28.7932429Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:28.7151381Z","primaryEndpoints":{"blob":"https://clitestl45vwc3spozojtlf7.blob.core.windows.net/","queue":"https://clitestl45vwc3spozojtlf7.queue.core.windows.net/","table":"https://clitestl45vwc3spozojtlf7.table.core.windows.net/","file":"https://clitestl45vwc3spozojtlf7.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/lmazuel-docker-machine/providers/Microsoft.Storage/storageAccounts/vhdsn51j1sdv8scmv98fmq8q","name":"vhdsn51j1sdv8scmv98fmq8q","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.3085287Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.3085287Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-03T21:43:45.5227216Z","primaryEndpoints":{"blob":"https://vhdsn51j1sdv8scmv98fmq8q.blob.core.windows.net/","queue":"https://vhdsn51j1sdv8scmv98fmq8q.queue.core.windows.net/","table":"https://vhdsn51j1sdv8scmv98fmq8q.table.core.windows.net/","file":"https://vhdsn51j1sdv8scmv98fmq8q.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy984","name":"foozy984","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-11T18:22:12.9346214Z","primaryEndpoints":{"blob":"https://foozy984.blob.core.windows.net/","queue":"https://foozy984.queue.core.windows.net/","table":"https://foozy984.table.core.windows.net/","file":"https://foozy984.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgzlponhuihq2f3r2ncatzpvyupukdm6ixm63jq2whzuvbuchjhov4vejrj4uspf7ju/providers/Microsoft.Storage/storageAccounts/clitestracm62rkgrryoiiig","name":"clitestracm62rkgrryoiiig","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:57:00.9900481Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:57:00.9900481Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:57:00.9119456Z","primaryEndpoints":{"blob":"https://clitestracm62rkgrryoiiig.blob.core.windows.net/","queue":"https://clitestracm62rkgrryoiiig.queue.core.windows.net/","table":"https://clitestracm62rkgrryoiiig.table.core.windows.net/","file":"https://clitestracm62rkgrryoiiig.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgaz3x2qjeu5xahclts7r7bqdgy4cuuxwsjuskjp2yklftsa2vvhsfnv32dzawwhxj4/providers/Microsoft.Storage/storageAccounts/clitestzsvhxykinf3qwcf25","name":"clitestzsvhxykinf3qwcf25","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:27.3088492Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:27.3088492Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:27.1057047Z","primaryEndpoints":{"blob":"https://clitestzsvhxykinf3qwcf25.blob.core.windows.net/","queue":"https://clitestzsvhxykinf3qwcf25.queue.core.windows.net/","table":"https://clitestzsvhxykinf3qwcf25.table.core.windows.net/","file":"https://clitestzsvhxykinf3qwcf25.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/testacc209","name":"testacc209","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3156846Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3156846Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-01-26T19:04:16.5466637Z","primaryEndpoints":{"blob":"https://testacc209.blob.core.windows.net/","queue":"https://testacc209.queue.core.windows.net/","table":"https://testacc209.table.core.windows.net/","file":"https://testacc209.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgi5u2fwbpqi6kc6yo2odysgg2zhkd7hteysctgc2uhogvocg4hdpi4dx6o7zo7j4z5/providers/Microsoft.Storage/storageAccounts/clitestmym7gychmllliz4j3","name":"clitestmym7gychmllliz4j3","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:26.3557297Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:26.3557297Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:26.0744949Z","primaryEndpoints":{"blob":"https://clitestmym7gychmllliz4j3.blob.core.windows.net/","queue":"https://clitestmym7gychmllliz4j3.queue.core.windows.net/","table":"https://clitestmym7gychmllliz4j3.table.core.windows.net/","file":"https://clitestmym7gychmllliz4j3.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-westus/providers/Microsoft.Storage/storageAccounts/cs400977cdb163fx435fx9c3","name":"cs400977cdb163fx435fx9c3","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-10-31T20:15:56.3292318Z","primaryEndpoints":{"blob":"https://cs400977cdb163fx435fx9c3.blob.core.windows.net/","queue":"https://cs400977cdb163fx435fx9c3.queue.core.windows.net/","table":"https://cs400977cdb163fx435fx9c3.table.core.windows.net/","file":"https://cs400977cdb163fx435fx9c3.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwgjgodisz2vcsd55l3bixhutc5fbnyeyjuyatvgcv5k7sfzmxd6q2w4krnuq53zb7/providers/Microsoft.Storage/storageAccounts/clitestwwftaylvfj7kendae","name":"clitestwwftaylvfj7kendae","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:22:09.5983536Z","primaryEndpoints":{"blob":"https://clitestwwftaylvfj7kendae.blob.core.windows.net/","queue":"https://clitestwwftaylvfj7kendae.queue.core.windows.net/","table":"https://clitestwwftaylvfj7kendae.table.core.windows.net/","file":"https://clitestwwftaylvfj7kendae.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ziptxtdepl51/providers/Microsoft.Storage/storageAccounts/36y3ij42opovcstandardsa","name":"36y3ij42opovcstandardsa","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1054140Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1054140Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-12-15T01:53:43.4548265Z","primaryEndpoints":{"blob":"https://36y3ij42opovcstandardsa.blob.core.windows.net/","queue":"https://36y3ij42opovcstandardsa.queue.core.windows.net/","table":"https://36y3ij42opovcstandardsa.table.core.windows.net/","file":"https://36y3ij42opovcstandardsa.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgaungorwypaguq2ueh77vyexw7bdmu72z7vjoql6tnofssibb7u7bf2oex6iqg6jzz/providers/Microsoft.Storage/storageAccounts/clitestydki2n33vwyrmdoub","name":"clitestydki2n33vwyrmdoub","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:31.1057749Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:31.1057749Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-01T21:45:30.8713726Z","primaryEndpoints":{"blob":"https://clitestydki2n33vwyrmdoub.blob.core.windows.net/","queue":"https://clitestydki2n33vwyrmdoub.queue.core.windows.net/","table":"https://clitestydki2n33vwyrmdoub.table.core.windows.net/","file":"https://clitestydki2n33vwyrmdoub.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitestydki2n33vwyrmdoub-secondary.blob.core.windows.net/","queue":"https://clitestydki2n33vwyrmdoub-secondary.queue.core.windows.net/","table":"https://clitestydki2n33vwyrmdoub-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitestb21","name":"zitestb21","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0656866Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0656866Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-08-23T20:10:50.2990885Z","primaryEndpoints":{"blob":"https://zitestb21.blob.core.windows.net/","queue":"https://zitestb21.queue.core.windows.net/","table":"https://zitestb21.table.core.windows.net/","file":"https://zitestb21.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy891","name":"foozy891","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2147571Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2147571Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-08T00:35:23.7925542Z","primaryEndpoints":{"blob":"https://foozy891.blob.core.windows.net/","queue":"https://foozy891.queue.core.windows.net/","table":"https://foozy891.table.core.windows.net/","file":"https://foozy891.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgh73m2h6rniak5bbqyrad43luxpotdofmlndof5secsxxee53kwocysqnklf4bn7yd/providers/Microsoft.Storage/storageAccounts/clitesttohpa6d65i7atctbm","name":"clitesttohpa6d65i7atctbm","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:05:15.5574981Z","primaryEndpoints":{"blob":"https://clitesttohpa6d65i7atctbm.blob.core.windows.net/","queue":"https://clitesttohpa6d65i7atctbm.queue.core.windows.net/","table":"https://clitesttohpa6d65i7atctbm.table.core.windows.net/","file":"https://clitesttohpa6d65i7atctbm.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgzgkjvgqueh6ylbuj5ktuxx6m6njxoabzpow65vpyumzmtjctna2jgz5lg2ggslj7v/providers/Microsoft.Storage/storageAccounts/clitestncgrg5ytsvot5spgf","name":"clitestncgrg5ytsvot5spgf","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:27.7307380Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:27.7307380Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:27.5276141Z","primaryEndpoints":{"blob":"https://clitestncgrg5ytsvot5spgf.blob.core.windows.net/","queue":"https://clitestncgrg5ytsvot5spgf.queue.core.windows.net/","table":"https://clitestncgrg5ytsvot5spgf.table.core.windows.net/","file":"https://clitestncgrg5ytsvot5spgf.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ZiTest/providers/Microsoft.Storage/storageAccounts/ztesty3456","name":"ztesty3456","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-13T01:01:13.5308331Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-13T01:01:13.5308331Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-01-13T01:01:13.4995571Z","primaryEndpoints":{"blob":"https://ztesty3456.blob.core.windows.net/","queue":"https://ztesty3456.queue.core.windows.net/","table":"https://ztesty3456.table.core.windows.net/","file":"https://ztesty3456.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgpf2denbj6axv7zzgne46nwonr7nj5agy2o2boyvdwim2tk3ha36wt53og4bdbazyl/providers/Microsoft.Storage/storageAccounts/clitestkmwx76vctofb4mjsq","name":"clitestkmwx76vctofb4mjsq","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:26.6057257Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:26.6057257Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:26.4651043Z","primaryEndpoints":{"blob":"https://clitestkmwx76vctofb4mjsq.blob.core.windows.net/","queue":"https://clitestkmwx76vctofb4mjsq.queue.core.windows.net/","table":"https://clitestkmwx76vctofb4mjsq.table.core.windows.net/","file":"https://clitestkmwx76vctofb4mjsq.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:25.8713651Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:25.8713651Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:25.6526131Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/some-unique-rg-name-second/providers/Microsoft.Storage/storageAccounts/tianosatest79","name":"tianosatest79","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:46.6281789Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:46.6281789Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-05-24T23:16:33.9028352Z","primaryEndpoints":{"blob":"https://tianosatest79.blob.core.windows.net/","queue":"https://tianosatest79.queue.core.windows.net/","table":"https://tianosatest79.table.core.windows.net/","file":"https://tianosatest79.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy894","name":"foozy894","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2303818Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2303818Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-08T00:39:03.09634Z","primaryEndpoints":{"blob":"https://foozy894.blob.core.windows.net/","queue":"https://foozy894.queue.core.windows.net/","table":"https://foozy894.table.core.windows.net/","file":"https://foozy894.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg7175/providers/Microsoft.Storage/storageAccounts/testacc7447","name":"testacc7447","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4719947Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4719947Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T19:13:51.907911Z","primaryEndpoints":{"blob":"https://testacc7447.blob.core.windows.net/","queue":"https://testacc7447.queue.core.windows.net/","table":"https://testacc7447.table.core.windows.net/","file":"https://testacc7447.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitesta21","name":"zitesta21","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0344305Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0344305Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-08-23T20:01:18.8418933Z","primaryEndpoints":{"blob":"https://zitesta21.blob.core.windows.net/","queue":"https://zitesta21.queue.core.windows.net/","table":"https://zitesta21.table.core.windows.net/","file":"https://zitesta21.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgcmxzjqe2ev2tarnzledhk4m7mk5dsnxznyqtyvx7dixjnjgqs4h5dh37jqoyzj5l5/providers/Microsoft.Storage/storageAccounts/cliteste7bmlfupz34m23jnc","name":"cliteste7bmlfupz34m23jnc","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-12-11T00:17:56.913505Z","primaryEndpoints":{"blob":"https://cliteste7bmlfupz34m23jnc.blob.core.windows.net/","queue":"https://cliteste7bmlfupz34m23jnc.queue.core.windows.net/","table":"https://cliteste7bmlfupz34m23jnc.table.core.windows.net/","file":"https://cliteste7bmlfupz34m23jnc.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg9639/providers/Microsoft.Storage/storageAccounts/testacc3070","name":"testacc3070","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3469905Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3469905Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T18:42:53.9505428Z","primaryEndpoints":{"blob":"https://testacc3070.blob.core.windows.net/","queue":"https://testacc3070.queue.core.windows.net/","table":"https://testacc3070.table.core.windows.net/","file":"https://testacc3070.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg52ctd4ojyg3ymklacmvjr36nyepy2y5j2nq62diomibfwqid5v3esztgp2jcx74kv/providers/Microsoft.Storage/storageAccounts/clitestfu622ozd5q5z6e7zv","name":"clitestfu622ozd5q5z6e7zv","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:30.0901281Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:30.0901281Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-01T21:45:29.8557657Z","primaryEndpoints":{"blob":"https://clitestfu622ozd5q5z6e7zv.blob.core.windows.net/","queue":"https://clitestfu622ozd5q5z6e7zv.queue.core.windows.net/","table":"https://clitestfu622ozd5q5z6e7zv.table.core.windows.net/","file":"https://clitestfu622ozd5q5z6e7zv.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitestfu622ozd5q5z6e7zv-secondary.blob.core.windows.net/","queue":"https://clitestfu622ozd5q5z6e7zv-secondary.queue.core.windows.net/","table":"https://clitestfu622ozd5q5z6e7zv-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgvxzuui3qnyb3zab5viv7a6bxgimxz4k4iz4mgbw7l4js7n6aihljep4uihumvu5vg/providers/Microsoft.Storage/storageAccounts/clitestmkl7mkwejyngxmxpm","name":"clitestmkl7mkwejyngxmxpm","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:29.0276324Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:29.0276324Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:28.8244943Z","primaryEndpoints":{"blob":"https://clitestmkl7mkwejyngxmxpm.blob.core.windows.net/","queue":"https://clitestmkl7mkwejyngxmxpm.queue.core.windows.net/","table":"https://clitestmkl7mkwejyngxmxpm.table.core.windows.net/","file":"https://clitestmkl7mkwejyngxmxpm.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitesty21","name":"zitesty21","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0969536Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0969536Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-08-23T19:55:37.1159138Z","primaryEndpoints":{"blob":"https://zitesty21.blob.core.windows.net/","queue":"https://zitesty21.queue.core.windows.net/","table":"https://zitesty21.table.core.windows.net/","file":"https://zitesty21.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg3787/providers/Microsoft.Storage/storageAccounts/testacc5739","name":"testacc5739","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4406899Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4406899Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T02:06:37.3496304Z","primaryEndpoints":{"blob":"https://testacc5739.blob.core.windows.net/","queue":"https://testacc5739.queue.core.windows.net/","table":"https://testacc5739.table.core.windows.net/","file":"https://testacc5739.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg8761/providers/Microsoft.Storage/storageAccounts/testacc3915","name":"testacc3915","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4094279Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4094279Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T01:35:41.2354283Z","primaryEndpoints":{"blob":"https://testacc3915.blob.core.windows.net/","queue":"https://testacc3915.queue.core.windows.net/","table":"https://testacc3915.table.core.windows.net/","file":"https://testacc3915.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy89","name":"foozy89","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-07T22:15:52.1441975Z","primaryEndpoints":{"blob":"https://foozy89.blob.core.windows.net/","queue":"https://foozy89.queue.core.windows.net/","table":"https://foozy89.table.core.windows.net/","file":"https://foozy89.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxgroupdiag169","name":"wilxgroupdiag169","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-29T22:34:01.9561177Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-29T22:34:01.9561177Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-29T22:34:01.8935895Z","primaryEndpoints":{"blob":"https://wilxgroupdiag169.blob.core.windows.net/","queue":"https://wilxgroupdiag169.queue.core.windows.net/","table":"https://wilxgroupdiag169.table.core.windows.net/","file":"https://wilxgroupdiag169.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgg4iadnthjykpxrgud5gxju5rfqzthb6uvqfcm3t7cztqm5v2yyjbfuusommo4mtpv/providers/Microsoft.Storage/storageAccounts/clitestr7jsatxwbv2sefsvr","name":"clitestr7jsatxwbv2sefsvr","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:28.2151132Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:28.2151132Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:28.1369842Z","primaryEndpoints":{"blob":"https://clitestr7jsatxwbv2sefsvr.blob.core.windows.net/","queue":"https://clitestr7jsatxwbv2sefsvr.queue.core.windows.net/","table":"https://clitestr7jsatxwbv2sefsvr.table.core.windows.net/","file":"https://clitestr7jsatxwbv2sefsvr.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Premium_LRS","tier":"Premium"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxgroupdisks899","name":"wilxgroupdisks899","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-11T23:26:25.3653337Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-11T23:26:25.3653337Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-11T23:26:25.2872072Z","primaryEndpoints":{"blob":"https://wilxgroupdisks899.blob.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg6sqzt5phdo5viklk7dquteui74rn3vn2tioolq5dsdnz2znxn6fdwaa47uyu2i4eg/providers/Microsoft.Storage/storageAccounts/clitestgjx5vdkyf74377ieg","name":"clitestgjx5vdkyf74377ieg","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:09:48.4001597Z","primaryEndpoints":{"blob":"https://clitestgjx5vdkyf74377ieg.blob.core.windows.net/","queue":"https://clitestgjx5vdkyf74377ieg.queue.core.windows.net/","table":"https://clitestgjx5vdkyf74377ieg.table.core.windows.net/","file":"https://clitestgjx5vdkyf74377ieg.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxstorage","name":"wilxstorage","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-15T17:47:45.4399402Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-15T17:47:45.4399402Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-15T17:47:45.3930700Z","primaryEndpoints":{"blob":"https://wilxstorage.blob.core.windows.net/","queue":"https://wilxstorage.queue.core.windows.net/","table":"https://wilxstorage.table.core.windows.net/","file":"https://wilxstorage.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorage-secondary.blob.core.windows.net/","queue":"https://wilxstorage-secondary.queue.core.windows.net/","table":"https://wilxstorage-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/foostore12978","name":"foostore12978","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-22T22:18:07.1937355Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-22T22:18:07.1937355Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-04-29T06:55:06.4412159Z","primaryEndpoints":{"blob":"https://foostore12978.blob.core.windows.net/","queue":"https://foostore12978.queue.core.windows.net/","table":"https://foostore12978.table.core.windows.net/","file":"https://foostore12978.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/t-chwong/providers/Microsoft.Storage/storageAccounts/tchwong","name":"tchwong","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-01T18:07:07.4006066Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-01T18:07:07.4006066Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-03-01T18:07:07.3381076Z","primaryEndpoints":{"blob":"https://tchwong.blob.core.windows.net/","table":"https://tchwong.table.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestlab1/providers/Microsoft.Storage/storageAccounts/acliautomationlab8902","name":"acliautomationlab8902","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"hidden-DevTestLabs-LabUId":"ca9ec547-32c5-422d-b3d2-25906ed71959"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:51:47.2194106Z","primaryEndpoints":{"blob":"https://acliautomationlab8902.blob.core.windows.net/","queue":"https://acliautomationlab8902.queue.core.windows.net/","table":"https://acliautomationlab8902.table.core.windows.net/","file":"https://acliautomationlab8902.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"identity":{"principalId":"ebc8557b-5159-4db6-8b04-699759875130","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgls6pde2luhubksnkjxebnrqthsdi6dcfpxcrhlmgnvdkkimk6b2usub6ehq3ocrsm/providers/Microsoft.Storage/storageAccounts/clitesttrevle6ezqkjtfdl3","name":"clitesttrevle6ezqkjtfdl3","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-14T22:32:56.5552622Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-14T22:32:56.5552622Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-14T22:32:56.5084099Z","primaryEndpoints":{"blob":"https://clitesttrevle6ezqkjtfdl3.blob.core.windows.net/","queue":"https://clitesttrevle6ezqkjtfdl3.queue.core.windows.net/","table":"https://clitesttrevle6ezqkjtfdl3.table.core.windows.net/","file":"https://clitesttrevle6ezqkjtfdl3.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/lmazuel-testfunction-msi/providers/Microsoft.Storage/storageAccounts/lmazueltestfuncbbd8","name":"lmazueltestfuncbbd8","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-10-11T19:03:26.3781645Z","primaryEndpoints":{"blob":"https://lmazueltestfuncbbd8.blob.core.windows.net/","queue":"https://lmazueltestfuncbbd8.queue.core.windows.net/","table":"https://lmazueltestfuncbbd8.table.core.windows.net/","file":"https://lmazueltestfuncbbd8.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southcentralus/providers/Microsoft.Storage/storageAccounts/cs700977cdb163fx435fx9c3","name":"cs700977cdb163fx435fx9c3","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-08-09T21:59:02.7061936Z","primaryEndpoints":{"blob":"https://cs700977cdb163fx435fx9c3.blob.core.windows.net/","queue":"https://cs700977cdb163fx435fx9c3.queue.core.windows.net/","table":"https://cs700977cdb163fx435fx9c3.table.core.windows.net/","file":"https://cs700977cdb163fx435fx9c3.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/t-chwong/providers/Microsoft.Storage/storageAccounts/tchwongdiag300","name":"tchwongdiag300","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T18:15:54.9483325Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T18:15:54.9483325Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T18:15:54.8858351Z","primaryEndpoints":{"blob":"https://tchwongdiag300.blob.core.windows.net/","queue":"https://tchwongdiag300.queue.core.windows.net/","table":"https://tchwongdiag300.table.core.windows.net/","file":"https://tchwongdiag300.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azurefunctions-southcentralus/providers/Microsoft.Storage/storageAccounts/azurefunctions2e2e624d","name":"azurefunctions2e2e624d","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1535349Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1535349Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-22T21:04:32.5702152Z","primaryEndpoints":{"blob":"https://azurefunctions2e2e624d.blob.core.windows.net/","queue":"https://azurefunctions2e2e624d.queue.core.windows.net/","table":"https://azurefunctions2e2e624d.table.core.windows.net/","file":"https://azurefunctions2e2e624d.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available","secondaryLocation":"northcentralus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup2/providers/Microsoft.Storage/storageAccounts/wilxstorage0","name":"wilxstorage0","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-04-13T01:05:28.4023820Z","primaryEndpoints":{"blob":"https://wilxstorage0.blob.core.windows.net/","queue":"https://wilxstorage0.queue.core.windows.net/","table":"https://wilxstorage0.table.core.windows.net/","file":"https://wilxstorage0.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmr6jo34yofyafj3n6gjbhrgmrd6pwgguthc2u235qfle6y6ztyzrlkuqn544s7cop/providers/Microsoft.Storage/storageAccounts/clitestnlmd52jlcmr4ce7b4","name":"clitestnlmd52jlcmr4ce7b4","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:14:07.3188286Z","primaryEndpoints":{"blob":"https://clitestnlmd52jlcmr4ce7b4.blob.core.windows.net/","queue":"https://clitestnlmd52jlcmr4ce7b4.queue.core.windows.net/","table":"https://clitestnlmd52jlcmr4ce7b4.table.core.windows.net/","file":"https://clitestnlmd52jlcmr4ce7b4.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageworm","name":"wilxstorageworm","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-13T22:36:53.0909769Z","primaryEndpoints":{"blob":"https://wilxstorageworm.blob.core.windows.net/","queue":"https://wilxstorageworm.queue.core.windows.net/","table":"https://wilxstorageworm.table.core.windows.net/","file":"https://wilxstorageworm.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorageworm-secondary.blob.core.windows.net/","queue":"https://wilxstorageworm-secondary.queue.core.windows.net/","table":"https://wilxstorageworm-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg326oxnqqn33y3n42vz6x5xol5rvvw3z4o6tladwwtkmcntnsxhhxxtddtrxwm2edj/providers/Microsoft.Storage/storageAccounts/clitestjwzkdsfuou3niutbd","name":"clitestjwzkdsfuou3niutbd","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:07:33.0552270Z","primaryEndpoints":{"blob":"https://clitestjwzkdsfuou3niutbd.blob.core.windows.net/","queue":"https://clitestjwzkdsfuou3niutbd.queue.core.windows.net/","table":"https://clitestjwzkdsfuou3niutbd.table.core.windows.net/","file":"https://clitestjwzkdsfuou3niutbd.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgldagdmcl4pklmwzmr3wftx2kidhw7johz6d7tl6m7raetzzfhpqhrfffu5vwqtfxo/providers/Microsoft.Storage/storageAccounts/clitestt6pqb7xneswrh2sp6","name":"clitestt6pqb7xneswrh2sp6","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:51:14.8105336Z","primaryEndpoints":{"blob":"https://clitestt6pqb7xneswrh2sp6.blob.core.windows.net/","queue":"https://clitestt6pqb7xneswrh2sp6.queue.core.windows.net/","table":"https://clitestt6pqb7xneswrh2sp6.table.core.windows.net/","file":"https://clitestt6pqb7xneswrh2sp6.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgf3er5m4irbxsxhyil42jxq3t5ehzphmdzn2gortdlrzyw4i6tlgswx2xrcgldp6oh/providers/Microsoft.Storage/storageAccounts/clitestpabilv4yd6qxvguml","name":"clitestpabilv4yd6qxvguml","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T19:20:22.2445526Z","primaryEndpoints":{"blob":"https://clitestpabilv4yd6qxvguml.blob.core.windows.net/","queue":"https://clitestpabilv4yd6qxvguml.queue.core.windows.net/","table":"https://clitestpabilv4yd6qxvguml.table.core.windows.net/","file":"https://clitestpabilv4yd6qxvguml.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwxiadyatfxsixayqfinia7ybjwo5cfoyw65qpuna3alx3x2diwukx4tkcpwir2mbq/providers/Microsoft.Storage/storageAccounts/clitesta2lvllqz23rgasyf7","name":"clitesta2lvllqz23rgasyf7","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:57:25.6193002Z","primaryEndpoints":{"blob":"https://clitesta2lvllqz23rgasyf7.blob.core.windows.net/","queue":"https://clitesta2lvllqz23rgasyf7.queue.core.windows.net/","table":"https://clitesta2lvllqz23rgasyf7.table.core.windows.net/","file":"https://clitesta2lvllqz23rgasyf7.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoo2qxqtbb56w7uujqzhodrozdh7fxg5wxscql4ndybxkardgqzqvheltadic2zoxf/providers/Microsoft.Storage/storageAccounts/clitestfyixx74gs3loj3isf","name":"clitestfyixx74gs3loj3isf","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:34:26.5668681Z","primaryEndpoints":{"blob":"https://clitestfyixx74gs3loj3isf.blob.core.windows.net/","queue":"https://clitestfyixx74gs3loj3isf.queue.core.windows.net/","table":"https://clitestfyixx74gs3loj3isf.table.core.windows.net/","file":"https://clitestfyixx74gs3loj3isf.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd5ygu6mbq43qw57ncgznekmhwaqlrowjc6dggyk2h6cfwioigvtt3bg7ayqckcwvk/providers/Microsoft.Storage/storageAccounts/clitestixsogcl5p5af5w2p3","name":"clitestixsogcl5p5af5w2p3","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T18:00:02.2087326Z","primaryEndpoints":{"blob":"https://clitestixsogcl5p5af5w2p3.blob.core.windows.net/","queue":"https://clitestixsogcl5p5af5w2p3.queue.core.windows.net/","table":"https://clitestixsogcl5p5af5w2p3.table.core.windows.net/","file":"https://clitestixsogcl5p5af5w2p3.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageblah","name":"wilxstorageblah","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-17T20:06:51.4259719Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-17T20:06:51.4259719Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-17T20:06:51.3790974Z","primaryEndpoints":{"blob":"https://wilxstorageblah.blob.core.windows.net/","queue":"https://wilxstorageblah.queue.core.windows.net/","table":"https://wilxstorageblah.table.core.windows.net/","file":"https://wilxstorageblah.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorageblah-secondary.blob.core.windows.net/","queue":"https://wilxstorageblah-secondary.queue.core.windows.net/","table":"https://wilxstorageblah-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeyg7p46zydk24opv23uowejjybhvp2nqcyqpnmknbs7o3w5c3tocuuygkogbvxz5f/providers/Microsoft.Storage/storageAccounts/clitestcrdofae6jvibomf2w","name":"clitestcrdofae6jvibomf2w","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T01:19:55.7120798Z","primaryEndpoints":{"blob":"https://clitestcrdofae6jvibomf2w.blob.core.windows.net/","queue":"https://clitestcrdofae6jvibomf2w.queue.core.windows.net/","table":"https://clitestcrdofae6jvibomf2w.table.core.windows.net/","file":"https://clitestcrdofae6jvibomf2w.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeblmtd6pv6car44ga6qwvicwjyuxydhhkaharam4nad6uekgqgm2uiisw7v4a3czx/providers/Microsoft.Storage/storageAccounts/clitestcdx4bwlcvgviotc2p","name":"clitestcdx4bwlcvgviotc2p","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T22:26:48.9744081Z","primaryEndpoints":{"blob":"https://clitestcdx4bwlcvgviotc2p.blob.core.windows.net/","queue":"https://clitestcdx4bwlcvgviotc2p.queue.core.windows.net/","table":"https://clitestcdx4bwlcvgviotc2p.table.core.windows.net/","file":"https://clitestcdx4bwlcvgviotc2p.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}]}'} + body: {string: '{"value":[{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg5khabtgylsi2zsiud3lhcm3r3qa7fnozvimaescouvi5oscizisfrjmaz4odbicfi/providers/Microsoft.Storage/storageAccounts/clitestarwetbqrz7bohdzyg","name":"clitestarwetbqrz7bohdzyg","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.8404742Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.8404742Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-14T23:35:07.7936057Z","primaryEndpoints":{"blob":"https://clitestarwetbqrz7bohdzyg.blob.core.windows.net/","queue":"https://clitestarwetbqrz7bohdzyg.queue.core.windows.net/","table":"https://clitestarwetbqrz7bohdzyg.table.core.windows.net/","file":"https://clitestarwetbqrz7bohdzyg.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitestarwetbqrz7bohdzyg-secondary.blob.core.windows.net/","queue":"https://clitestarwetbqrz7bohdzyg-secondary.queue.core.windows.net/","table":"https://clitestarwetbqrz7bohdzyg-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgvolbupdasvx67mkmzd7esrq6ag5zyf47pxc2gcop4jmlcuxsxfxeb2tyhhqc3vux3/providers/Microsoft.Storage/storageAccounts/clitestle2mdsxltuoisuq3i","name":"clitestle2mdsxltuoisuq3i","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.3540670Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.3540670Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-14T23:35:07.2915489Z","primaryEndpoints":{"blob":"https://clitestle2mdsxltuoisuq3i.blob.core.windows.net/","queue":"https://clitestle2mdsxltuoisuq3i.queue.core.windows.net/","table":"https://clitestle2mdsxltuoisuq3i.table.core.windows.net/","file":"https://clitestle2mdsxltuoisuq3i.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitestle2mdsxltuoisuq3i-secondary.blob.core.windows.net/","queue":"https://clitestle2mdsxltuoisuq3i-secondary.queue.core.windows.net/","table":"https://clitestle2mdsxltuoisuq3i-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg5elye5iof5gqojw6ogsudoghndzeuucwp4cheolhkkxkcf3ft2nvnlgu2ll2rbeit/providers/Microsoft.Storage/storageAccounts/clitestrck4lmtrc6zkvytbd","name":"clitestrck4lmtrc6zkvytbd","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.5837547Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.5837547Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:03.5524977Z","primaryEndpoints":{"blob":"https://clitestrck4lmtrc6zkvytbd.blob.core.windows.net/","queue":"https://clitestrck4lmtrc6zkvytbd.queue.core.windows.net/","table":"https://clitestrck4lmtrc6zkvytbd.table.core.windows.net/","file":"https://clitestrck4lmtrc6zkvytbd.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd2ecfcquyodsilsdff2m3pn3jejelkweuztsb3upqzyficiuef7gtbj5ftzkzyhau/providers/Microsoft.Storage/storageAccounts/clitest43ic4i5nspxaetnoz","name":"clitest43ic4i5nspxaetnoz","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.2602485Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.2602485Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:07.2134214Z","primaryEndpoints":{"blob":"https://clitest43ic4i5nspxaetnoz.blob.core.windows.net/","queue":"https://clitest43ic4i5nspxaetnoz.queue.core.windows.net/","table":"https://clitest43ic4i5nspxaetnoz.table.core.windows.net/","file":"https://clitest43ic4i5nspxaetnoz.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.1149932Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.1149932Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:03.0524612Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgdygszyp775as6pmnxydx4oe2a7jnjd3hejwmu54fc3zb2gi2xwcak5wbommusdqsw/providers/Microsoft.Storage/storageAccounts/clitest6xpacrczt4mawrcdp","name":"clitest6xpacrczt4mawrcdp","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:08.5293957Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:08.5293957Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-14T23:35:08.4812533Z","primaryEndpoints":{"blob":"https://clitest6xpacrczt4mawrcdp.blob.core.windows.net/","queue":"https://clitest6xpacrczt4mawrcdp.queue.core.windows.net/","table":"https://clitest6xpacrczt4mawrcdp.table.core.windows.net/","file":"https://clitest6xpacrczt4mawrcdp.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rggeqy3ypxhnkwvrmegrbschurmen4xg33ggojd5pscxpnpsaelm2nls7bgz54ktipq/providers/Microsoft.Storage/storageAccounts/clitestgwc6sjrkmkoffqdyy","name":"clitestgwc6sjrkmkoffqdyy","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:06.5414563Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:06.5414563Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:06.4940448Z","primaryEndpoints":{"blob":"https://clitestgwc6sjrkmkoffqdyy.blob.core.windows.net/","queue":"https://clitestgwc6sjrkmkoffqdyy.queue.core.windows.net/","table":"https://clitestgwc6sjrkmkoffqdyy.table.core.windows.net/","file":"https://clitestgwc6sjrkmkoffqdyy.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestlab1/providers/Microsoft.Storage/storageAccounts/acliautomationlab8902","name":"acliautomationlab8902","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"hidden-DevTestLabs-LabUId":"ca9ec547-32c5-422d-b3d2-25906ed71959"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:51:47.2194106Z","primaryEndpoints":{"web":"https://acliautomationlab8902.web.core.windows.net/","blob":"https://acliautomationlab8902.blob.core.windows.net/","queue":"https://acliautomationlab8902.queue.core.windows.net/","table":"https://acliautomationlab8902.table.core.windows.net/","file":"https://acliautomationlab8902.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup2/providers/Microsoft.Storage/storageAccounts/wilxstorage0","name":"wilxstorage0","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-04-13T01:05:28.4023820Z","primaryEndpoints":{"web":"https://wilxstorage0.z5.web.core.windows.net/","blob":"https://wilxstorage0.blob.core.windows.net/","queue":"https://wilxstorage0.queue.core.windows.net/","table":"https://wilxstorage0.table.core.windows.net/","file":"https://wilxstorage0.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmr6jo34yofyafj3n6gjbhrgmrd6pwgguthc2u235qfle6y6ztyzrlkuqn544s7cop/providers/Microsoft.Storage/storageAccounts/clitestnlmd52jlcmr4ce7b4","name":"clitestnlmd52jlcmr4ce7b4","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:14:07.3188286Z","primaryEndpoints":{"web":"https://clitestnlmd52jlcmr4ce7b4.web.core.windows.net/","blob":"https://clitestnlmd52jlcmr4ce7b4.blob.core.windows.net/","queue":"https://clitestnlmd52jlcmr4ce7b4.queue.core.windows.net/","table":"https://clitestnlmd52jlcmr4ce7b4.table.core.windows.net/","file":"https://clitestnlmd52jlcmr4ce7b4.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageworm","name":"wilxstorageworm","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-13T22:36:53.0909769Z","primaryEndpoints":{"web":"https://wilxstorageworm.web.core.windows.net/","blob":"https://wilxstorageworm.blob.core.windows.net/","queue":"https://wilxstorageworm.queue.core.windows.net/","table":"https://wilxstorageworm.table.core.windows.net/","file":"https://wilxstorageworm.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"web":"https://wilxstorageworm-secondary.web.core.windows.net/","blob":"https://wilxstorageworm-secondary.blob.core.windows.net/","queue":"https://wilxstorageworm-secondary.queue.core.windows.net/","table":"https://wilxstorageworm-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgnipcxreywyorqhptpg4lmvsb6sqsef3mezozbrenqq6ufmd3hrh7plmdnorjt5y5x/providers/Microsoft.Storage/storageAccounts/clitestshv4qcdkeictveped","name":"clitestshv4qcdkeictveped","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T19:04:11.3686065Z","primaryEndpoints":{"blob":"https://clitestshv4qcdkeictveped.blob.core.windows.net/","queue":"https://clitestshv4qcdkeictveped.queue.core.windows.net/","table":"https://clitestshv4qcdkeictveped.table.core.windows.net/","file":"https://clitestshv4qcdkeictveped.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg326oxnqqn33y3n42vz6x5xol5rvvw3z4o6tladwwtkmcntnsxhhxxtddtrxwm2edj/providers/Microsoft.Storage/storageAccounts/clitestjwzkdsfuou3niutbd","name":"clitestjwzkdsfuou3niutbd","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:07:33.0552270Z","primaryEndpoints":{"web":"https://clitestjwzkdsfuou3niutbd.web.core.windows.net/","blob":"https://clitestjwzkdsfuou3niutbd.blob.core.windows.net/","queue":"https://clitestjwzkdsfuou3niutbd.queue.core.windows.net/","table":"https://clitestjwzkdsfuou3niutbd.table.core.windows.net/","file":"https://clitestjwzkdsfuou3niutbd.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgldagdmcl4pklmwzmr3wftx2kidhw7johz6d7tl6m7raetzzfhpqhrfffu5vwqtfxo/providers/Microsoft.Storage/storageAccounts/clitestt6pqb7xneswrh2sp6","name":"clitestt6pqb7xneswrh2sp6","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:51:14.8105336Z","primaryEndpoints":{"web":"https://clitestt6pqb7xneswrh2sp6.web.core.windows.net/","blob":"https://clitestt6pqb7xneswrh2sp6.blob.core.windows.net/","queue":"https://clitestt6pqb7xneswrh2sp6.queue.core.windows.net/","table":"https://clitestt6pqb7xneswrh2sp6.table.core.windows.net/","file":"https://clitestt6pqb7xneswrh2sp6.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgf3er5m4irbxsxhyil42jxq3t5ehzphmdzn2gortdlrzyw4i6tlgswx2xrcgldp6oh/providers/Microsoft.Storage/storageAccounts/clitestpabilv4yd6qxvguml","name":"clitestpabilv4yd6qxvguml","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T19:20:22.2445526Z","primaryEndpoints":{"web":"https://clitestpabilv4yd6qxvguml.web.core.windows.net/","blob":"https://clitestpabilv4yd6qxvguml.blob.core.windows.net/","queue":"https://clitestpabilv4yd6qxvguml.queue.core.windows.net/","table":"https://clitestpabilv4yd6qxvguml.table.core.windows.net/","file":"https://clitestpabilv4yd6qxvguml.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwxiadyatfxsixayqfinia7ybjwo5cfoyw65qpuna3alx3x2diwukx4tkcpwir2mbq/providers/Microsoft.Storage/storageAccounts/clitesta2lvllqz23rgasyf7","name":"clitesta2lvllqz23rgasyf7","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:57:25.6193002Z","primaryEndpoints":{"web":"https://clitesta2lvllqz23rgasyf7.web.core.windows.net/","blob":"https://clitesta2lvllqz23rgasyf7.blob.core.windows.net/","queue":"https://clitesta2lvllqz23rgasyf7.queue.core.windows.net/","table":"https://clitesta2lvllqz23rgasyf7.table.core.windows.net/","file":"https://clitesta2lvllqz23rgasyf7.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoo2qxqtbb56w7uujqzhodrozdh7fxg5wxscql4ndybxkardgqzqvheltadic2zoxf/providers/Microsoft.Storage/storageAccounts/clitestfyixx74gs3loj3isf","name":"clitestfyixx74gs3loj3isf","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:34:26.5668681Z","primaryEndpoints":{"web":"https://clitestfyixx74gs3loj3isf.web.core.windows.net/","blob":"https://clitestfyixx74gs3loj3isf.blob.core.windows.net/","queue":"https://clitestfyixx74gs3loj3isf.queue.core.windows.net/","table":"https://clitestfyixx74gs3loj3isf.table.core.windows.net/","file":"https://clitestfyixx74gs3loj3isf.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd5ygu6mbq43qw57ncgznekmhwaqlrowjc6dggyk2h6cfwioigvtt3bg7ayqckcwvk/providers/Microsoft.Storage/storageAccounts/clitestixsogcl5p5af5w2p3","name":"clitestixsogcl5p5af5w2p3","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T18:00:02.2087326Z","primaryEndpoints":{"web":"https://clitestixsogcl5p5af5w2p3.web.core.windows.net/","blob":"https://clitestixsogcl5p5af5w2p3.blob.core.windows.net/","queue":"https://clitestixsogcl5p5af5w2p3.queue.core.windows.net/","table":"https://clitestixsogcl5p5af5w2p3.table.core.windows.net/","file":"https://clitestixsogcl5p5af5w2p3.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeyg7p46zydk24opv23uowejjybhvp2nqcyqpnmknbs7o3w5c3tocuuygkogbvxz5f/providers/Microsoft.Storage/storageAccounts/clitestcrdofae6jvibomf2w","name":"clitestcrdofae6jvibomf2w","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T01:19:55.7120798Z","primaryEndpoints":{"web":"https://clitestcrdofae6jvibomf2w.web.core.windows.net/","blob":"https://clitestcrdofae6jvibomf2w.blob.core.windows.net/","queue":"https://clitestcrdofae6jvibomf2w.queue.core.windows.net/","table":"https://clitestcrdofae6jvibomf2w.table.core.windows.net/","file":"https://clitestcrdofae6jvibomf2w.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeblmtd6pv6car44ga6qwvicwjyuxydhhkaharam4nad6uekgqgm2uiisw7v4a3czx/providers/Microsoft.Storage/storageAccounts/clitestcdx4bwlcvgviotc2p","name":"clitestcdx4bwlcvgviotc2p","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T22:26:48.9744081Z","primaryEndpoints":{"web":"https://clitestcdx4bwlcvgviotc2p.web.core.windows.net/","blob":"https://clitestcdx4bwlcvgviotc2p.blob.core.windows.net/","queue":"https://clitestcdx4bwlcvgviotc2p.queue.core.windows.net/","table":"https://clitestcdx4bwlcvgviotc2p.table.core.windows.net/","file":"https://clitestcdx4bwlcvgviotc2p.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}]}'} headers: cache-control: [no-cache] - content-length: ['97462'] + content-length: ['26261'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:46 GMT'] + date: ['Mon, 14 May 2018 23:35:22 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-original-request-ids: [400f9403-e5f6-4d40-b54d-a8aae7192afa, 8bac4d5c-7584-4404-84a4-778348381883, - 4d3468d9-85e4-4ffd-a61e-19dfb6034ce0, d2a889bb-f2b1-41bc-ad2f-4387bfb944e3, - 30157c0f-ad4b-4c0d-b00f-fe99e47d72dc, bfc07f5d-948d-4185-9b87-08514087ae0e, - c8991b8b-d539-4c43-a527-dba2be4efb47] + x-ms-original-request-ids: [9cf71417-0b16-4543-bed4-d7834ed1fcd7, f1cb87e5-fcb2-452d-9f58-a9be4f1f56af, + 68125bf1-a698-4bc1-a86a-c61c56ceee35, 197dc439-6fb5-4c3e-8ce1-138026d4b5fd] status: {code: 200, message: OK} - request: body: null @@ -158,18 +154,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"94uEIpJdQoFGvUpLq172W0WoJBW3KeymBQWjNIBcr123RxLVfRRVSCUUonj7bzAKTUI/gxPz4pB63bh6nuFp2w==","permissions":"FULL"},{"keyName":"key2","value":"K2uoQjVDL7nTil9ce1C8lxWta/FPE/5gqD/CL40AkFzidAFKmgam6IwToKaMYrXfEVywTfRKAwUflstPQEjwyQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"3iO6BzYHk4QkStq0A/0WTu8vuqVfrZirlCraDzsFIhKUGrT2L7WVcy3PoKPXPEWgVsfx5oWhPWBU1p7lznyRcA==","permissions":"FULL"},{"keyName":"key2","value":"lq4+ppbT+bnCaNKuq5RSlZzoKfW2AOyYxzg9rWxgvLS9i2FUOhhrVHouwUxMoyaOvRodVuC6inu1vLHU8Krgng==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:46 GMT'] + date: ['Mon, 14 May 2018 23:35:23 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -189,9 +185,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -200,12 +196,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:46 GMT'] + date: ['Mon, 14 May 2018 23:35:23 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdWSFZLWkpZUUVDU1JGQ0pLMjRRQUJOR0RTNkwyUzdBR0lQUnxGQzNCREU0RDQyQ0MzMzg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdTUU9JT0RSNkNCVDdMQTVNUkI0NzJOQUVJSTc2NjRGSVZTS3xCNzMwQzI0NEFBMzBDNzk3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account.yaml index fc64e9493e6..a60b9084a95 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:47Z"}}' + "date": "2018-05-14T23:35:24Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:47Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:24Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/581bfbcc-2d7d-4095-89c4-5d546894db13?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/bbd3de45-019f-4deb-b4be-cff94cb9ca42?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/581bfbcc-2d7d-4095-89c4-5d546894db13?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/bbd3de45-019f-4deb-b4be-cff94cb9ca42?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:06 GMT'] + date: ['Mon, 14 May 2018 23:35:43 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,11 +95,11 @@ interactions: Connection: [keep-alive] Content-Length: ['81'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2018-02-01 response: body: {string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"The storage account named cli000002 is already taken."}'} @@ -109,7 +107,7 @@ interactions: cache-control: [no-cache] content-length: ['129'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:08 GMT'] + date: ['Mon, 14 May 2018 23:35:44 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -127,18 +125,18 @@ interactions: CommandName: [storage account list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts?api-version=2018-02-01 response: - body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}]}'} + body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}]}'} headers: cache-control: [no-cache] content-length: ['1243'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:08 GMT'] + date: ['Mon, 14 May 2018 23:35:45 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,18 +154,18 @@ interactions: CommandName: [storage account show] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:09 GMT'] + date: ['Mon, 14 May 2018 23:35:45 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -186,18 +184,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"T71EfEyU6KGnY/hliBId6+qsi6a1ZDQCQh8bvoog/YurI/hmyXYNtzq594OdPK8WnobRNFfzWJCnLIdslt2/8A==","permissions":"FULL"},{"keyName":"key2","value":"Ko/+WC1OwMLOXzNX/zpSdM7UyRSkCoo2Id+sv66o4kDvUZutDMu313YlclEGg+dRdaEF7IXLDwB4V6HG7FrA8g==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"C5jhEcN/MUMRiO92J8OIrOx1tOkXMM6sgZxYUbsH4gFyLHzJfIjqc2lNyxZgqWRltrjH64m3ln+AdDSJpLKLBg==","permissions":"FULL"},{"keyName":"key2","value":"gpWdwCTEVUYV+kyRI8PRTjxjT7Tar8otFrqh5GM5Riw7CSi0TCxxeU3Y5yPvkOBfhsYmFum3+zqhfcLdgAhwRw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:10 GMT'] + date: ['Mon, 14 May 2018 23:35:46 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -216,18 +214,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:09 GMT'] + date: ['Mon, 14 May 2018 23:35:46 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -250,18 +248,18 @@ interactions: Connection: [keep-alive] Content-Length: ['349'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"foo":"bar","cat":""},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"foo":"bar","cat":""},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1251'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:10 GMT'] + date: ['Mon, 14 May 2018 23:35:47 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -280,18 +278,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"foo":"bar","cat":""},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"foo":"bar","cat":""},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1251'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:10 GMT'] + date: ['Mon, 14 May 2018 23:35:47 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -314,18 +312,18 @@ interactions: Connection: [keep-alive] Content-Length: ['326'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:11 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -334,7 +332,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -344,18 +342,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:12 GMT'] + date: ['Mon, 14 May 2018 23:35:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -378,18 +376,18 @@ interactions: Connection: [keep-alive] Content-Length: ['343'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"test":"success"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:50.0435368Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:49.5279899Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"test":"success"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:26.7043206Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:26.6418494Z","primaryEndpoints":{"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":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1247'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -409,25 +407,25 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:52 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] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 200, message: OK} - request: body: 'b''{"name": "cli000002", "type": "Microsoft.Storage/storageAccounts"}''' @@ -438,18 +436,18 @@ interactions: Connection: [keep-alive] Content-Length: ['81'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2018-02-01 response: body: {string: '{"nameAvailable":true}'} headers: cache-control: [no-cache] content-length: ['22'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -468,9 +466,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -479,12 +477,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:16 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaVktMTFlUN05JVElCQTNQWFRXVlBIR1BUUkU0WVRXUzdTRnwxOTZCRjcxNTg0RTVDRjcyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdDQ1pRV0ZJSElPQUJQVEg0WUhaVkVaQVdMWkhHTFlVVDNTTHw4MjlEMUY0NzExRTcwQTgyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_v2.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_v2.yaml index dd5fabbf40a..37063fc97dc 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_v2.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_v2.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "southcentralus", "tags": {"product": "azurecli", "cause": - "automation", "date": "2018-05-01T21:46:16Z"}}' + "automation", "date": "2018-05-14T23:35:55Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['118'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:46:16Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:55Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:46:17 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['137'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/9008c892-6042-487c-9297-aa126dbdd3a3?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/93e91bed-f35d-46e6-824c-011c9c2b5b6b?monitor=true&api-version=2018-02-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: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/9008c892-6042-487c-9297-aa126dbdd3a3?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/93e91bed-f35d-46e6-824c-011c9c2b5b6b?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:46:18.9026126Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:46:18.9026126Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-05-01T21:46:18.8245022Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available","secondaryLocation":"northcentralus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://cli000002-secondary.blob.core.windows.net/","queue":"https://cli000002-secondary.queue.core.windows.net/","table":"https://cli000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:58.4249157Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:58.4249157Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:58.2686241Z","primaryEndpoints":{"web":"https://cli000002.z21.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":"southcentralus","statusOfPrimary":"available","secondaryLocation":"northcentralus","statusOfSecondary":"available","secondaryEndpoints":{"web":"https://cli000002-secondary.z21.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: ['1591'] + content-length: ['1735'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:36 GMT'] + date: ['Mon, 14 May 2018 23:36:15 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,11 +95,11 @@ interactions: Connection: [keep-alive] Content-Length: ['81'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/checkNameAvailability?api-version=2018-02-01 response: body: {string: '{"nameAvailable":false,"reason":"AlreadyExists","message":"The storage account named cli000002 is already taken."}'} @@ -109,7 +107,7 @@ interactions: cache-control: [no-cache] content-length: ['129'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:37 GMT'] + date: ['Mon, 14 May 2018 23:36:17 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,9 +126,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -139,12 +137,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:38 GMT'] + date: ['Mon, 14 May 2018 23:36:18 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc3Q0xRTzZXQkJQQTIyT1NYTktTNERETEtJR1M2R1YzSU9WRnw3OEUxRTNGRDYyNjhDNkUwLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdVRzdPQ1NNVVBXUUZWM0tVWlc1Tk5DUkhZUDRaUEpBWE9UN3w0MzM2QjY5NjVFMEY5QTJCLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_with_assigned_identity.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_with_assigned_identity.yaml index eb91655aaba..fe1277804c3 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_with_assigned_identity.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_create_storage_account_with_assigned_identity.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "southcentralus", "tags": {"product": "azurecli", "cause": - "automation", "date": "2018-05-01T21:46:38Z"}}' + "automation", "date": "2018-05-14T23:36:18Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['118'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:46:38Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:36:18Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:46:39 GMT'] + date: ['Mon, 14 May 2018 23:36:19 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -36,19 +36,19 @@ interactions: CommandName: [storage account create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:46:38Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:36:18Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:46:40 GMT'] + date: ['Mon, 14 May 2018 23:36:20 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -66,26 +66,26 @@ interactions: Connection: [keep-alive] Content-Length: ['173'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:46:43 GMT'] + date: ['Mon, 14 May 2018 23:36:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/db07f4d6-1aa9-4a35-9e9f-ec92d48bf5c6?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a4587bf1-918d-4013-8174-37191266b39f?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -94,19 +94,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/db07f4d6-1aa9-4a35-9e9f-ec92d48bf5c6?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a4587bf1-918d-4013-8174-37191266b39f?monitor=true&api-version=2018-02-01 response: - body: {string: '{"identity":{"principalId":"953ecdf7-a1a2-4571-a45e-276b341fd399","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:46:43.4103371Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:46:43.4103371Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:46:43.3477952Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"identity":{"principalId":"d128c385-119a-4365-8636-92f8ab7dfbf5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:24.0318698Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:24.0318698Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:23.9537175Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1387'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:01 GMT'] + date: ['Mon, 14 May 2018 23:36:41 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -125,9 +123,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -136,12 +134,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:47:02 GMT'] + date: ['Mon, 14 May 2018 23:36:42 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaSlRLRDNBNEhZQkU3VlVCSlU3R0JVNVQzNkQzVFNVRTZDUnwxRjIxOURCNEZEODVDRUIyLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdRS05WMlhITERLUlBBTFlQNlVHVklVUVpBUkJDRzZBUllPNHxFODNCRERBMUY2N0ZCMDYyLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_customer_managed_key.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_customer_managed_key.yaml index 020aeea2207..bed0e7cb94c 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_customer_managed_key.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_customer_managed_key.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "southcentralus", "tags": {"product": "azurecli", "cause": - "automation", "date": "2018-05-01T21:47:03Z"}}' + "automation", "date": "2018-05-14T23:36:44Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['118'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:47:03Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:36:44Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:04 GMT'] + date: ['Mon, 14 May 2018 23:36:45 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "southcentralus", @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['133'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:05 GMT'] + date: ['Mon, 14 May 2018 23:36:46 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a9d3ebd1-4539-47e6-ae2c-ebd9ac8b7ed6?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/1afe27f7-5f8e-4b72-8860-fa48e9f868d0?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/a9d3ebd1-4539-47e6-ae2c-ebd9ac8b7ed6?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/1afe27f7-5f8e-4b72-8860-fa48e9f868d0?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:05.9065524Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:47.2482326Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1247'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:22 GMT'] + date: ['Mon, 14 May 2018 23:37:04 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"rjXT1kvmeWybJWyFiYBHHDcL5lSdSWDPXj/jKH1+L/FnrP6CQrnFRWNhw4wE8fSQ6koOguSwVwAJOvZLhDliPg==","permissions":"FULL"},{"keyName":"key2","value":"GlYufNjT5f7xOlMIzKSJrB4IwD3vxFV8FE0C/4JyDM7Z1Gw6+jfnA+lFTiUDaFXmwnIE0GBLDbQUvjH1OsPJ9g==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"XEqSd2m6z1wiDARMrcbTMeKR8RnXDfSSflPv8hwU1WxDXW8/CEyFmmZJg5oPnoiJCv+uT/NisfE8injhAC40Ug==","permissions":"FULL"},{"keyName":"key2","value":"4Bue+uo7bXHhn20GxQsdPXSf+srm2hIsIGizjpmaecwPVgrRpKOskKw/xXftlShdAtwf97uyooIReVkIXpmanQ==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:23 GMT'] + date: ['Mon, 14 May 2018 23:37:05 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -127,19 +125,19 @@ interactions: CommandName: [keyvault create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:47:03Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:36:44Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:25 GMT'] + date: ['Mon, 14 May 2018 23:37:06 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -153,21 +151,21 @@ interactions: Accept-Encoding: ['gzip, deflate'] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-graphrbac/0.40.0 Azure-SDK-For-Python] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-graphrbac/0.40.0 Azure-SDK-For-Python] accept-language: [en-US] method: GET uri: https://graph.windows.net/00000000-0000-0000-0000-000000000000/me?api-version=1.6 response: body: {string: '{"odata.metadata":"https://graph.windows.net/00000000-0000-0000-0000-000000000000/$metadata#directoryObjects/Microsoft.DirectoryServices.User/@Element","odata.type":"Microsoft.DirectoryServices.User","objectType":"User","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","deletionTimestamp":null,"accountEnabled":true,"ageGroup":null,"assignedLicenses":[{"disabledPlans":[],"skuId":"488ba24a-39a9-4473-8ee5-19291e71b002"},{"disabledPlans":[],"skuId":"b05e124f-c7cc-45a0-a6aa-8cf78c946968"},{"disabledPlans":["0b03f40b-c404-40c3-8651-2aceb74365fa","b650d915-9886-424b-a08d-633cede56f57","e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72","fe71d6c3-a2ea-4499-9778-da042bf08063","fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"],"skuId":"ea126fc5-a19e-42e2-a731-da9d437bffcf"},{"disabledPlans":[],"skuId":"c7df2760-2c81-4ef7-b578-5b5392b571df"},{"disabledPlans":["e95bec33-7c88-4a70-8e19-b10bd9d0c014","5dbe027f-2339-4123-9542-606e4d348a72"],"skuId":"f82a60b8-1ee3-4cfb-a4fe-1c6a53c2656c"},{"disabledPlans":[],"skuId":"c5928f49-12ba-48f7-ada3-0d743a3601d5"},{"disabledPlans":[],"skuId":"c52ea49f-fe5d-4e95-93ba-1de91d380f89"}],"assignedPlans":[{"assignedTimestamp":"2018-04-24T12:19:11Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2018-04-24T12:19:11Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2018-04-24T12:19:11Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2018-04-24T12:19:11Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2018-04-24T12:19:11Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2018-03-23T21:16:30Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"fe71d6c3-a2ea-4499-9778-da042bf08063"},{"assignedTimestamp":"2018-03-23T21:16:30Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"e95bec33-7c88-4a70-8e19-b10bd9d0c014"},{"assignedTimestamp":"2018-03-23T21:16:30Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"5dbe027f-2339-4123-9542-606e4d348a72"},{"assignedTimestamp":"2018-03-23T21:16:30Z","capabilityStatus":"Deleted","service":"MicrosoftStream","servicePlanId":"acffdce6-c30f-4dc2-81c0-372e33c515ec"},{"assignedTimestamp":"2018-03-23T21:16:30Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"fafd7243-e5c1-4a3a-9e40-495efcb1d3c3"},{"assignedTimestamp":"2018-03-17T19:15:37Z","capabilityStatus":"Enabled","service":"WindowsDefenderATP","servicePlanId":"871d91ec-ec1a-452b-a83f-bd76c7d770ef"},{"assignedTimestamp":"2018-03-17T19:15:37Z","capabilityStatus":"Enabled","service":"AzureAdvancedThreatAnalytics","servicePlanId":"14ab5db5-e6c4-4b20-b4bc-13e36fd2227f"},{"assignedTimestamp":"2018-03-17T19:15:37Z","capabilityStatus":"Enabled","service":"Windows","servicePlanId":"e7c91390-7625-45be-94e0-e16907e03118"},{"assignedTimestamp":"2018-01-09T12:24:45Z","capabilityStatus":"Enabled","service":"ProjectWorkManagement","servicePlanId":"b737dad2-2f6c-4c65-90e3-ca563267e8b9"},{"assignedTimestamp":"2018-01-01T06:15:34Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"41781fb2-bc02-4b7c-bd55-b576c07bb09d"},{"assignedTimestamp":"2018-01-01T06:15:34Z","capabilityStatus":"Enabled","service":"MultiFactorService","servicePlanId":"8a256a2b-b617-496d-b51b-e76466e88db0"},{"assignedTimestamp":"2017-12-31T18:38:48Z","capabilityStatus":"Deleted","service":"Adallom","servicePlanId":"932ad362-64a8-4783-9106-97849a1a30b9"},{"assignedTimestamp":"2017-12-14T05:01:45Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"2bdbaf8f-738f-4ac7-9234-3c3ee2ce7d0f"},{"assignedTimestamp":"2017-12-14T05:01:45Z","capabilityStatus":"Enabled","service":"SharePoint","servicePlanId":"da792a53-cbc0-4184-a10d-e544dd34b3c1"},{"assignedTimestamp":"2017-12-14T05:01:45Z","capabilityStatus":"Enabled","service":"To-Do","servicePlanId":"3fb82609-8c27-4f7b-bd51-30634711ee67"},{"assignedTimestamp":"2017-12-14T05:01:45Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"5689bec4-755d-4753-8b61-40975025187c"},{"assignedTimestamp":"2017-12-14T05:01:45Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"2e2ddb96-6af9-4b1d-a3f0-d6ecfd22edb2"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"Adallom","servicePlanId":"8c098270-9dd4-4350-9b30-ba4703f3b36b"},{"assignedTimestamp":"2017-10-07T05:29:38Z","capabilityStatus":"Enabled","service":"Netbreeze","servicePlanId":"03acaee3-9492-4f40-aed4-bcb6b32981b6"},{"assignedTimestamp":"2017-10-07T05:29:38Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"bea4c11e-220a-4e6d-8eb8-8ea15d019f90"},{"assignedTimestamp":"2017-10-07T05:29:38Z","capabilityStatus":"Enabled","service":"RMSOnline","servicePlanId":"6c57d4b6-3b23-47a5-9bc9-69f17b4947b3"},{"assignedTimestamp":"2017-10-07T05:29:38Z","capabilityStatus":"Enabled","service":"CRM","servicePlanId":"d56f3deb-50d8-465a-bedb-f079817ccac1"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"efb87545-963c-4e0d-99df-69c6916d9eb0"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"3e26ee1f-8a5f-4d52-aee2-b81ce45c8f40"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"4828c8ec-dc2e-4779-b502-87ac9ce28ab7"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"34c0d7a0-a70f-4668-9238-47f9fc208882"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"9f431833-0334-42de-a7dc-70aa40db46db"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"Deskless","servicePlanId":"8c7d2df8-86f0-4902-b2ed-a0458298f3b3"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"8e0c0a52-6a6c-4d40-8370-dd62790dcd70"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"MicrosoftStream","servicePlanId":"6c6042f5-6f01-4d67-b8c1-eb99d36eed3e"},{"assignedTimestamp":"2017-08-18T15:14:38Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"e212cbc7-0961-4c40-9825-01117710dcb1"},{"assignedTimestamp":"2017-08-04T07:20:51Z","capabilityStatus":"Enabled","service":"AADPremiumService","servicePlanId":"eec0eb4f-6444-4f95-aba0-50c24d67f998"},{"assignedTimestamp":"2017-08-04T07:20:51Z","capabilityStatus":"Enabled","service":"SCO","servicePlanId":"c1ec4a95-1f05-45b3-a911-aa3fa01094f5"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"MicrosoftCommunicationsOnline","servicePlanId":"0feaeb32-d00e-4d66-bd5a-43b5b83db82c"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"ProcessSimple","servicePlanId":"07699545-9485-468e-95b6-2fca3738be01"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"Sway","servicePlanId":"a23b959c-7ce8-4e57-9140-b90eb88a9e97"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"PowerBI","servicePlanId":"70d33638-9c74-4d01-bfd3-562de28bd4ba"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"exchange","servicePlanId":"4de31727-a228-4ec3-a5bf-8e45b5ca48cc"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"663a804f-1c30-4ff0-9915-9db84f0d1cea"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"TeamspaceAPI","servicePlanId":"57ff2da0-773e-42df-b2af-ffb7a2317929"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"PowerAppsService","servicePlanId":"9c0dab89-a30c-4117-86e7-97bda240acd2"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"OfficeForms","servicePlanId":"159f4cd6-e380-449f-a816-af1a9ef76344"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"YammerEnterprise","servicePlanId":"7547a3fe-08ee-4ccb-b430-5077c5041653"},{"assignedTimestamp":"2017-08-04T02:23:56Z","capabilityStatus":"Enabled","service":"MicrosoftOffice","servicePlanId":"43de0ff5-c92c-492b-9116-175376d08c38"}],"city":"REDMOND","companyName":"MICROSOFT","consentProvidedForMinor":null,"country":null,"creationType":null,"department":"Azure and Web","dirSyncEnabled":true,"displayName":"Willie Xu","employeeId":null,"facsimileTelephoneNumber":null,"givenName":"Willie","immutableId":"1241166","isCompromised":null,"jobTitle":"SOFTWARE - ENGINEER","lastDirSyncTime":"2018-04-14T15:06:56Z","legalAgeGroupClassification":null,"mail":"Willie.Xu@microsoft.com","mailNickname":"wilx","mobile":null,"onPremisesDistinguishedName":"CN=Willie + ENGINEER","lastDirSyncTime":"2018-05-09T16:54:08Z","legalAgeGroupClassification":null,"mail":"Willie.Xu@microsoft.com","mailNickname":"wilx","mobile":null,"onPremisesDistinguishedName":"CN=Willie Xu,OU=UserAccounts,DC=redmond,DC=corp,DC=microsoft,DC=com","onPremisesSecurityIdentifier":"S-1-5-21-2127521184-1604012920-1887927527-28031824","otherMails":[],"passwordPolicies":"DisablePasswordExpiration","passwordProfile":null,"physicalDeliveryOfficeName":"18/2250FL","postalCode":null,"preferredLanguage":null,"provisionedPlans":[{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"SharePoint"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"Netbreeze"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"CRM"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"MicrosoftCommunicationsOnline"},{"capabilityStatus":"Enabled","provisioningStatus":"Success","service":"exchange"}],"provisioningErrors":[],"proxyAddresses":["x500:/o=ExchangeLabs/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=73e4dc5a8858433681fcb300f98cd2db-Willie Xu","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=53ed7de51a1940ae94f43ae4b57643a4-Willie Xu","X500:/o=MMS/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=55b110a31823461c9ce34dd1a3f445dc-Willie Xu96c9fa53-17","X500:/o=microsoft/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=e2257f0925774064878e0ae17f94fdef-Willie - Xu","smtp:wilx@microsoft.onmicrosoft.com","smtp:wilx@service.microsoft.com","smtp:wilx@microsoft.com","SMTP:Willie.Xu@microsoft.com"],"refreshTokensValidFromDateTime":"2018-02-27T19:29:17Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":"wilx@microsoft.com","state":null,"streetAddress":null,"surname":"Xu","telephoneNumber":null,"usageLocation":"US","userIdentities":[],"userPrincipalName":"wilx@microsoft.com","userType":"Member","extension_18e31482d3fb4a8ea958aa96b662f508_ZipCode":"98052","extension_18e31482d3fb4a8ea958aa96b662f508_SupervisorInd":"N","extension_18e31482d3fb4a8ea958aa96b662f508_StateProvinceCode":"WA","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToPersonnelNbr":"186027","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToFullName":"Diwan, + Xu","smtp:wilx@microsoft.onmicrosoft.com","smtp:wilx@service.microsoft.com","smtp:wilx@microsoft.com","SMTP:Willie.Xu@microsoft.com"],"refreshTokensValidFromDateTime":"2018-05-09T16:42:32Z","showInAddressList":null,"signInNames":[],"sipProxyAddress":"wilx@microsoft.com","state":null,"streetAddress":null,"surname":"Xu","telephoneNumber":null,"usageLocation":"US","userIdentities":[],"userPrincipalName":"wilx@microsoft.com","userType":"Member","extension_18e31482d3fb4a8ea958aa96b662f508_ZipCode":"98052","extension_18e31482d3fb4a8ea958aa96b662f508_SupervisorInd":"N","extension_18e31482d3fb4a8ea958aa96b662f508_StateProvinceCode":"WA","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToPersonnelNbr":"186027","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToFullName":"Diwan, Mayuri","extension_18e31482d3fb4a8ea958aa96b662f508_ReportsToEmailName":"MAYURID","extension_18e31482d3fb4a8ea958aa96b662f508_ProfitCenterCode":"P10040929","extension_18e31482d3fb4a8ea958aa96b662f508_PositionNumber":"90656247","extension_18e31482d3fb4a8ea958aa96b662f508_LocationAreaCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CountryShortCode":"US","extension_18e31482d3fb4a8ea958aa96b662f508_CostCenterCode":"10040929","extension_18e31482d3fb4a8ea958aa96b662f508_CompanyCode":"1010","extension_18e31482d3fb4a8ea958aa96b662f508_CityName":"REDMOND","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingName":"18","extension_18e31482d3fb4a8ea958aa96b662f508_BuildingID":"17","extension_18e31482d3fb4a8ea958aa96b662f508_AddressLine1":"1 Microsoft Way","extension_18e31482d3fb4a8ea958aa96b662f508_PersonnelNumber":"1241166"}'} headers: @@ -176,13 +174,13 @@ interactions: content-length: ['13487'] content-type: [application/json; odata=minimalmetadata; streaming=true; charset=utf-8] dataserviceversion: [3.0;] - date: ['Tue, 01 May 2018 21:47:26 GMT'] - duration: ['1254797'] + date: ['Mon, 14 May 2018 23:37:07 GMT'] + duration: ['1643251'] expires: ['-1'] - ocp-aad-diagnostics-server-name: [itPlsAoHbG6osDHbVzYs2a+9kGEe205TaLepJuLRQYY=] - ocp-aad-session-key: [OgpqxwMSJJJizHeXqDwJ-bzGwpuqkBgQrFWBGCwdMMP-Z4AUSEIPeNeE3YiQTwaS4SxjS--Qk6Yj8Eoxu3pdpMw06vULma9DvW-BK4dIajLJtVq5Bg-GOTXzZsMOREsA.Vq3iqNRGq2xtGuJsX-zTrphAojKyhUjXgQNHAcYiTl4] + ocp-aad-diagnostics-server-name: [susOkr8YvnkWhpfwvEOXpfZ/acdphRpz4tl/Fe8Bm3M=] + ocp-aad-session-key: [nrwr_nwqEHT1bET0zBfAu0ipRP7GxxKUhV8sWnXrv1GBS_2BptS9DwAAsj5QrQJ7VB4eY0q5r6QUxQxZRxPFenSb8PMdqQhNRExdhVnV9rHwJpdT7vxK69cpvrTWs0f0.5IeUHQFMwvJIL0IO4a8JiGo7m7V0ue-DQoNqJpM3MDs] pragma: [no-cache] - request-id: [6b9e1fcd-901a-45f5-891a-a0547b042652] + request-id: [92c0bc95-f2fd-4754-aae7-b65827bf337f] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-aspnet-version: [4.0.30319] @@ -207,9 +205,9 @@ interactions: Connection: [keep-alive] Content-Length: ['754'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 @@ -219,7 +217,7 @@ interactions: cache-control: [no-cache] content-length: ['1114'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:28 GMT'] + date: ['Mon, 14 May 2018 23:37:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -229,7 +227,7 @@ interactions: x-aspnet-version: [4.0.30319] x-content-type-options: [nosniff] x-ms-keyvault-service-version: [1.0.0.215] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -240,9 +238,9 @@ interactions: CommandName: [keyvault show] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 @@ -252,7 +250,7 @@ interactions: cache-control: [no-cache] content-length: ['1115'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:29 GMT'] + date: ['Mon, 14 May 2018 23:37:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -272,8 +270,8 @@ interactions: Connection: [keep-alive] Content-Length: ['47'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultclient/0.3.7 Azure-SDK-For-Python] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultclient/0.3.7 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://clitest000003.vault.azure.net/keys/testkey/create?api-version=2016-10-01 @@ -282,7 +280,7 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:47:30 GMT'] + date: ['Mon, 14 May 2018 23:37:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -293,7 +291,7 @@ interactions: x-content-type-options: [nosniff] x-ms-keyvault-network-info: [addr=167.220.1.116;act_addr_fam=InterNetwork;] x-ms-keyvault-region: [southcentralus] - x-ms-keyvault-service-version: [1.0.0.847] + x-ms-keyvault-service-version: [1.0.0.848] x-powered-by: [ASP.NET] status: {code: 401, message: Unauthorized} - request: @@ -304,18 +302,18 @@ interactions: Connection: [keep-alive] Content-Length: ['47'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultclient/0.3.7 Azure-SDK-For-Python] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultclient/0.3.7 Azure-SDK-For-Python] accept-language: [en-US] method: POST uri: https://clitest000003.vault.azure.net/keys/testkey/create?api-version=2016-10-01 response: - body: {string: '{"key":{"kid":"https://clitest000003.vault.azure.net/keys/testkey/f99dcad9b19d4839be3296fd333700a9","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"r9OTl9V1DpLm1W8tKktiO6lSvXSDZaKGh8yamAJWaIk4yWvFm983fAsTys0Jr6xxauUVTg6tRXjhkDm45em4J8oRwdnDyYWkUWwl98EKZiSy0EvvcVK2e5wY3Q9aiIfRsBF2ctw9yu7g_ARtc7cMS2OPN-WVQutm8Sz5-NihxedjpktsXRjI224sAzlN2U_Qztow3d78i7T-3pbSNEX_4RL-iIbd4VFvzlT-qAA6vYhA5smXRCnK-piEVqpAW0vawx26UnRwxu-_T69LERBIBoRmnPFBznUyW7QRIWzm9c0ariEsSsDvom2FrCDvrl9T79AkJT3OFejpgY3T6xsuqw","e":"AQAB"},"attributes":{"enabled":true,"created":1525211251,"updated":1525211251,"recoveryLevel":"Purgeable"}}'} + body: {string: '{"key":{"kid":"https://clitest000003.vault.azure.net/keys/testkey/e89f9c7fda784282b8c41431a709ce2c","kty":"RSA","key_ops":["encrypt","decrypt","sign","verify","wrapKey","unwrapKey"],"n":"1_aTm9M1fg-ALjsiAvPxGJy0UF_gnLh0SJRt4p8_iXvmpp_WJjrRDDaLX4A68PJmqUULDqlzrisHDJT8eyOC0qSTxIggNME3gg4qSIR3bZe7ee8K_zZYHbif4g5QRe0OdUUf6sy9NtZArTGPaBBuakBSNsARxBa6U0r0qn1RF6Kr9cZb4SZLHth9_nNkSSKFLPk37Zt6_9fzTrVCzwTV67B5lASmogaDd8CbWbowu-J_imHun4g_NN2NP8wy9KDsYERV4dgqJYTJJgkm49XMo5aXECvsEC87-zQC9u-APsAZ_fEkMbMUlRuJyNhBCnS2gbwJGUbD3q-dF8mlLyJMHQ","e":"AQAB"},"attributes":{"enabled":true,"created":1526341035,"updated":1526341035,"recoveryLevel":"Purgeable"}}'} headers: cache-control: [no-cache] content-length: ['654'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:31 GMT'] + date: ['Mon, 14 May 2018 23:37:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -324,7 +322,7 @@ interactions: x-content-type-options: [nosniff] x-ms-keyvault-network-info: [addr=167.220.1.116;act_addr_fam=InterNetwork;] x-ms-keyvault-region: [southcentralus] - x-ms-keyvault-service-version: [1.0.0.847] + x-ms-keyvault-service-version: [1.0.0.848] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -335,18 +333,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:05.9065524Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:47.2482326Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1247'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:32 GMT'] + date: ['Mon, 14 May 2018 23:37:15 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -369,18 +367,18 @@ interactions: Connection: [keep-alive] Content-Length: ['366'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"identity":{"principalId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:05.9065524Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"identity":{"principalId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:47.2482326Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1387'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:34 GMT'] + date: ['Mon, 14 May 2018 23:37:18 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -389,7 +387,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -399,9 +397,9 @@ interactions: CommandName: [keyvault set-policy] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 @@ -411,7 +409,7 @@ interactions: cache-control: [no-cache] content-length: ['1115'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:35 GMT'] + date: ['Mon, 14 May 2018 23:37:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -434,7 +432,7 @@ interactions: "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "f9dda2cf-e03f-4a7a-a8ea-7411041143de", "permissions": {"keys": + "objectId": "30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5", "permissions": {"keys": ["get", "wrapKey", "unwrapKey", "recover"]}}], "vaultUri": "https://clitest000003.vault.azure.net/", "enabledForDeployment": false}}''' headers: @@ -444,19 +442,19 @@ interactions: Connection: [keep-alive] Content-Length: ['1037'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} headers: cache-control: [no-cache] content-length: ['1280'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:35 GMT'] + date: ['Mon, 14 May 2018 23:37:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -466,7 +464,7 @@ interactions: x-aspnet-version: [4.0.30319] x-content-type-options: [nosniff] x-ms-keyvault-service-version: [1.0.0.215] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -477,19 +475,19 @@ interactions: CommandName: [keyvault update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} headers: cache-control: [no-cache] content-length: ['1280'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:36 GMT'] + date: ['Mon, 14 May 2018 23:37:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -511,7 +509,7 @@ interactions: "import", "update", "managecontacts", "getissuers", "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, - {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "f9dda2cf-e03f-4a7a-a8ea-7411041143de", + {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "objectId": "30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5", "permissions": {"keys": ["get", "wrapKey", "unwrapKey", "recover"]}}], "vaultUri": "https://clitest000003.vault.azure.net/", "enabledForDeployment": false, "enableSoftDelete": true}}''' @@ -522,19 +520,19 @@ interactions: Connection: [keep-alive] Content-Length: ['1051'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 keyvaultmanagementclient/0.40.0 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} headers: cache-control: [no-cache] content-length: ['1304'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:36 GMT'] + date: ['Mon, 14 May 2018 23:37:22 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -544,7 +542,7 @@ interactions: x-aspnet-version: [4.0.30319] x-content-type-options: [nosniff] x-ms-keyvault-service-version: [1.0.0.215] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -555,9 +553,9 @@ interactions: CommandName: [resource update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2017-05-10 @@ -610,7 +608,7 @@ interactions: cache-control: [no-cache] content-length: ['4817'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:37 GMT'] + date: ['Mon, 14 May 2018 23:37:23 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -625,19 +623,19 @@ interactions: CommandName: [resource update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} headers: cache-control: [no-cache] content-length: ['1304'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:38 GMT'] + date: ['Mon, 14 May 2018 23:37:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -657,9 +655,9 @@ interactions: CommandName: [resource update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault?api-version=2017-05-10 @@ -712,7 +710,7 @@ interactions: cache-control: [no-cache] content-length: ['4817'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:38 GMT'] + date: ['Mon, 14 May 2018 23:37:24 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -730,7 +728,7 @@ interactions: "listissuers", "setissuers", "deleteissuers", "manageissuers", "recover"], "storage": ["get", "list", "delete", "set", "update", "regeneratekey", "setsas", "listsas", "getsas", "deletesas"]}}, {"tenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "objectId": "f9dda2cf-e03f-4a7a-a8ea-7411041143de", "permissions": {"keys": + "objectId": "30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5", "permissions": {"keys": ["get", "wrapKey", "unwrapKey", "recover"]}}], "enabledForDeployment": false, "enableSoftDelete": true, "vaultUri": "https://clitest000003.vault.azure.net/", "provisioningState": "RegisteringDns", "enablePurgeProtection": true}}''' @@ -741,52 +739,19 @@ interactions: Connection: [keep-alive] Content-Length: ['1133'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"enablePurgeProtection":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"RegisteringDns"}}'} - headers: - cache-control: [no-cache] - content-length: ['1333'] - content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:38 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-aspnet-version: [4.0.30319] - x-content-type-options: [nosniff] - x-ms-keyvault-service-version: [1.0.0.215] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [resource update] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003?api-version=2016-10-01 - response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"enablePurgeProtection":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.KeyVault/vaults/clitest000003","name":"clitest000003","type":"Microsoft.KeyVault/vaults","location":"southcentralus","tags":{},"properties":{"sku":{"family":"A","name":"standard"},"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","accessPolicies":[{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"4b1f6d49-d203-442f-bb23-06d98ab68f05","permissions":{"keys":["get","create","delete","list","update","import","backup","restore","recover"],"secrets":["get","list","set","delete","backup","restore","recover"],"certificates":["get","list","delete","create","import","update","managecontacts","getissuers","listissuers","setissuers","deleteissuers","manageissuers","recover"],"storage":["get","list","delete","set","update","regeneratekey","setsas","listsas","getsas","deletesas"]}},{"tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","objectId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","permissions":{"keys":["get","wrapKey","unwrapKey","recover"]}}],"enabledForDeployment":false,"enableSoftDelete":true,"enablePurgeProtection":true,"vaultUri":"https://clitest000003.vault.azure.net/","provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['1328'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:08 GMT'] + date: ['Mon, 14 May 2018 23:37:27 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -796,6 +761,7 @@ interactions: x-aspnet-version: [4.0.30319] x-content-type-options: [nosniff] x-ms-keyvault-service-version: [1.0.0.215] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -806,18 +772,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"identity":{"principalId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:05.9065524Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"identity":{"principalId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:47.2482326Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1387'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:10 GMT'] + date: ['Mon, 14 May 2018 23:37:27 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -831,7 +797,7 @@ interactions: body: 'b''{"sku": {"name": "Standard_LRS"}, "tags": {}, "properties": {"encryption": {"services": {"blob": {"enabled": true}, "file": {"enabled": true}}, "keySource": "Microsoft.Keyvault", "keyvaultproperties": {"keyname": "testkey", "keyversion": - "f99dcad9b19d4839be3296fd333700a9", "keyvaulturi": "https://clitest000003.vault.azure.net/"}}, + "e89f9c7fda784282b8c41431a709ce2c", "keyvaulturi": "https://clitest000003.vault.azure.net/"}}, "supportsHttpsTrafficOnly": false, "networkAcls": {"bypass": "AzureServices", "virtualNetworkRules": [], "ipRules": [], "defaultAction": "Allow"}}}''' headers: @@ -841,18 +807,18 @@ interactions: Connection: [keep-alive] Content-Length: ['491'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"identity":{"principalId":"f9dda2cf-e03f-4a7a-a8ea-7411041143de","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"keyvaultproperties":{"keyvaulturi":"https://clitest000003.vault.azure.net/","keyname":"testkey","keyversion":"f99dcad9b19d4839be3296fd333700a9"},"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:05.9534027Z"}},"keySource":"Microsoft.Keyvault"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:05.9065524Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"identity":{"principalId":"30dfd4c6-2b4c-46aa-b5f2-e468575e8ab5","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"keyvaultproperties":{"keyvaulturi":"https://clitest000003.vault.azure.net/","keyname":"testkey","keyversion":"e89f9c7fda784282b8c41431a709ce2c"},"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.3575942Z"}},"keySource":"Microsoft.Keyvault"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:47.2482326Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1545'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:12 GMT'] + date: ['Mon, 14 May 2018 23:37:28 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -861,7 +827,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -872,9 +838,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -883,12 +849,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:48:15 GMT'] + date: ['Mon, 14 May 2018 23:37:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZQlVZMlVaMldaM0JVQlk0QVJSUjU0WktOVEZPQ0RPN0dNSnw1MEFGMTlBQjYxRTEzM0JCLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc1NTVMSEpPRDJHNEhOM0czV0FGWjRJU0tXQUNCMlZOTFpQVHw1RkZBQ0VDMERFMjlCQjNGLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_locations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_locations.yaml index f5290c6f7e0..c4cf2dc2bf6 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_locations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_locations.yaml @@ -7,8 +7,8 @@ interactions: CommandName: [account list-locations] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 subscriptionclient/1.2.1 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 subscriptionclient/1.2.1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/locations?api-version=2016-06-01 @@ -48,7 +48,7 @@ interactions: cache-control: [no-cache] content-length: ['5269'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:37:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_storage_accounts.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_storage_accounts.yaml index bbf2a0ff1af..ba83c0dc2f4 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_storage_accounts.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_list_storage_accounts.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:48:17Z"}}' + "date": "2018-05-14T23:37:31Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:48:17Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:37:31Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:37:32 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:37:33 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/935cdf39-c0de-4897-b12d-11c1f43e1569?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cd2ec24c-1584-4b25-861d-329394e3e91c?monitor=true&api-version=2018-02-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: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/935cdf39-c0de-4897-b12d-11c1f43e1569?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cd2ec24c-1584-4b25-861d-329394e3e91c?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:18.3231444Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:18.3231444Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:18.2450195Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:33.9786217Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:33.9786217Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:33.9004874Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:34 GMT'] + date: ['Mon, 14 May 2018 23:37:50 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"JpyZFS2rU/ITmy9GBt9dJfleHXQKyPbsm1h1IUmgr1qxETrsAeJ3exRr+g1qBwW6srp2+G4DJqNQADG1jid3ag==","permissions":"FULL"},{"keyName":"key2","value":"5qnrHpm9V5AdQGEFqM2q9KdH9kJSL+yzIh6R+9yFpOhg2P5GjXhcAwKX8/OEfuahhNcnZSjtGQN/gSgujew/+g==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"IhZq4tccOrpWfd2OdiGgocNixHbcXcxu7Z1dFew5qLV/4hRpa6Dr0DogmZGw5wH+ZYVirFvgDT6KxWCrfJrg1w==","permissions":"FULL"},{"keyName":"key2","value":"LGMURunn/V7n6P8rOUmgW79SiAN78WWrniWl3ol6QPA4FDn5gfBbVipaToWTei8RQ7yR2sT4/4M/fb5jQBIoeg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:36 GMT'] + date: ['Mon, 14 May 2018 23:37:52 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -129,20 +127,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:37 GMT'] + date: ['Mon, 14 May 2018 23:37:53 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b9cf7077-db79-4990-b409-a7475f2dac0b?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/126b6e37-202b-42de-9a74-dbdf89cb1cf5?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -157,19 +155,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b9cf7077-db79-4990-b409-a7475f2dac0b?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/126b6e37-202b-42de-9a74-dbdf89cb1cf5?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003","name":"clitest000003","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:37.4795170Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:37.4795170Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:37.3857709Z","primaryEndpoints":{"blob":"https://clitest000003.blob.core.windows.net/","queue":"https://clitest000003.queue.core.windows.net/","table":"https://clitest000003.table.core.windows.net/","file":"https://clitest000003.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003","name":"clitest000003","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:53.6714993Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:53.6714993Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:53.6058765Z","primaryEndpoints":{"blob":"https://clitest000003.blob.core.windows.net/","queue":"https://clitest000003.queue.core.windows.net/","table":"https://clitest000003.table.core.windows.net/","file":"https://clitest000003.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:54 GMT'] + date: ['Mon, 14 May 2018 23:38:11 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -188,18 +184,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"hKhdGhEQVL9EUpbHR/nmynJ5GOpRtciN9bY7LZUtSQkxoyryK6NudyK3KJl9lz8u1CHb1cWFEQFyRDb0LZlhfg==","permissions":"FULL"},{"keyName":"key2","value":"nU4o9UKVho35Jfw1fuOoKK+z1e41ejTzYtlOXDZ8sWTZHvHEFJyI1sUzF/SuZGWIeti3qFzNq6ZaigP8frZ9TA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"a/3UfAe9wAUF6vtGB1J4AZBdSfSOWMwB98euNNu751uHetPZdseWpwm6D9nChWqtiecc15upwIeiJt21X84bNg==","permissions":"FULL"},{"keyName":"key2","value":"7C6X1VMLvx6RjSf+VYtEtkCGFqy7lkV4iOwS4a7mnObTegRH9OKLO76yQcGQs0UHfWKMSLx7GrCMO+nM71aecQ==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:55 GMT'] + date: ['Mon, 14 May 2018 23:38:11 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -218,27 +214,25 @@ interactions: CommandName: [storage account list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2018-02-01 response: - body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/o0zeaawp7t7n4skagntpri4","name":"o0zeaawp7t7n4skagntpri4","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.2637195Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.2637195Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.2168154Z","primaryEndpoints":{"blob":"https://o0zeaawp7t7n4skagntpri4.blob.core.windows.net/","queue":"https://o0zeaawp7t7n4skagntpri4.queue.core.windows.net/","table":"https://o0zeaawp7t7n4skagntpri4.table.core.windows.net/","file":"https://o0zeaawp7t7n4skagntpri4.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skagntpub","name":"zeaawp7t7n4skagntpub","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5762847Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5762847Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.5294154Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skagntpub.blob.core.windows.net/","queue":"https://zeaawp7t7n4skagntpub.queue.core.windows.net/","table":"https://zeaawp7t7n4skagntpub.table.core.windows.net/","file":"https://zeaawp7t7n4skagntpub.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storGRP1/providers/Microsoft.Storage/storageAccounts/storacc2","name":"storacc2","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-09T18:24:41.3214880Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-09T18:24:41.3214880Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-09T18:24:41.2902466Z","primaryEndpoints":{"blob":"https://storacc2.blob.core.windows.net/","queue":"https://storacc2.queue.core.windows.net/","table":"https://storacc2.table.core.windows.net/","file":"https://storacc2.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skdiag0","name":"zeaawp7t7n4skdiag0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.7951275Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.7951275Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.7482499Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skdiag0.blob.core.windows.net/","queue":"https://zeaawp7t7n4skdiag0.queue.core.windows.net/","table":"https://zeaawp7t7n4skdiag0.table.core.windows.net/","file":"https://zeaawp7t7n4skdiag0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyReallyCoolVM202/providers/Microsoft.Storage/storageAccounts/mynewaccount1234","name":"mynewaccount1234","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-27T21:34:15.2961058Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-27T21:34:15.2961058Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-27T21:34:15.2335978Z","primaryEndpoints":{"blob":"https://mynewaccount1234.blob.core.windows.net/","queue":"https://mynewaccount1234.queue.core.windows.net/","table":"https://mynewaccount1234.table.core.windows.net/","file":"https://mynewaccount1234.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/60zeaawp7t7n4skagntpri1","name":"60zeaawp7t7n4skagntpri1","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.4978129Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.4978129Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:33:59.3727743Z","primaryEndpoints":{"blob":"https://60zeaawp7t7n4skagntpri1.blob.core.windows.net/","queue":"https://60zeaawp7t7n4skagntpri1.queue.core.windows.net/","table":"https://60zeaawp7t7n4skagntpri1.table.core.windows.net/","file":"https://60zeaawp7t7n4skagntpri1.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/00zeaawp7t7n4skagntpri0","name":"00zeaawp7t7n4skagntpri0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:57.1533290Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:57.1533290Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:33:57.1064646Z","primaryEndpoints":{"blob":"https://00zeaawp7t7n4skagntpri0.blob.core.windows.net/","queue":"https://00zeaawp7t7n4skagntpri0.queue.core.windows.net/","table":"https://00zeaawp7t7n4skagntpri0.table.core.windows.net/","file":"https://00zeaawp7t7n4skagntpri0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Premium_LRS","tier":"Premium"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxgroupdisks925","name":"wilxgroupdisks925","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-13T17:14:42.2678046Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-13T17:14:42.2678046Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-13T17:14:42.2522063Z","primaryEndpoints":{"blob":"https://wilxgroupdisks925.blob.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/i0zeaawp7t7n4skagntpri3","name":"i0zeaawp7t7n4skagntpri3","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.2790240Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:33:59.2790240Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:33:59.2321471Z","primaryEndpoints":{"blob":"https://i0zeaawp7t7n4skagntpri3.blob.core.windows.net/","queue":"https://i0zeaawp7t7n4skagntpri3.queue.core.windows.net/","table":"https://i0zeaawp7t7n4skagntpri3.table.core.windows.net/","file":"https://i0zeaawp7t7n4skagntpri3.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skexhb0","name":"zeaawp7t7n4skexhb0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8576146Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8576146Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.7951275Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skexhb0.blob.core.windows.net/","queue":"https://zeaawp7t7n4skexhb0.queue.core.windows.net/","table":"https://zeaawp7t7n4skexhb0.table.core.windows.net/","file":"https://zeaawp7t7n4skexhb0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/zeaawp7t7n4skmstr0","name":"zeaawp7t7n4skmstr0","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5294154Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.5294154Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.4825090Z","primaryEndpoints":{"blob":"https://zeaawp7t7n4skmstr0.blob.core.windows.net/","queue":"https://zeaawp7t7n4skmstr0.queue.core.windows.net/","table":"https://zeaawp7t7n4skmstr0.table.core.windows.net/","file":"https://zeaawp7t7n4skmstr0.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitesti4aotnzdo4/providers/Microsoft.Storage/storageAccounts/c0zeaawp7t7n4skagntpri2","name":"c0zeaawp7t7n4skagntpri2","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8889157Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-18T18:34:00.8889157Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-01-18T18:34:00.8263879Z","primaryEndpoints":{"blob":"https://c0zeaawp7t7n4skagntpri2.blob.core.windows.net/","queue":"https://c0zeaawp7t7n4skagntpri2.queue.core.windows.net/","table":"https://c0zeaawp7t7n4skagntpri2.table.core.windows.net/","file":"https://c0zeaawp7t7n4skagntpri2.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available"}},{"identity":{"principalId":"4b358eca-1f6e-4da5-a90c-5cfda2b6ca83","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amar/providers/Microsoft.Storage/storageAccounts/eastustorage1","name":"eastustorage1","type":"Microsoft.Storage/storageAccounts","location":"eastus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-21T02:38:33.4035294Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-21T02:38:33.4035294Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-03-21T02:38:33.3253713Z","primaryEndpoints":{"blob":"https://eastustorage1.blob.core.windows.net/","queue":"https://eastustorage1.queue.core.windows.net/","table":"https://eastustorage1.table.core.windows.net/","file":"https://eastustorage1.file.core.windows.net/"},"primaryLocation":"eastus","statusOfPrimary":"available","secondaryLocation":"westus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroupeastus2/providers/Microsoft.Storage/storageAccounts/wilxstorageeastus2","name":"wilxstorageeastus2","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-30T18:32:07.3429304Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-30T18:32:07.3429304Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-30T18:32:07.2804546Z","primaryEndpoints":{"blob":"https://wilxstorageeastus2.blob.core.windows.net/","queue":"https://wilxstorageeastus2.queue.core.windows.net/","table":"https://wilxstorageeastus2.table.core.windows.net/","file":"https://wilxstorageeastus2.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available","secondaryLocation":"centralus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorageeastus2-secondary.blob.core.windows.net/","queue":"https://wilxstorageeastus2-secondary.queue.core.windows.net/","table":"https://wilxstorageeastus2-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgp3j2bt5nvsedgoxpqt6xtucbamnbo7jkgrcckdigt3aclxopqxio6lxjlqrj3czo7/providers/Microsoft.Storage/storageAccounts/clitestt7lrbv35ny3lgnfak","name":"clitestt7lrbv35ny3lgnfak","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:17:59.2725025Z","primaryEndpoints":{"blob":"https://clitestt7lrbv35ny3lgnfak.blob.core.windows.net/","queue":"https://clitestt7lrbv35ny3lgnfak.queue.core.windows.net/","table":"https://clitestt7lrbv35ny3lgnfak.table.core.windows.net/","file":"https://clitestt7lrbv35ny3lgnfak.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vscode-spot/providers/Microsoft.Storage/storageAccounts/spot1936b9594f55526a14","name":"spot1936b9594f55526a14","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-30T04:32:25.2179795Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-30T04:32:25.2179795Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-30T04:32:25.0930004Z","primaryEndpoints":{"blob":"https://spot1936b9594f55526a14.blob.core.windows.net/","queue":"https://spot1936b9594f55526a14.queue.core.windows.net/","table":"https://spot1936b9594f55526a14.table.core.windows.net/","file":"https://spot1936b9594f55526a14.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/awilxlab6038","name":"awilxlab6038","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"hidden-DevTestLabs-LabUId":"8887c3df-fb11-4c4a-b5ea-fb85003cd93d"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-11T22:14:43.7809117Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-11T22:14:43.7809117Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-11T22:14:43.6871681Z","primaryEndpoints":{"blob":"https://awilxlab6038.blob.core.windows.net/","queue":"https://awilxlab6038.queue.core.windows.net/","table":"https://awilxlab6038.table.core.windows.net/","file":"https://awilxlab6038.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy985","name":"foozy985","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-11T22:39:05.4716715Z","primaryEndpoints":{"blob":"https://foozy985.blob.core.windows.net/","queue":"https://foozy985.queue.core.windows.net/","table":"https://foozy985.table.core.windows.net/","file":"https://foozy985.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/amar/providers/Microsoft.Storage/storageAccounts/testacc7561","name":"testacc7561","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-13T01:22:28.4626746Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-13T01:22:28.4626746Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-03-13T01:22:28.4157923Z","primaryEndpoints":{"blob":"https://testacc7561.blob.core.windows.net/","queue":"https://testacc7561.queue.core.windows.net/","table":"https://testacc7561.table.core.windows.net/","file":"https://testacc7561.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgcy7ox5qk3ftoqfvnj2gsphlw7o3kwgyxw7zuvep5lgezszs2ik2wsar4amtsck7mw/providers/Microsoft.Storage/storageAccounts/clitestjjf7hxdcmump2f5jj","name":"clitestjjf7hxdcmump2f5jj","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:25.4950895Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:25.4950895Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:25.4013159Z","primaryEndpoints":{"blob":"https://clitestjjf7hxdcmump2f5jj.blob.core.windows.net/","queue":"https://clitestjjf7hxdcmump2f5jj.queue.core.windows.net/","table":"https://clitestjjf7hxdcmump2f5jj.table.core.windows.net/","file":"https://clitestjjf7hxdcmump2f5jj.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxstorage2","name":"wilxstorage2","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-16T19:43:30.0571507Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-16T19:43:30.0571507Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-16T19:43:29.9946790Z","primaryEndpoints":{"blob":"https://wilxstorage2.blob.core.windows.net/","queue":"https://wilxstorage2.queue.core.windows.net/","table":"https://wilxstorage2.table.core.windows.net/","file":"https://wilxstorage2.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorage2-secondary.blob.core.windows.net/","queue":"https://wilxstorage2-secondary.queue.core.windows.net/","table":"https://wilxstorage2-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_ZRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/foostore103","name":"foostore103","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-05-25T23:52:18.1234838Z","primaryEndpoints":{"blob":"https://foostore103.blob.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_ZRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/foostore102","name":"foostore102","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1835342Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1835342Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-05-25T19:32:49.5192125Z","primaryEndpoints":{"blob":"https://foostore102.blob.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgcy7ox5qk3ftoqfvnj2gsphlw7o3kwgyxw7zuvep5lgezszs2ik2wsar4amtsck7mw/providers/Microsoft.Storage/storageAccounts/clitestwtqzdriopzuaexpa2","name":"clitestwtqzdriopzuaexpa2","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:06.2918736Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:06.2918736Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:06.2137287Z","primaryEndpoints":{"blob":"https://clitestwtqzdriopzuaexpa2.blob.core.windows.net/","queue":"https://clitestwtqzdriopzuaexpa2.queue.core.windows.net/","table":"https://clitestwtqzdriopzuaexpa2.table.core.windows.net/","file":"https://clitestwtqzdriopzuaexpa2.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitest345","name":"zitest345","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8313291Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8313291Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-07T21:55:13.9394493Z","primaryEndpoints":{"blob":"https://zitest345.blob.core.windows.net/","queue":"https://zitest345.queue.core.windows.net/","table":"https://zitest345.table.core.windows.net/","file":"https://zitest345.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitest","name":"zitest","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.7688032Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.7688032Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-05-03T20:07:05.353746Z","primaryEndpoints":{"blob":"https://zitest.blob.core.windows.net/","queue":"https://zitest.queue.core.windows.net/","table":"https://zitest.table.core.windows.net/","file":"https://zitest.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitest1012","name":"zitest1012","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8001033Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:59.8001033Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2017-07-07T02:12:27.684591Z","primaryEndpoints":{"blob":"https://zitest1012.blob.core.windows.net/","queue":"https://zitest1012.queue.core.windows.net/","table":"https://zitest1012.table.core.windows.net/","file":"https://zitest1012.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgvnc44s5iiyknx6iehpbmjsf7y6xsqhrqvyb5opb2yr5wagkqftcqlbbpfkralo2id/providers/Microsoft.Storage/storageAccounts/clitesttc4beb6y7zcdc7zly","name":"clitesttc4beb6y7zcdc7zly","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1522571Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:16:26.3626209Z","primaryEndpoints":{"blob":"https://clitesttc4beb6y7zcdc7zly.blob.core.windows.net/","queue":"https://clitesttc4beb6y7zcdc7zly.queue.core.windows.net/","table":"https://clitesttc4beb6y7zcdc7zly.table.core.windows.net/","file":"https://clitesttc4beb6y7zcdc7zly.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/lmazuel-docker-machine/providers/Microsoft.Storage/storageAccounts/vhdsn51j1sdv8scmv98fmq8q","name":"vhdsn51j1sdv8scmv98fmq8q","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.3085287Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.3085287Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-03T21:43:45.5227216Z","primaryEndpoints":{"blob":"https://vhdsn51j1sdv8scmv98fmq8q.blob.core.windows.net/","queue":"https://vhdsn51j1sdv8scmv98fmq8q.queue.core.windows.net/","table":"https://vhdsn51j1sdv8scmv98fmq8q.table.core.windows.net/","file":"https://vhdsn51j1sdv8scmv98fmq8q.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgpr2r634eggrjey2jx7izbldaygmfpo4oz23evpt6gldownza2h3gwzfam5h7nffwd/providers/Microsoft.Storage/storageAccounts/clitestbo4aozjkl4cp5ceex","name":"clitestbo4aozjkl4cp5ceex","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:21.6512920Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:21.6512920Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:21.5575410Z","primaryEndpoints":{"blob":"https://clitestbo4aozjkl4cp5ceex.blob.core.windows.net/","queue":"https://clitestbo4aozjkl4cp5ceex.queue.core.windows.net/","table":"https://clitestbo4aozjkl4cp5ceex.table.core.windows.net/","file":"https://clitestbo4aozjkl4cp5ceex.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy984","name":"foozy984","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2460333Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-11T18:22:12.9346214Z","primaryEndpoints":{"blob":"https://foozy984.blob.core.windows.net/","queue":"https://foozy984.queue.core.windows.net/","table":"https://foozy984.table.core.windows.net/","file":"https://foozy984.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgzlponhuihq2f3r2ncatzpvyupukdm6ixm63jq2whzuvbuchjhov4vejrj4uspf7ju/providers/Microsoft.Storage/storageAccounts/clitestracm62rkgrryoiiig","name":"clitestracm62rkgrryoiiig","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:57:00.9900481Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:57:00.9900481Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:57:00.9119456Z","primaryEndpoints":{"blob":"https://clitestracm62rkgrryoiiig.blob.core.windows.net/","queue":"https://clitestracm62rkgrryoiiig.queue.core.windows.net/","table":"https://clitestracm62rkgrryoiiig.table.core.windows.net/","file":"https://clitestracm62rkgrryoiiig.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/testacc209","name":"testacc209","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3156846Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3156846Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-01-26T19:04:16.5466637Z","primaryEndpoints":{"blob":"https://testacc209.blob.core.windows.net/","queue":"https://testacc209.queue.core.windows.net/","table":"https://testacc209.table.core.windows.net/","file":"https://testacc209.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-westus/providers/Microsoft.Storage/storageAccounts/cs400977cdb163fx435fx9c3","name":"cs400977cdb163fx435fx9c3","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-10-31T20:15:56.3292318Z","primaryEndpoints":{"blob":"https://cs400977cdb163fx435fx9c3.blob.core.windows.net/","queue":"https://cs400977cdb163fx435fx9c3.queue.core.windows.net/","table":"https://cs400977cdb163fx435fx9c3.table.core.windows.net/","file":"https://cs400977cdb163fx435fx9c3.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwgjgodisz2vcsd55l3bixhutc5fbnyeyjuyatvgcv5k7sfzmxd6q2w4krnuq53zb7/providers/Microsoft.Storage/storageAccounts/clitestwwftaylvfj7kendae","name":"clitestwwftaylvfj7kendae","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:22:09.5983536Z","primaryEndpoints":{"blob":"https://clitestwwftaylvfj7kendae.blob.core.windows.net/","queue":"https://clitestwwftaylvfj7kendae.queue.core.windows.net/","table":"https://clitestwwftaylvfj7kendae.table.core.windows.net/","file":"https://clitestwwftaylvfj7kendae.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ziptxtdepl51/providers/Microsoft.Storage/storageAccounts/36y3ij42opovcstandardsa","name":"36y3ij42opovcstandardsa","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1054140Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1054140Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-12-15T01:53:43.4548265Z","primaryEndpoints":{"blob":"https://36y3ij42opovcstandardsa.blob.core.windows.net/","queue":"https://36y3ij42opovcstandardsa.queue.core.windows.net/","table":"https://36y3ij42opovcstandardsa.table.core.windows.net/","file":"https://36y3ij42opovcstandardsa.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitestb21","name":"zitestb21","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0656866Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0656866Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-08-23T20:10:50.2990885Z","primaryEndpoints":{"blob":"https://zitestb21.blob.core.windows.net/","queue":"https://zitestb21.queue.core.windows.net/","table":"https://zitestb21.table.core.windows.net/","file":"https://zitestb21.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy891","name":"foozy891","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2147571Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2147571Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-08T00:35:23.7925542Z","primaryEndpoints":{"blob":"https://foozy891.blob.core.windows.net/","queue":"https://foozy891.queue.core.windows.net/","table":"https://foozy891.table.core.windows.net/","file":"https://foozy891.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgh73m2h6rniak5bbqyrad43luxpotdofmlndof5secsxxee53kwocysqnklf4bn7yd/providers/Microsoft.Storage/storageAccounts/clitesttohpa6d65i7atctbm","name":"clitesttohpa6d65i7atctbm","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1678828Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:05:15.5574981Z","primaryEndpoints":{"blob":"https://clitesttohpa6d65i7atctbm.blob.core.windows.net/","queue":"https://clitesttohpa6d65i7atctbm.queue.core.windows.net/","table":"https://clitesttohpa6d65i7atctbm.table.core.windows.net/","file":"https://clitesttohpa6d65i7atctbm.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgzgkjvgqueh6ylbuj5ktuxx6m6njxoabzpow65vpyumzmtjctna2jgz5lg2ggslj7v/providers/Microsoft.Storage/storageAccounts/clitestncgrg5ytsvot5spgf","name":"clitestncgrg5ytsvot5spgf","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:27.7307380Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:27.7307380Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:27.5276141Z","primaryEndpoints":{"blob":"https://clitestncgrg5ytsvot5spgf.blob.core.windows.net/","queue":"https://clitestncgrg5ytsvot5spgf.queue.core.windows.net/","table":"https://clitestncgrg5ytsvot5spgf.table.core.windows.net/","file":"https://clitestncgrg5ytsvot5spgf.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:18.3231444Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:18.3231444Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:18.2450195Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ZiTest/providers/Microsoft.Storage/storageAccounts/ztesty3456","name":"ztesty3456","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-13T01:01:13.5308331Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-13T01:01:13.5308331Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-01-13T01:01:13.4995571Z","primaryEndpoints":{"blob":"https://ztesty3456.blob.core.windows.net/","queue":"https://ztesty3456.queue.core.windows.net/","table":"https://ztesty3456.table.core.windows.net/","file":"https://ztesty3456.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003","name":"clitest000003","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:37.4795170Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:37.4795170Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:37.3857709Z","primaryEndpoints":{"blob":"https://clitest000003.blob.core.windows.net/","queue":"https://clitest000003.queue.core.windows.net/","table":"https://clitest000003.table.core.windows.net/","file":"https://clitest000003.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/some-unique-rg-name-second/providers/Microsoft.Storage/storageAccounts/tianosatest79","name":"tianosatest79","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:46.6281789Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:46.6281789Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-05-24T23:16:33.9028352Z","primaryEndpoints":{"blob":"https://tianosatest79.blob.core.windows.net/","queue":"https://tianosatest79.queue.core.windows.net/","table":"https://tianosatest79.table.core.windows.net/","file":"https://tianosatest79.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy894","name":"foozy894","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2303818Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.2303818Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-08T00:39:03.09634Z","primaryEndpoints":{"blob":"https://foozy894.blob.core.windows.net/","queue":"https://foozy894.queue.core.windows.net/","table":"https://foozy894.table.core.windows.net/","file":"https://foozy894.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg7175/providers/Microsoft.Storage/storageAccounts/testacc7447","name":"testacc7447","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4719947Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4719947Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T19:13:51.907911Z","primaryEndpoints":{"blob":"https://testacc7447.blob.core.windows.net/","queue":"https://testacc7447.queue.core.windows.net/","table":"https://testacc7447.table.core.windows.net/","file":"https://testacc7447.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitesta21","name":"zitesta21","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0344305Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0344305Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-08-23T20:01:18.8418933Z","primaryEndpoints":{"blob":"https://zitesta21.blob.core.windows.net/","queue":"https://zitesta21.queue.core.windows.net/","table":"https://zitesta21.table.core.windows.net/","file":"https://zitesta21.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgcmxzjqe2ev2tarnzledhk4m7mk5dsnxznyqtyvx7dixjnjgqs4h5dh37jqoyzj5l5/providers/Microsoft.Storage/storageAccounts/cliteste7bmlfupz34m23jnc","name":"cliteste7bmlfupz34m23jnc","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-12-11T00:17:56.913505Z","primaryEndpoints":{"blob":"https://cliteste7bmlfupz34m23jnc.blob.core.windows.net/","queue":"https://cliteste7bmlfupz34m23jnc.queue.core.windows.net/","table":"https://cliteste7bmlfupz34m23jnc.table.core.windows.net/","file":"https://cliteste7bmlfupz34m23jnc.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg9639/providers/Microsoft.Storage/storageAccounts/testacc3070","name":"testacc3070","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3469905Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.3469905Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T18:42:53.9505428Z","primaryEndpoints":{"blob":"https://testacc3070.blob.core.windows.net/","queue":"https://testacc3070.queue.core.windows.net/","table":"https://testacc3070.table.core.windows.net/","file":"https://testacc3070.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/zitesty21","name":"zitesty21","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0969536Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:11:00.0969536Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-08-23T19:55:37.1159138Z","primaryEndpoints":{"blob":"https://zitesty21.blob.core.windows.net/","queue":"https://zitesty21.queue.core.windows.net/","table":"https://zitesty21.table.core.windows.net/","file":"https://zitesty21.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg3787/providers/Microsoft.Storage/storageAccounts/testacc5739","name":"testacc5739","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4406899Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4406899Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T02:06:37.3496304Z","primaryEndpoints":{"blob":"https://testacc5739.blob.core.windows.net/","queue":"https://testacc5739.queue.core.windows.net/","table":"https://testacc5739.table.core.windows.net/","file":"https://testacc5739.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg8761/providers/Microsoft.Storage/storageAccounts/testacc3915","name":"testacc3915","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4094279Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-27T09:10:45.4094279Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-21T01:35:41.2354283Z","primaryEndpoints":{"blob":"https://testacc3915.blob.core.windows.net/","queue":"https://testacc3915.queue.core.windows.net/","table":"https://testacc3915.table.core.windows.net/","file":"https://testacc3915.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/foozap002/providers/Microsoft.Storage/storageAccounts/foozy89","name":"foozy89","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{"key1":"value1","key2":"value2"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1991330Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-07-07T22:15:52.1441975Z","primaryEndpoints":{"blob":"https://foozy89.blob.core.windows.net/","queue":"https://foozy89.queue.core.windows.net/","table":"https://foozy89.table.core.windows.net/","file":"https://foozy89.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxgroupdiag169","name":"wilxgroupdiag169","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-29T22:34:01.9561177Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-29T22:34:01.9561177Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-29T22:34:01.8935895Z","primaryEndpoints":{"blob":"https://wilxgroupdiag169.blob.core.windows.net/","queue":"https://wilxgroupdiag169.queue.core.windows.net/","table":"https://wilxgroupdiag169.table.core.windows.net/","file":"https://wilxgroupdiag169.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Premium_LRS","tier":"Premium"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxgroupdisks899","name":"wilxgroupdisks899","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-11T23:26:25.3653337Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-11T23:26:25.3653337Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-11T23:26:25.2872072Z","primaryEndpoints":{"blob":"https://wilxgroupdisks899.blob.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg6sqzt5phdo5viklk7dquteui74rn3vn2tioolq5dsdnz2znxn6fdwaa47uyu2i4eg/providers/Microsoft.Storage/storageAccounts/clitestgjx5vdkyf74377ieg","name":"clitestgjx5vdkyf74377ieg","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:59.1366608Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-11-26T06:09:48.4001597Z","primaryEndpoints":{"blob":"https://clitestgjx5vdkyf74377ieg.blob.core.windows.net/","queue":"https://clitestgjx5vdkyf74377ieg.queue.core.windows.net/","table":"https://clitestgjx5vdkyf74377ieg.table.core.windows.net/","file":"https://clitestgjx5vdkyf74377ieg.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup/providers/Microsoft.Storage/storageAccounts/wilxstorage","name":"wilxstorage","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-15T17:47:45.4399402Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-15T17:47:45.4399402Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-15T17:47:45.3930700Z","primaryEndpoints":{"blob":"https://wilxstorage.blob.core.windows.net/","queue":"https://wilxstorage.queue.core.windows.net/","table":"https://wilxstorage.table.core.windows.net/","file":"https://wilxstorage.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorage-secondary.blob.core.windows.net/","queue":"https://wilxstorage-secondary.queue.core.windows.net/","table":"https://wilxstorage-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/zitest/providers/Microsoft.Storage/storageAccounts/foostore12978","name":"foostore12978","type":"Microsoft.Storage/storageAccounts","location":"westeurope","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-22T22:18:07.1937355Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-22T22:18:07.1937355Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2016-04-29T06:55:06.4412159Z","primaryEndpoints":{"blob":"https://foostore12978.blob.core.windows.net/","queue":"https://foostore12978.queue.core.windows.net/","table":"https://foostore12978.table.core.windows.net/","file":"https://foostore12978.file.core.windows.net/"},"primaryLocation":"westeurope","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"BlobStorage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/t-chwong/providers/Microsoft.Storage/storageAccounts/tchwong","name":"tchwong","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-01T18:07:07.4006066Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-01T18:07:07.4006066Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-03-01T18:07:07.3381076Z","primaryEndpoints":{"blob":"https://tchwong.blob.core.windows.net/","table":"https://tchwong.table.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestlab1/providers/Microsoft.Storage/storageAccounts/acliautomationlab8902","name":"acliautomationlab8902","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"hidden-DevTestLabs-LabUId":"ca9ec547-32c5-422d-b3d2-25906ed71959"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:51:47.2194106Z","primaryEndpoints":{"blob":"https://acliautomationlab8902.blob.core.windows.net/","queue":"https://acliautomationlab8902.queue.core.windows.net/","table":"https://acliautomationlab8902.table.core.windows.net/","file":"https://acliautomationlab8902.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"identity":{"principalId":"ebc8557b-5159-4db6-8b04-699759875130","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgls6pde2luhubksnkjxebnrqthsdi6dcfpxcrhlmgnvdkkimk6b2usub6ehq3ocrsm/providers/Microsoft.Storage/storageAccounts/clitesttrevle6ezqkjtfdl3","name":"clitesttrevle6ezqkjtfdl3","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-03-14T22:32:56.5552622Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-03-14T22:32:56.5552622Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-03-14T22:32:56.5084099Z","primaryEndpoints":{"blob":"https://clitesttrevle6ezqkjtfdl3.blob.core.windows.net/","queue":"https://clitesttrevle6ezqkjtfdl3.queue.core.windows.net/","table":"https://clitesttrevle6ezqkjtfdl3.table.core.windows.net/","file":"https://clitesttrevle6ezqkjtfdl3.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/lmazuel-testfunction-msi/providers/Microsoft.Storage/storageAccounts/lmazueltestfuncbbd8","name":"lmazueltestfuncbbd8","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-10-11T19:03:26.3781645Z","primaryEndpoints":{"blob":"https://lmazueltestfuncbbd8.blob.core.windows.net/","queue":"https://lmazueltestfuncbbd8.queue.core.windows.net/","table":"https://lmazueltestfuncbbd8.table.core.windows.net/","file":"https://lmazueltestfuncbbd8.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cloud-shell-storage-southcentralus/providers/Microsoft.Storage/storageAccounts/cs700977cdb163fx435fx9c3","name":"cs700977cdb163fx435fx9c3","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"ms-resource-usage":"azure-cloud-shell"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1691771Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-08-09T21:59:02.7061936Z","primaryEndpoints":{"blob":"https://cs700977cdb163fx435fx9c3.blob.core.windows.net/","queue":"https://cs700977cdb163fx435fx9c3.queue.core.windows.net/","table":"https://cs700977cdb163fx435fx9c3.table.core.windows.net/","file":"https://cs700977cdb163fx435fx9c3.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/t-chwong/providers/Microsoft.Storage/storageAccounts/tchwongdiag300","name":"tchwongdiag300","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T18:15:54.9483325Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T18:15:54.9483325Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T18:15:54.8858351Z","primaryEndpoints":{"blob":"https://tchwongdiag300.blob.core.windows.net/","queue":"https://tchwongdiag300.queue.core.windows.net/","table":"https://tchwongdiag300.table.core.windows.net/","file":"https://tchwongdiag300.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_GRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azurefunctions-southcentralus/providers/Microsoft.Storage/storageAccounts/azurefunctions2e2e624d","name":"azurefunctions2e2e624d","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1535349Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-01-08T22:33:58.1535349Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2017-09-22T21:04:32.5702152Z","primaryEndpoints":{"blob":"https://azurefunctions2e2e624d.blob.core.windows.net/","queue":"https://azurefunctions2e2e624d.queue.core.windows.net/","table":"https://azurefunctions2e2e624d.table.core.windows.net/","file":"https://azurefunctions2e2e624d.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available","secondaryLocation":"northcentralus","statusOfSecondary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup2/providers/Microsoft.Storage/storageAccounts/wilxstorage0","name":"wilxstorage0","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-04-13T01:05:28.4023820Z","primaryEndpoints":{"blob":"https://wilxstorage0.blob.core.windows.net/","queue":"https://wilxstorage0.queue.core.windows.net/","table":"https://wilxstorage0.table.core.windows.net/","file":"https://wilxstorage0.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmr6jo34yofyafj3n6gjbhrgmrd6pwgguthc2u235qfle6y6ztyzrlkuqn544s7cop/providers/Microsoft.Storage/storageAccounts/clitestnlmd52jlcmr4ce7b4","name":"clitestnlmd52jlcmr4ce7b4","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:14:07.3188286Z","primaryEndpoints":{"blob":"https://clitestnlmd52jlcmr4ce7b4.blob.core.windows.net/","queue":"https://clitestnlmd52jlcmr4ce7b4.queue.core.windows.net/","table":"https://clitestnlmd52jlcmr4ce7b4.table.core.windows.net/","file":"https://clitestnlmd52jlcmr4ce7b4.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageworm","name":"wilxstorageworm","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-13T22:36:53.0909769Z","primaryEndpoints":{"blob":"https://wilxstorageworm.blob.core.windows.net/","queue":"https://wilxstorageworm.queue.core.windows.net/","table":"https://wilxstorageworm.table.core.windows.net/","file":"https://wilxstorageworm.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorageworm-secondary.blob.core.windows.net/","queue":"https://wilxstorageworm-secondary.queue.core.windows.net/","table":"https://wilxstorageworm-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg326oxnqqn33y3n42vz6x5xol5rvvw3z4o6tladwwtkmcntnsxhhxxtddtrxwm2edj/providers/Microsoft.Storage/storageAccounts/clitestjwzkdsfuou3niutbd","name":"clitestjwzkdsfuou3niutbd","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:07:33.0552270Z","primaryEndpoints":{"blob":"https://clitestjwzkdsfuou3niutbd.blob.core.windows.net/","queue":"https://clitestjwzkdsfuou3niutbd.queue.core.windows.net/","table":"https://clitestjwzkdsfuou3niutbd.table.core.windows.net/","file":"https://clitestjwzkdsfuou3niutbd.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgldagdmcl4pklmwzmr3wftx2kidhw7johz6d7tl6m7raetzzfhpqhrfffu5vwqtfxo/providers/Microsoft.Storage/storageAccounts/clitestt6pqb7xneswrh2sp6","name":"clitestt6pqb7xneswrh2sp6","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:51:14.8105336Z","primaryEndpoints":{"blob":"https://clitestt6pqb7xneswrh2sp6.blob.core.windows.net/","queue":"https://clitestt6pqb7xneswrh2sp6.queue.core.windows.net/","table":"https://clitestt6pqb7xneswrh2sp6.table.core.windows.net/","file":"https://clitestt6pqb7xneswrh2sp6.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgf3er5m4irbxsxhyil42jxq3t5ehzphmdzn2gortdlrzyw4i6tlgswx2xrcgldp6oh/providers/Microsoft.Storage/storageAccounts/clitestpabilv4yd6qxvguml","name":"clitestpabilv4yd6qxvguml","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T19:20:22.2445526Z","primaryEndpoints":{"blob":"https://clitestpabilv4yd6qxvguml.blob.core.windows.net/","queue":"https://clitestpabilv4yd6qxvguml.queue.core.windows.net/","table":"https://clitestpabilv4yd6qxvguml.table.core.windows.net/","file":"https://clitestpabilv4yd6qxvguml.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwxiadyatfxsixayqfinia7ybjwo5cfoyw65qpuna3alx3x2diwukx4tkcpwir2mbq/providers/Microsoft.Storage/storageAccounts/clitesta2lvllqz23rgasyf7","name":"clitesta2lvllqz23rgasyf7","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:57:25.6193002Z","primaryEndpoints":{"blob":"https://clitesta2lvllqz23rgasyf7.blob.core.windows.net/","queue":"https://clitesta2lvllqz23rgasyf7.queue.core.windows.net/","table":"https://clitesta2lvllqz23rgasyf7.table.core.windows.net/","file":"https://clitesta2lvllqz23rgasyf7.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoo2qxqtbb56w7uujqzhodrozdh7fxg5wxscql4ndybxkardgqzqvheltadic2zoxf/providers/Microsoft.Storage/storageAccounts/clitestfyixx74gs3loj3isf","name":"clitestfyixx74gs3loj3isf","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:34:26.5668681Z","primaryEndpoints":{"blob":"https://clitestfyixx74gs3loj3isf.blob.core.windows.net/","queue":"https://clitestfyixx74gs3loj3isf.queue.core.windows.net/","table":"https://clitestfyixx74gs3loj3isf.table.core.windows.net/","file":"https://clitestfyixx74gs3loj3isf.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd5ygu6mbq43qw57ncgznekmhwaqlrowjc6dggyk2h6cfwioigvtt3bg7ayqckcwvk/providers/Microsoft.Storage/storageAccounts/clitestixsogcl5p5af5w2p3","name":"clitestixsogcl5p5af5w2p3","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T18:00:02.2087326Z","primaryEndpoints":{"blob":"https://clitestixsogcl5p5af5w2p3.blob.core.windows.net/","queue":"https://clitestixsogcl5p5af5w2p3.queue.core.windows.net/","table":"https://clitestixsogcl5p5af5w2p3.table.core.windows.net/","file":"https://clitestixsogcl5p5af5w2p3.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageblah","name":"wilxstorageblah","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-17T20:06:51.4259719Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-17T20:06:51.4259719Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-17T20:06:51.3790974Z","primaryEndpoints":{"blob":"https://wilxstorageblah.blob.core.windows.net/","queue":"https://wilxstorageblah.queue.core.windows.net/","table":"https://wilxstorageblah.table.core.windows.net/","file":"https://wilxstorageblah.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://wilxstorageblah-secondary.blob.core.windows.net/","queue":"https://wilxstorageblah-secondary.queue.core.windows.net/","table":"https://wilxstorageblah-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeyg7p46zydk24opv23uowejjybhvp2nqcyqpnmknbs7o3w5c3tocuuygkogbvxz5f/providers/Microsoft.Storage/storageAccounts/clitestcrdofae6jvibomf2w","name":"clitestcrdofae6jvibomf2w","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T01:19:55.7120798Z","primaryEndpoints":{"blob":"https://clitestcrdofae6jvibomf2w.blob.core.windows.net/","queue":"https://clitestcrdofae6jvibomf2w.queue.core.windows.net/","table":"https://clitestcrdofae6jvibomf2w.table.core.windows.net/","file":"https://clitestcrdofae6jvibomf2w.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeblmtd6pv6car44ga6qwvicwjyuxydhhkaharam4nad6uekgqgm2uiisw7v4a3czx/providers/Microsoft.Storage/storageAccounts/clitestcdx4bwlcvgviotc2p","name":"clitestcdx4bwlcvgviotc2p","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T22:26:48.9744081Z","primaryEndpoints":{"blob":"https://clitestcdx4bwlcvgviotc2p.blob.core.windows.net/","queue":"https://clitestcdx4bwlcvgviotc2p.queue.core.windows.net/","table":"https://clitestcdx4bwlcvgviotc2p.table.core.windows.net/","file":"https://clitestcdx4bwlcvgviotc2p.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}]}'} + body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmokbu3vpm7zf77lbzpf5fdd4zzujihuja7pdxdwkssyruaivix4dqhxjom7yio2yf/providers/Microsoft.Storage/storageAccounts/clitest44s63ie7mav5i2j7t","name":"clitest44s63ie7mav5i2j7t","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:40.1222754Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:40.1222754Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:40.0597537Z","primaryEndpoints":{"blob":"https://clitest44s63ie7mav5i2j7t.blob.core.windows.net/","queue":"https://clitest44s63ie7mav5i2j7t.queue.core.windows.net/","table":"https://clitest44s63ie7mav5i2j7t.table.core.windows.net/","file":"https://clitest44s63ie7mav5i2j7t.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgdvbchva4fbe25yuh36bos4xjiib7vrqorccsd7ygetriyxjknrf6cin7zgjn4sejt/providers/Microsoft.Storage/storageAccounts/clitestt6a3uqllegkthrodk","name":"clitestt6a3uqllegkthrodk","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:15.0292662Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:15.0292662Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:14.9668157Z","primaryEndpoints":{"blob":"https://clitestt6a3uqllegkthrodk.blob.core.windows.net/","queue":"https://clitestt6a3uqllegkthrodk.queue.core.windows.net/","table":"https://clitestt6a3uqllegkthrodk.table.core.windows.net/","file":"https://clitestt6a3uqllegkthrodk.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003","name":"clitest000003","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:53.6714993Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:53.6714993Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:53.6058765Z","primaryEndpoints":{"blob":"https://clitest000003.blob.core.windows.net/","queue":"https://clitest000003.queue.core.windows.net/","table":"https://clitest000003.table.core.windows.net/","file":"https://clitest000003.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:33.9786217Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:33.9786217Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:33.9004874Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg6o7xaftvzgmoxfwfgudgrw3fldv5hn6idway5si5bzwxfd2d2hywch72mghv7obux/providers/Microsoft.Storage/storageAccounts/clitestxghr4wv33vmt3w76g","name":"clitestxghr4wv33vmt3w76g","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:04.9672880Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:04.9672880Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"ResolvingDns","creationTime":"2018-05-14T23:38:04.8891770Z","primaryEndpoints":{"blob":"https://clitestxghr4wv33vmt3w76g.blob.core.windows.net/","queue":"https://clitestxghr4wv33vmt3w76g.queue.core.windows.net/","table":"https://clitestxghr4wv33vmt3w76g.table.core.windows.net/","file":"https://clitestxghr4wv33vmt3w76g.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestlab1/providers/Microsoft.Storage/storageAccounts/acliautomationlab8902","name":"acliautomationlab8902","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"hidden-DevTestLabs-LabUId":"ca9ec547-32c5-422d-b3d2-25906ed71959"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:51:47.2194106Z","primaryEndpoints":{"web":"https://acliautomationlab8902.web.core.windows.net/","blob":"https://acliautomationlab8902.blob.core.windows.net/","queue":"https://acliautomationlab8902.queue.core.windows.net/","table":"https://acliautomationlab8902.table.core.windows.net/","file":"https://acliautomationlab8902.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup2/providers/Microsoft.Storage/storageAccounts/wilxstorage0","name":"wilxstorage0","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-04-13T01:05:28.4023820Z","primaryEndpoints":{"web":"https://wilxstorage0.z5.web.core.windows.net/","blob":"https://wilxstorage0.blob.core.windows.net/","queue":"https://wilxstorage0.queue.core.windows.net/","table":"https://wilxstorage0.table.core.windows.net/","file":"https://wilxstorage0.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmr6jo34yofyafj3n6gjbhrgmrd6pwgguthc2u235qfle6y6ztyzrlkuqn544s7cop/providers/Microsoft.Storage/storageAccounts/clitestnlmd52jlcmr4ce7b4","name":"clitestnlmd52jlcmr4ce7b4","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:14:07.3188286Z","primaryEndpoints":{"web":"https://clitestnlmd52jlcmr4ce7b4.web.core.windows.net/","blob":"https://clitestnlmd52jlcmr4ce7b4.blob.core.windows.net/","queue":"https://clitestnlmd52jlcmr4ce7b4.queue.core.windows.net/","table":"https://clitestnlmd52jlcmr4ce7b4.table.core.windows.net/","file":"https://clitestnlmd52jlcmr4ce7b4.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageworm","name":"wilxstorageworm","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-13T22:36:53.0909769Z","primaryEndpoints":{"web":"https://wilxstorageworm.web.core.windows.net/","blob":"https://wilxstorageworm.blob.core.windows.net/","queue":"https://wilxstorageworm.queue.core.windows.net/","table":"https://wilxstorageworm.table.core.windows.net/","file":"https://wilxstorageworm.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"web":"https://wilxstorageworm-secondary.web.core.windows.net/","blob":"https://wilxstorageworm-secondary.blob.core.windows.net/","queue":"https://wilxstorageworm-secondary.queue.core.windows.net/","table":"https://wilxstorageworm-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgnipcxreywyorqhptpg4lmvsb6sqsef3mezozbrenqq6ufmd3hrh7plmdnorjt5y5x/providers/Microsoft.Storage/storageAccounts/clitestshv4qcdkeictveped","name":"clitestshv4qcdkeictveped","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T19:04:11.3686065Z","primaryEndpoints":{"blob":"https://clitestshv4qcdkeictveped.blob.core.windows.net/","queue":"https://clitestshv4qcdkeictveped.queue.core.windows.net/","table":"https://clitestshv4qcdkeictveped.table.core.windows.net/","file":"https://clitestshv4qcdkeictveped.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg326oxnqqn33y3n42vz6x5xol5rvvw3z4o6tladwwtkmcntnsxhhxxtddtrxwm2edj/providers/Microsoft.Storage/storageAccounts/clitestjwzkdsfuou3niutbd","name":"clitestjwzkdsfuou3niutbd","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:07:33.0552270Z","primaryEndpoints":{"web":"https://clitestjwzkdsfuou3niutbd.web.core.windows.net/","blob":"https://clitestjwzkdsfuou3niutbd.blob.core.windows.net/","queue":"https://clitestjwzkdsfuou3niutbd.queue.core.windows.net/","table":"https://clitestjwzkdsfuou3niutbd.table.core.windows.net/","file":"https://clitestjwzkdsfuou3niutbd.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgldagdmcl4pklmwzmr3wftx2kidhw7johz6d7tl6m7raetzzfhpqhrfffu5vwqtfxo/providers/Microsoft.Storage/storageAccounts/clitestt6pqb7xneswrh2sp6","name":"clitestt6pqb7xneswrh2sp6","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:51:14.8105336Z","primaryEndpoints":{"web":"https://clitestt6pqb7xneswrh2sp6.web.core.windows.net/","blob":"https://clitestt6pqb7xneswrh2sp6.blob.core.windows.net/","queue":"https://clitestt6pqb7xneswrh2sp6.queue.core.windows.net/","table":"https://clitestt6pqb7xneswrh2sp6.table.core.windows.net/","file":"https://clitestt6pqb7xneswrh2sp6.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgf3er5m4irbxsxhyil42jxq3t5ehzphmdzn2gortdlrzyw4i6tlgswx2xrcgldp6oh/providers/Microsoft.Storage/storageAccounts/clitestpabilv4yd6qxvguml","name":"clitestpabilv4yd6qxvguml","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T19:20:22.2445526Z","primaryEndpoints":{"web":"https://clitestpabilv4yd6qxvguml.web.core.windows.net/","blob":"https://clitestpabilv4yd6qxvguml.blob.core.windows.net/","queue":"https://clitestpabilv4yd6qxvguml.queue.core.windows.net/","table":"https://clitestpabilv4yd6qxvguml.table.core.windows.net/","file":"https://clitestpabilv4yd6qxvguml.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwxiadyatfxsixayqfinia7ybjwo5cfoyw65qpuna3alx3x2diwukx4tkcpwir2mbq/providers/Microsoft.Storage/storageAccounts/clitesta2lvllqz23rgasyf7","name":"clitesta2lvllqz23rgasyf7","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:57:25.6193002Z","primaryEndpoints":{"web":"https://clitesta2lvllqz23rgasyf7.web.core.windows.net/","blob":"https://clitesta2lvllqz23rgasyf7.blob.core.windows.net/","queue":"https://clitesta2lvllqz23rgasyf7.queue.core.windows.net/","table":"https://clitesta2lvllqz23rgasyf7.table.core.windows.net/","file":"https://clitesta2lvllqz23rgasyf7.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoo2qxqtbb56w7uujqzhodrozdh7fxg5wxscql4ndybxkardgqzqvheltadic2zoxf/providers/Microsoft.Storage/storageAccounts/clitestfyixx74gs3loj3isf","name":"clitestfyixx74gs3loj3isf","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:34:26.5668681Z","primaryEndpoints":{"web":"https://clitestfyixx74gs3loj3isf.web.core.windows.net/","blob":"https://clitestfyixx74gs3loj3isf.blob.core.windows.net/","queue":"https://clitestfyixx74gs3loj3isf.queue.core.windows.net/","table":"https://clitestfyixx74gs3loj3isf.table.core.windows.net/","file":"https://clitestfyixx74gs3loj3isf.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd5ygu6mbq43qw57ncgznekmhwaqlrowjc6dggyk2h6cfwioigvtt3bg7ayqckcwvk/providers/Microsoft.Storage/storageAccounts/clitestixsogcl5p5af5w2p3","name":"clitestixsogcl5p5af5w2p3","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T18:00:02.2087326Z","primaryEndpoints":{"web":"https://clitestixsogcl5p5af5w2p3.web.core.windows.net/","blob":"https://clitestixsogcl5p5af5w2p3.blob.core.windows.net/","queue":"https://clitestixsogcl5p5af5w2p3.queue.core.windows.net/","table":"https://clitestixsogcl5p5af5w2p3.table.core.windows.net/","file":"https://clitestixsogcl5p5af5w2p3.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeyg7p46zydk24opv23uowejjybhvp2nqcyqpnmknbs7o3w5c3tocuuygkogbvxz5f/providers/Microsoft.Storage/storageAccounts/clitestcrdofae6jvibomf2w","name":"clitestcrdofae6jvibomf2w","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T01:19:55.7120798Z","primaryEndpoints":{"web":"https://clitestcrdofae6jvibomf2w.web.core.windows.net/","blob":"https://clitestcrdofae6jvibomf2w.blob.core.windows.net/","queue":"https://clitestcrdofae6jvibomf2w.queue.core.windows.net/","table":"https://clitestcrdofae6jvibomf2w.table.core.windows.net/","file":"https://clitestcrdofae6jvibomf2w.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeblmtd6pv6car44ga6qwvicwjyuxydhhkaharam4nad6uekgqgm2uiisw7v4a3czx/providers/Microsoft.Storage/storageAccounts/clitestcdx4bwlcvgviotc2p","name":"clitestcdx4bwlcvgviotc2p","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T22:26:48.9744081Z","primaryEndpoints":{"web":"https://clitestcdx4bwlcvgviotc2p.web.core.windows.net/","blob":"https://clitestcdx4bwlcvgviotc2p.blob.core.windows.net/","queue":"https://clitestcdx4bwlcvgviotc2p.queue.core.windows.net/","table":"https://clitestcdx4bwlcvgviotc2p.table.core.windows.net/","file":"https://clitestcdx4bwlcvgviotc2p.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}]}'} headers: cache-control: [no-cache] - content-length: ['90663'] + content-length: ['23161'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:56 GMT'] + date: ['Mon, 14 May 2018 23:38:12 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-original-request-ids: [84952941-ed5a-414e-b505-85a49764de4e, 775c6a87-b6b4-44fa-8471-51bd67c524e9, - 3aff7d4f-2004-49b9-bb1d-ad3757db59f3, 337cb911-05a4-4566-a36c-4dc902966df3, - 11991e36-7a48-4abb-86d5-8b5d87913636, f36c456a-beed-4002-a66b-f8d1dacadc0c, - b8b72007-5ec6-4d2b-92e6-bb9b9161bfca] + x-ms-original-request-ids: [131f58e8-3344-44e8-9b5a-4471abe7f279, 13f25e5a-67bb-42e5-8e63-ac8b3ddeaa17, + 06a1d455-194b-460a-9e60-5d32bf0e663b, 61a7d7be-6ff2-4a1e-ab51-ed4a918a6f52] status: {code: 200, message: OK} - request: body: null @@ -249,9 +243,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -260,12 +254,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:48:57 GMT'] + date: ['Mon, 14 May 2018 23:38:13 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdLSURPNTRVNTVEV0hQUU9ITUNFM0YyVUI0M0JFU1NWRVBIV3w4MzA4NzY5OEU3NjQ5MkMxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdBUTNCSkJBRjNHT0RQU0o1QUpRVVVSN0dLQlIyNFZRNVUyUXxENjMxMThGQjJFQTFGQ0YwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_logging_operations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_logging_operations.yaml index 2876eda243f..b74370f001c 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_logging_operations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_logging_operations.yaml @@ -1,63 +1,63 @@ interactions: - request: - body: '{"location": "eastus2", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-02T00:05:52Z"}}' + body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-05-14T23:38:14Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [group create] Connection: [keep-alive] - Content-Length: ['111'] + Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2018-05-02T00:05:52Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:38:14Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['385'] + content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 02 May 2018 00:05:54 GMT'] + date: ['Mon, 14 May 2018 23:38:15 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "eastus2", + body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", "properties": {"supportsHttpsTrafficOnly": false}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Length: ['126'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Wed, 02 May 2018 00:05:57 GMT'] + date: ['Mon, 14 May 2018 23:38:16 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/aa00d0bc-b1ea-49ae-894b-206785dde9a1?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/966ccf5f-3298-4910-9dcb-5634ebe7e832?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/aa00d0bc-b1ea-49ae-894b-206785dde9a1?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/966ccf5f-3298-4910-9dcb-5634ebe7e832?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-02T00:05:57.4340385Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-02T00:05:57.4340385Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-02T00:05:57.1840317Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:16.7634659Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:16.7634659Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:38:16.7008574Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] - content-length: ['1233'] + content-length: ['1231'] content-type: [application/json] - date: ['Wed, 02 May 2018 00:06:15 GMT'] + date: ['Mon, 14 May 2018 23:38:34 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"q0gHRpLyuUQQzq7YTxniF8sTj5wYCVg2zd2wsw68/nQNmKsEy22aUpIXGwircNRzbczHGYxIEQQ50pp4Jj9EqA==","permissions":"FULL"},{"keyName":"key2","value":"xITc2KcgaEZnIO9H6VzVCTIYWWnOyz1KEVTP8SJMsGxyVfYLmsiSim6UFovFH6hdtIo8j9fiCSMxNLI1tRr6FQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"l/IxKlwxgXq0vr4kicr0LdMBaxpYvdff5fFnnyOAKGSEioxWB9QGMijn/Mx6Pbl5SG442NelX8u51T1caUt05w==","permissions":"FULL"},{"keyName":"key2","value":"Zt42L6OFjf0V0Zx2CIwV+iawk0Sx7KgJy0TjGEjITgoEjO85z1WOWsND7AVXprFhUbFZF7zF/yZA22wjqv+HgA==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 00:06:15 GMT'] + date: ['Mon, 14 May 2018 23:38:35 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"q0gHRpLyuUQQzq7YTxniF8sTj5wYCVg2zd2wsw68/nQNmKsEy22aUpIXGwircNRzbczHGYxIEQQ50pp4Jj9EqA==","permissions":"FULL"},{"keyName":"key2","value":"xITc2KcgaEZnIO9H6VzVCTIYWWnOyz1KEVTP8SJMsGxyVfYLmsiSim6UFovFH6hdtIo8j9fiCSMxNLI1tRr6FQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"l/IxKlwxgXq0vr4kicr0LdMBaxpYvdff5fFnnyOAKGSEioxWB9QGMijn/Mx6Pbl5SG442NelX8u51T1caUt05w==","permissions":"FULL"},{"keyName":"key2","value":"Zt42L6OFjf0V0Zx2CIwV+iawk0Sx7KgJy0TjGEjITgoEjO85z1WOWsND7AVXprFhUbFZF7zF/yZA22wjqv+HgA==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 00:06:17 GMT'] + date: ['Mon, 14 May 2018 23:38:35 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,36 +146,35 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:17 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:36 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} + \ />false"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:06:17 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:38:35 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:18 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:36 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties @@ -187,7 +184,7 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Wed, 02 May 2018 00:06:18 GMT'] + date: ['Mon, 14 May 2018 23:38:35 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -196,21 +193,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:18 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:36 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsefalse"} + \ />"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:06:18 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:38:35 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: ' @@ -220,15 +218,15 @@ interactions: Connection: [keep-alive] Content-Length: ['264'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:19 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:37 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Wed, 02 May 2018 00:06:19 GMT'] + date: ['Mon, 14 May 2018 23:38:37 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -237,30 +235,29 @@ interactions: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:19 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:37 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} + body: {string: "\uFEFF1.0truefalsefalsetrue11.0truetruetrue71.0falsefalsefalse"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:06:19 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:38:37 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:20 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:37 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties @@ -270,7 +267,7 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Wed, 02 May 2018 00:06:20 GMT'] + date: ['Mon, 14 May 2018 23:38:37 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -279,21 +276,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:06:20 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:38 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0truefalsefalsetrue11.0truetruetrue71.0falsefalsefalse"} + body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:06:20 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:38:37 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: null @@ -304,9 +302,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -315,12 +313,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 02 May 2018 00:06:21 GMT'] + date: ['Mon, 14 May 2018 23:38:38 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdPRFNKWDczU01TV0k0SUpKT1ZET0k1VlRTR1c0R0dBN1JHSHw2MThEM0Q0MTQxNDFGNDU1LUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc1UDVJWklWNlRQT0NER1RCTk82TVo0Q0VCSFY3UEFUQ0lUTnwzRDhCN0M0N0Q1QkMzMjI5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_metrics_operations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_metrics_operations.yaml index bb88126d078..1c95cae48cc 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_metrics_operations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_metrics_operations.yaml @@ -1,63 +1,63 @@ interactions: - request: - body: '{"location": "eastus2", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-02T00:09:48Z"}}' + body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-05-14T23:38:39Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [group create] Connection: [keep-alive] - Content-Length: ['111'] + Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2018-05-02T00:09:48Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:38:39Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['385'] + content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 02 May 2018 00:09:50 GMT'] + date: ['Mon, 14 May 2018 23:38:40 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "eastus2", + body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", "properties": {"supportsHttpsTrafficOnly": false}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Length: ['126'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Wed, 02 May 2018 00:09:53 GMT'] + date: ['Mon, 14 May 2018 23:38:41 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/61792499-c148-4e4b-ba7f-e624bd4b166c?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2765fd2c-2772-4156-bad2-5ac482b92df4?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/61792499-c148-4e4b-ba7f-e624bd4b166c?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2765fd2c-2772-4156-bad2-5ac482b92df4?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-02T00:09:53.4202268Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-02T00:09:53.4202268Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-02T00:09:53.3420553Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:41.7971272Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:41.7971272Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:38:41.7346398Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] - content-length: ['1233'] + content-length: ['1231'] content-type: [application/json] - date: ['Wed, 02 May 2018 00:10:10 GMT'] + date: ['Mon, 14 May 2018 23:38:59 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"hQ8wjwvE8IPuEwJ01IPlXzxztd97kS3MtQMX++TD7XHWxiPVtjrdP65vrhjxndeFupFot5U1sZf7F4qPl6FZGw==","permissions":"FULL"},{"keyName":"key2","value":"7VoTC+AOT5FOtt5k9iF3NXkJxiC6FMGz259BkwXGWGXKjuaaK+QRbnHaRFW27040zpQ9c2p6wml64pwE28G0Mg==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"JzT7nQxqhTZT1L7bZ9aSi8/Jx0u8oAb26Ggbno1sbujwI70kBgJgiH4xr2VHasVVRdtbsrnNSoGWlMfOB5TzpA==","permissions":"FULL"},{"keyName":"key2","value":"gWMl+syJaEC1N+yePwH1V6erVTosr4kx3NPWH4meeS5+UDUbHEEseKAQeh7pG7D0OQbX5J7wJM19Onj13XREmg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 00:10:11 GMT'] + date: ['Mon, 14 May 2018 23:38:59 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,36 +115,35 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:12 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:00 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} + \ />false"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:12 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:39:00 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:12 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:01 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties @@ -156,7 +153,7 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:13 GMT'] + date: ['Mon, 14 May 2018 23:39:00 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -166,8 +163,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:13 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:01 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties @@ -176,7 +173,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:13 GMT'] + date: ['Mon, 14 May 2018 23:39:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -185,21 +182,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:13 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:01 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsefalse"} + \ />"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:14 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:39:01 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: ' @@ -209,15 +207,15 @@ interactions: Connection: [keep-alive] Content-Length: ['446'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:14 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:02 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Wed, 02 May 2018 00:10:14 GMT'] + date: ['Mon, 14 May 2018 23:39:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -226,30 +224,29 @@ interactions: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:15 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:02 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} + \ />false"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:14 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:39:02 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:15 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:03 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties @@ -259,7 +256,7 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:15 GMT'] + date: ['Mon, 14 May 2018 23:39:03 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -269,8 +266,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:03 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties @@ -279,7 +276,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:16 GMT'] + date: ['Mon, 14 May 2018 23:39:03 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -288,21 +285,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 00:10:16 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:03 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsefalse"} + \ />"} headers: content-type: [application/xml] - date: ['Wed, 02 May 2018 00:10:16 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:39:02 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: null @@ -313,9 +311,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -324,12 +322,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 02 May 2018 00:10:17 GMT'] + date: ['Mon, 14 May 2018 23:39:03 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJNFpCTkNaR1dPQkFURElPQ1FNQVlQTDdJR0NGQVlMVFdSWHw1REVGMjcwQkY2NzE4NTAzLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdOUlRRVkxFRzJDMzVHQ1dBVlJIVzM3TUZWRkxWUkY1Mk82Snw3RThCQTU1NTBENzhERkM5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_renew_account_key.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_renew_account_key.yaml index 33b3a2fd15d..7cbc6008a3e 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_renew_account_key.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_renew_account_key.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:49:59Z"}}' + "date": "2018-05-14T23:39:04Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:49:59Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:39:04Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:00 GMT'] + date: ['Mon, 14 May 2018 23:39:05 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:01 GMT'] + date: ['Mon, 14 May 2018 23:39:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2f1d275e-a16c-442b-988d-d3d6a4bdec29?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/784b9711-d665-4eb8-aa6a-62f6881f2439?monitor=true&api-version=2018-02-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: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2f1d275e-a16c-442b-988d-d3d6a4bdec29?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/784b9711-d665-4eb8-aa6a-62f6881f2439?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:01.6687806Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:01.6687806Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:01.5750003Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:06.9719539Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:06.9719539Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:06.9094529Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:18 GMT'] + date: ['Mon, 14 May 2018 23:39:23 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"MsV6XNzsFn8Dl96ueZ/lOXAqx/BU7BWUUBpA93zqEFornsiyr249WEi5zUxunfFpw7moIE2NRbpbXO5Mh29ubQ==","permissions":"FULL"},{"keyName":"key2","value":"VhbqdaROJJJw09wrtPp7g/RU3v0zXjWpk809y/Qw8jYmZF2mVEcS23RzeH8/aK6pAT4nGJ8VttgrdAmB6NOYFQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"BmFzw/IoNXkskVhKLBAqUMk17DpBIjMBdFLe0nu4gH4yPhwDvxqlkd3+WWuTrVhdceAlSfOi0YfSY2pDymmmyw==","permissions":"FULL"},{"keyName":"key2","value":"pfYrhbpwQbQmHGX9IBCVZP22HVpdOlBU2CiRJFInMBXWo0vsL0aJm/U2jeXMGyD/wx4cdT5pcIuKCmz0JdRQRw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:20 GMT'] + date: ['Mon, 14 May 2018 23:39:25 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"MsV6XNzsFn8Dl96ueZ/lOXAqx/BU7BWUUBpA93zqEFornsiyr249WEi5zUxunfFpw7moIE2NRbpbXO5Mh29ubQ==","permissions":"FULL"},{"keyName":"key2","value":"VhbqdaROJJJw09wrtPp7g/RU3v0zXjWpk809y/Qw8jYmZF2mVEcS23RzeH8/aK6pAT4nGJ8VttgrdAmB6NOYFQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"BmFzw/IoNXkskVhKLBAqUMk17DpBIjMBdFLe0nu4gH4yPhwDvxqlkd3+WWuTrVhdceAlSfOi0YfSY2pDymmmyw==","permissions":"FULL"},{"keyName":"key2","value":"pfYrhbpwQbQmHGX9IBCVZP22HVpdOlBU2CiRJFInMBXWo0vsL0aJm/U2jeXMGyD/wx4cdT5pcIuKCmz0JdRQRw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:20 GMT'] + date: ['Mon, 14 May 2018 23:39:25 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: '{"keyName": "key1"}' @@ -159,18 +157,18 @@ interactions: Connection: [keep-alive] Content-Length: ['19'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/regenerateKey?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/regenerateKey?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"z04E7jvrYBT1q/AX5nMFdlG50HB/EFdL1leVDPlMVGpIWeWVGY4RNpFNDedsj2jEAM7dRZDcMMKpIoK4S3RlpQ==","permissions":"FULL"},{"keyName":"key2","value":"VhbqdaROJJJw09wrtPp7g/RU3v0zXjWpk809y/Qw8jYmZF2mVEcS23RzeH8/aK6pAT4nGJ8VttgrdAmB6NOYFQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"cLlUZI9daQL4g1rSNZXRRVDZpzXK2u+Pd9lxCLJO7s7HTPRCSk2XWkolK1bVHFsMdgvJOYGgj7peObMyFmYGew==","permissions":"FULL"},{"keyName":"key2","value":"pfYrhbpwQbQmHGX9IBCVZP22HVpdOlBU2CiRJFInMBXWo0vsL0aJm/U2jeXMGyD/wx4cdT5pcIuKCmz0JdRQRw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:21 GMT'] + date: ['Mon, 14 May 2018 23:39:26 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -179,7 +177,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: '{"keyName": "key2"}' @@ -190,18 +188,18 @@ interactions: Connection: [keep-alive] Content-Length: ['19'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/regenerateKey?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/regenerateKey?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"z04E7jvrYBT1q/AX5nMFdlG50HB/EFdL1leVDPlMVGpIWeWVGY4RNpFNDedsj2jEAM7dRZDcMMKpIoK4S3RlpQ==","permissions":"FULL"},{"keyName":"key2","value":"Wx2HXjV5wMAlNoiXVBAxeFceQezAM2KPkkoIPtA8iBNWJuBVOgGbx2KgPKCJ0JFDeSzdCxRl5DoAtULhUmYYGQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"cLlUZI9daQL4g1rSNZXRRVDZpzXK2u+Pd9lxCLJO7s7HTPRCSk2XWkolK1bVHFsMdgvJOYGgj7peObMyFmYGew==","permissions":"FULL"},{"keyName":"key2","value":"nwJHOHT6Hxk44xVBKbWc3G5jVAVNG5Y3o5w4hksh0uvQrdK3CjtnyFSYc3oz5Nn2i9hMnPaaClXVIeZRA+R0hg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:21 GMT'] + date: ['Mon, 14 May 2018 23:39:26 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -221,9 +219,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -232,12 +230,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:50:21 GMT'] + date: ['Mon, 14 May 2018 23:39:28 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkcyU1E3R0Q2N1JNMjdDWjNMQ0pZRkFNUUo0MlBVVk1HUDYzSXxFODI1Q0Q5NkZGQkQyREQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdGS0VTRkRQNDUzUUFXRjVGNFVDTlY2RVg1UzRYTEtDSEFGWXxFMUZCQTJGMEQ5MDg2QzE2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_show_usage.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_show_usage.yaml index c279d7f78a6..2fc8670ef38 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_show_usage.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_show_usage.yaml @@ -7,21 +7,21 @@ interactions: CommandName: [storage account show-usage] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/usages?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/usages?api-version=2018-02-01 response: body: {string: "{\r\n \"value\": [\r\n {\r\n \"unit\": \"Count\",\r\n\ - \ \"currentValue\": 32,\r\n \"limit\": 250,\r\n \"name\": {\r\ + \ \"currentValue\": 0,\r\n \"limit\": 250,\r\n \"name\": {\r\ \n \"value\": \"StorageAccounts\",\r\n \"localizedValue\": \"\ Storage Accounts\"\r\n }\r\n }\r\n ]\r\n}"} headers: cache-control: [no-cache] - content-length: ['218'] + content-length: ['217'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:22 GMT'] + date: ['Tue, 15 May 2018 02:32:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-Azure-Storage-Resource-Provider/1.0, Microsoft-HTTPAPI/2.0] @@ -30,4 +30,34 @@ interactions: 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: [storage account show-usage] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/centraluseuap/usages?api-version=2018-02-01 + response: + body: {string: '{"value":[{"unit":"Count","currentValue":0,"limit":250,"name":{"value":"StorageAccounts","localizedValue":"Storage + Accounts"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['128'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:32:43 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 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_account_service_endpoints.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_account_service_endpoints.yaml index 66a8ac84564..075142b5095 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_account_service_endpoints.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_account_service_endpoints.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:50:23Z"}}' + "date": "2018-05-14T23:39:28Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_storage_service_endpoints000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001","name":"cli_test_storage_service_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:50:23Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001","name":"cli_test_storage_service_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:39:28Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:23 GMT'] + date: ['Mon, 14 May 2018 23:39:30 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:25 GMT'] + date: ['Mon, 14 May 2018 23:39:31 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/7fa7210c-232e-41fc-95a4-2c74404a9d16?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/af2032e4-46de-4abc-9a2e-b1ab1c0f1d3c?monitor=true&api-version=2018-02-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: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/7fa7210c-232e-41fc-95a4-2c74404a9d16?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/af2032e4-46de-4abc-9a2e-b1ab1c0f1d3c?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:41 GMT'] + date: ['Mon, 14 May 2018 23:39:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"qWOSwO1BVzgMfrWqXaYHDfEZuzviUAd9vNxnv+kxHY/sQvIbDhcByrFMSbeBBEbkdz+55p6bUPJmXSdjdNNtVg==","permissions":"FULL"},{"keyName":"key2","value":"Dpx3hse6j7dQQ3EWvIbIU5c0it8ICT5oNyVuJ+HJ0En485eXvJGZpJ6yYrz30YmpajDslBBxYyrfpJ17NAxJ/w==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"4NrKKvnmCF44lHNzHMZd8ADadycbtSz21bj1djRRzEgHuGuFkcPS3fQXoxosqBk2gd4+1Oc6tNAfVDflBwj9GQ==","permissions":"FULL"},{"keyName":"key2","value":"Dv+QueBIDAhIBkQADa5w76WIvjNQJhzGywK6Y67IjiVmurMZWjEFoIwG+2IfNpQ0DSSZExUByDc9PrBtsr7A3Q==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:42 GMT'] + date: ['Mon, 14 May 2018 23:39:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -127,19 +125,19 @@ interactions: CommandName: [storage account create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_storage_service_endpoints000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001","name":"cli_test_storage_service_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:50:23Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001","name":"cli_test_storage_service_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:39:28Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:44 GMT'] + date: ['Mon, 14 May 2018 23:39:49 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -157,18 +155,18 @@ interactions: Connection: [keep-alive] Content-Length: ['190'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Metrics","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Metrics","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1478'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:44 GMT'] + date: ['Mon, 14 May 2018 23:39:50 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -177,7 +175,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 200, message: OK} - request: body: null @@ -187,18 +185,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Metrics","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Metrics","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1478'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:44 GMT'] + date: ['Mon, 14 May 2018 23:39:51 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -220,18 +218,18 @@ interactions: Connection: [keep-alive] Content-Length: ['322'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1479'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:45 GMT'] + date: ['Mon, 14 May 2018 23:40:18 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -240,7 +238,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -250,18 +248,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1479'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:46 GMT'] + date: ['Mon, 14 May 2018 23:40:19 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -283,18 +281,18 @@ interactions: Connection: [keep-alive] Content-Length: ['321'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1478'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:46 GMT'] + date: ['Mon, 14 May 2018 23:40:19 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -303,7 +301,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -313,19 +311,19 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_storage_service_endpoints000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001","name":"cli_test_storage_service_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:50:23Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001","name":"cli_test_storage_service_endpoints000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:39:28Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:51 GMT'] + date: ['Mon, 14 May 2018 23:40:23 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -343,33 +341,33 @@ interactions: Connection: [keep-alive] Content-Length: ['205'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-02-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1\"\ - ,\r\n \"etag\": \"W/\\\"7caece64-81d6-43d8-9b18-7fc8aff7b06b\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"b7c769ed-cb1b-45db-867b-09774206b95f\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"16adc12b-15c9-4456-9483-71ae34e5883e\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"2cb829ff-4f35-421b-9e50-8e6da1e6989a\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\"\ ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"7caece64-81d6-43d8-9b18-7fc8aff7b06b\\\"\"\ + ,\r\n \"etag\": \"W/\\\"b7c769ed-cb1b-45db-867b-09774206b95f\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ ,\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n }\r\ \n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ : false,\r\n \"enableVmProtection\": false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7dbb1e4a-e2e2-41ec-b99f-495eb60f654f?api-version=2018-02-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/da754914-d45f-4de3-b778-c6b73f658643?api-version=2018-02-01'] cache-control: [no-cache] content-length: ['1230'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:51 GMT'] + date: ['Mon, 14 May 2018 23:40:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -384,18 +382,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7dbb1e4a-e2e2-41ec-b99f-495eb60f654f?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/da754914-d45f-4de3-b778-c6b73f658643?api-version=2018-02-01 response: body: {string: "{\r\n \"status\": \"InProgress\"\r\n}"} headers: cache-control: [no-cache] content-length: ['30'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:54 GMT'] + date: ['Mon, 14 May 2018 23:40:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -411,18 +409,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/7dbb1e4a-e2e2-41ec-b99f-495eb60f654f?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/da754914-d45f-4de3-b778-c6b73f658643?api-version=2018-02-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -438,22 +436,22 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1?api-version=2018-02-01 response: body: {string: "{\r\n \"name\": \"vnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1\"\ - ,\r\n \"etag\": \"W/\\\"31985a96-6d04-4122-b48e-9f096715aaa7\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"5b87cc37-ec47-420b-bcba-56e5deb38fd4\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"16adc12b-15c9-4456-9483-71ae34e5883e\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"2cb829ff-4f35-421b-9e50-8e6da1e6989a\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"subnet1\"\ ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"31985a96-6d04-4122-b48e-9f096715aaa7\\\"\"\ + ,\r\n \"etag\": \"W/\\\"5b87cc37-ec47-420b-bcba-56e5deb38fd4\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n }\r\ \n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ @@ -462,8 +460,8 @@ interactions: cache-control: [no-cache] content-length: ['1232'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:05 GMT'] - etag: [W/"31985a96-6d04-4122-b48e-9f096715aaa7"] + date: ['Mon, 14 May 2018 23:40:39 GMT'] + etag: [W/"5b87cc37-ec47-420b-bcba-56e5deb38fd4"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -480,23 +478,23 @@ interactions: CommandName: [network vnet subnet update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-02-01 response: body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"31985a96-6d04-4122-b48e-9f096715aaa7\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"5b87cc37-ec47-420b-bcba-56e5deb38fd4\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\"\r\n }\r\n}"} headers: cache-control: [no-cache] content-length: ['403'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:06 GMT'] - etag: [W/"31985a96-6d04-4122-b48e-9f096715aaa7"] + date: ['Mon, 14 May 2018 23:40:40 GMT'] + etag: [W/"5b87cc37-ec47-420b-bcba-56e5deb38fd4"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -509,7 +507,7 @@ interactions: body: 'b''{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", "properties": {"addressPrefix": "10.0.0.0/24", "serviceEndpoints": [{"service": "Microsoft.Storage"}], "provisioningState": "Succeeded"}, "name": "subnet1", - "etag": "W/\\"31985a96-6d04-4122-b48e-9f096715aaa7\\""}''' + "etag": "W/\\"5b87cc37-ec47-420b-bcba-56e5deb38fd4\\""}''' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -517,26 +515,26 @@ interactions: Connection: [keep-alive] Content-Length: ['429'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-02-01 response: body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"a69be374-b963-45f6-ab1d-9c9f8176f949\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"84de4e67-ced0-454d-b055-7c82f9d25dc0\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceEndpoints\": [\r\n \ \ {\r\n \"provisioningState\": \"Updating\",\r\n \"service\"\ : \"Microsoft.Storage\",\r\n \"locations\": [\r\n \"westus\"\ ,\r\n \"eastus\"\r\n ]\r\n }\r\n ]\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5f42439d-cc62-4a42-9309-477d67c97ece?api-version=2018-02-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f9a82d55-a931-484b-ac06-f4253fc9853f?api-version=2018-02-01'] cache-control: [no-cache] content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:07 GMT'] + date: ['Mon, 14 May 2018 23:40:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -544,7 +542,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -553,18 +551,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet update] Connection: [keep-alive] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/5f42439d-cc62-4a42-9309-477d67c97ece?api-version=2018-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operations/f9a82d55-a931-484b-ac06-f4253fc9853f?api-version=2018-02-01 response: body: {string: "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:10 GMT'] + date: ['Mon, 14 May 2018 23:40:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -580,14 +578,14 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet update] Connection: [keep-alive] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 networkmanagementclient/2.0.0rc2 Azure-SDK-For-Python + AZURECLI/2.0.33] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1?api-version=2018-02-01 response: body: {string: "{\r\n \"name\": \"subnet1\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1\"\ - ,\r\n \"etag\": \"W/\\\"4d7eebd5-7a63-4525-a927-a1b25fb98a40\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"e655fafc-6b32-44d8-a6bd-7316dd3f04ac\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"serviceEndpoints\": [\r\n \ \ {\r\n \"provisioningState\": \"Succeeded\",\r\n \"service\"\ @@ -597,8 +595,8 @@ interactions: cache-control: [no-cache] content-length: ['616'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:11 GMT'] - etag: [W/"4d7eebd5-7a63-4525-a927-a1b25fb98a40"] + date: ['Mon, 14 May 2018 23:40:44 GMT'] + etag: [W/"e655fafc-6b32-44d8-a6bd-7316dd3f04ac"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -615,18 +613,18 @@ interactions: CommandName: [storage account network-rule add] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1478'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:11 GMT'] + date: ['Mon, 14 May 2018 23:40:46 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -647,18 +645,18 @@ interactions: Connection: [keep-alive] Content-Length: ['196'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1515'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:12 GMT'] + date: ['Mon, 14 May 2018 23:40:47 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -667,7 +665,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -677,18 +675,18 @@ interactions: CommandName: [storage account network-rule add] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1515'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:12 GMT'] + date: ['Mon, 14 May 2018 23:40:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -709,18 +707,18 @@ interactions: Connection: [keep-alive] Content-Length: ['241'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1556'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:12 GMT'] + date: ['Mon, 14 May 2018 23:40:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -729,7 +727,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -739,18 +737,18 @@ interactions: CommandName: [storage account network-rule add] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1556'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:13 GMT'] + date: ['Mon, 14 May 2018 23:40:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -772,18 +770,18 @@ interactions: Connection: [keep-alive] Content-Length: ['478'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1810'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:15 GMT'] + date: ['Mon, 14 May 2018 23:40:52 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -792,7 +790,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1192'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -802,18 +800,18 @@ interactions: CommandName: [storage account network-rule list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1810'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:16 GMT'] + date: ['Mon, 14 May 2018 23:40:53 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -831,18 +829,18 @@ interactions: CommandName: [storage account network-rule remove] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.1.2.3","action":"Allow"},{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1810'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:16 GMT'] + date: ['Mon, 14 May 2018 23:40:53 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -864,18 +862,18 @@ interactions: Connection: [keep-alive] Content-Length: ['458'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1772'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:18 GMT'] + date: ['Mon, 14 May 2018 23:40:54 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -884,7 +882,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 200, message: OK} - request: body: null @@ -894,18 +892,18 @@ interactions: CommandName: [storage account network-rule remove] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1","action":"Allow","state":"Succeeded"}],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1772'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:19 GMT'] + date: ['Mon, 14 May 2018 23:40:54 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -926,18 +924,18 @@ interactions: Connection: [keep-alive] Content-Length: ['199'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1518'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:21 GMT'] + date: ['Mon, 14 May 2018 23:40:55 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -946,7 +944,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -956,18 +954,18 @@ interactions: CommandName: [storage account network-rule list] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:25.3720587Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:24.9657749Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_test_storage_service_endpoints000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"Logging","virtualNetworkRules":[],"ipRules":[{"value":"25.2.0.0/24","action":"Allow"}],"defaultAction":"Deny"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:31.4730720Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:31.4105491Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1518'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:20 GMT'] + date: ['Mon, 14 May 2018 23:40:56 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -986,9 +984,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_test_storage_service_endpoints000001?api-version=2017-05-10 @@ -997,12 +995,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:51:21 GMT'] + date: ['Mon, 14 May 2018 23:40:57 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGU1RPUkFHRTo1RlNFUlZJQ0U6NUZFTkRQT0lOVFM1NlQ1Rnw5RkIwNUI4RDM3Q0JGQzA0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUOjVGU1RPUkFHRTo1RlNFUlZJQ0U6NUZFTkRQT0lOVFNERVBWWXxCQUU1NzFENkM2MTkzQ0E2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_append.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_append.yaml index cafd625adc2..183eaf20f40 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_append.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_append.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:25Z"}}' + "date": "2018-05-14T23:35:02Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:25Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:02Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:27 GMT'] + date: ['Mon, 14 May 2018 23:35:05 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:27 GMT'] + date: ['Mon, 14 May 2018 23:35:06 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1d74ead7-75d6-478d-bad1-b1e1b3b27c02?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b1feda41-0e11-4742-af78-6abb4395c736?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/1d74ead7-75d6-478d-bad1-b1e1b3b27c02?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b1feda41-0e11-4742-af78-6abb4395c736?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:28.2151132Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:28.2151132Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:28.1369842Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:06.5414563Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:06.5414563Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:06.4940448Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:45 GMT'] + date: ['Mon, 14 May 2018 23:35:23 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"OR+prta1aaKGZRHhg8YyrdKAgKgs2Nph57dO78Qs1lMWof4bnJoyXh6m6NN4D3Z93t8NlJjM7HM5wnU/woxOJA==","permissions":"FULL"},{"keyName":"key2","value":"wCuvmxZmKrxy4BAXAsvmP20XSN9gzJbQ+Apju3acibG8qHH05iSYKBdWgsuujA3A89huL5evdQ9NaPh+0icDgg==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"ZCIZHnW0bfe6qPpGiWx+onsrnvC5jmAjbsOL39Jy35bZjlrksX0iZoJ041aYgVZzha8VsUrAQ2Ih7iDaXttYSw==","permissions":"FULL"},{"keyName":"key2","value":"V553VsCZ9upImmC8SyxXyPFYcZgArCgEJ9s/BORP1780NSyTlt1g/fn2LECdfgD8R2PA1kmWals3iTONpsW5yA==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:46 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"OR+prta1aaKGZRHhg8YyrdKAgKgs2Nph57dO78Qs1lMWof4bnJoyXh6m6NN4D3Z93t8NlJjM7HM5wnU/woxOJA==","permissions":"FULL"},{"keyName":"key2","value":"wCuvmxZmKrxy4BAXAsvmP20XSN9gzJbQ+Apju3acibG8qHH05iSYKBdWgsuujA3A89huL5evdQ9NaPh+0icDgg==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"ZCIZHnW0bfe6qPpGiWx+onsrnvC5jmAjbsOL39Jy35bZjlrksX0iZoJ041aYgVZzha8VsUrAQ2Ih7iDaXttYSw==","permissions":"FULL"},{"keyName":"key2","value":"V553VsCZ9upImmC8SyxXyPFYcZgArCgEJ9s/BORP1780NSyTlt1g/fn2LECdfgD8R2PA1kmWals3iTONpsW5yA==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:47 GMT'] - etag: ['"0x8D5AFACE694E4D5"'] - last-modified: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] + etag: ['"0x8D5B9F35EDD282F"'] + last-modified: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -176,15 +174,15 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:48 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [BlobNotFound] @@ -197,18 +195,18 @@ interactions: Content-Length: ['0'] If-None-Match: ['*'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [AppendBlob] - x-ms-date: ['Tue, 01 May 2018 21:45:48 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE6F34F3E"'] - last-modified: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] + etag: ['"0x8D5B9F35F32BB53"'] + last-modified: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -246,8 +244,8 @@ interactions: Connection: [keep-alive] Content-Length: ['1024'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:48 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?comp=appendblock @@ -255,9 +253,9 @@ interactions: body: {string: ''} headers: content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE70BE4D6"'] - last-modified: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] + etag: ['"0x8D5B9F35F402C1B"'] + last-modified: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-blob-append-offset: ['0'] @@ -270,23 +268,23 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=list response: body: {string: "\uFEFFblob000004Tue,\ - \ 01 May 2018 21:45:48 GMTTue, 01 May 2018\ - \ 21:45:48 GMT0x8D5AFACE70BE4D61024application/octet-streamblob000004Mon,\ + \ 14 May 2018 23:35:26 GMTMon, 14 May 2018\ + \ 23:35:26 GMT0x8D5B9F35F402C1B1024application/octet-streamAppendBlobunlockedavailabletrue"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -296,8 +294,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -307,13 +305,13 @@ interactions: accept-ranges: [bytes] content-length: ['1024'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE70BE4D6"'] - last-modified: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] + etag: ['"0x8D5B9F35F402C1B"'] + last-modified: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-committed-block-count: ['1'] x-ms-blob-type: [AppendBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:45:48 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -325,15 +323,15 @@ interactions: Connection: [keep-alive] If-None-Match: ['*'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [UnsatisfiableCondition] @@ -349,9 +347,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -360,12 +358,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHNElBRE5USEpZS1BYUkdVRDVHWEpVNVJGUVpUSEI2VVZRRnxCREYyNzBFMURBMTdCQzU1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHRVFZM1lQWEhOS1dWUk1FR1JCU0NIVVJNRU40WEczM0dHT3w1NEIzNUFCRDkxMkM0RDkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_container_operations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_container_operations.yaml index 91d3a2cc339..da996606b53 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_container_operations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_container_operations.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:50Z"}}' + "date": "2018-05-14T23:35:28Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:50Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:28Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:51 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:51 GMT'] + date: ['Mon, 14 May 2018 23:35:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/f01be2eb-5354-4e4e-bd41-56dbac4522b9?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8a406608-baa2-43db-8c9c-a734a7bdf905?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/f01be2eb-5354-4e4e-bd41-56dbac4522b9?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8a406608-baa2-43db-8c9c-a734a7bdf905?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:52.3404756Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:52.3404756Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:52.2623291Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:30.6567490Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:30.6567490Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:30.5899128Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:09 GMT'] + date: ['Mon, 14 May 2018 23:35:47 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"tNwbYiizG3C+s/lu9T78/0AhW8nLLgRJG9m1Ap2TnU8J3JOvX41/i2onux/JvyydlmGocEzRz2/qZRrC1Qv+dA==","permissions":"FULL"},{"keyName":"key2","value":"+KZpz6le/ThUHtweZGUzIqkMrZ4uDjXi4lhL96dGjj2KSN5dJ9S29HGjxBLV3NvvdWVs9K2+zSzwoTZhV5seEQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"wUUIDvS7pACL+nZ6+8loo1CJyU0h8tLHAu7RhBTh+qRykRB6w4ikR76NtdMEK4VQSAuXNr73DCT7gc50jNZZpw==","permissions":"FULL"},{"keyName":"key2","value":"XSX9KkUj1YkDbcfKZKjvscPsLJN5bFojMQDF51hNEcZAefgSNomasRJkvhw37fWAUQhVn2zj7pXOVtVR6r5A8A==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:10 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"tNwbYiizG3C+s/lu9T78/0AhW8nLLgRJG9m1Ap2TnU8J3JOvX41/i2onux/JvyydlmGocEzRz2/qZRrC1Qv+dA==","permissions":"FULL"},{"keyName":"key2","value":"+KZpz6le/ThUHtweZGUzIqkMrZ4uDjXi4lhL96dGjj2KSN5dJ9S29HGjxBLV3NvvdWVs9K2+zSzwoTZhV5seEQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"wUUIDvS7pACL+nZ6+8loo1CJyU0h8tLHAu7RhBTh+qRykRB6w4ikR76NtdMEK4VQSAuXNr73DCT7gc50jNZZpw==","permissions":"FULL"},{"keyName":"key2","value":"XSX9KkUj1YkDbcfKZKjvscPsLJN5bFojMQDF51hNEcZAefgSNomasRJkvhw37fWAUQhVn2zj7pXOVtVR6r5A8A==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:10 GMT'] + date: ['Mon, 14 May 2018 23:35:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:11 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:50 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:11 GMT'] - etag: ['"0x8D5AFACF4C9254E"'] - last-modified: ['Tue, 01 May 2018 21:46:11 GMT'] + date: ['Mon, 14 May 2018 23:35:49 GMT'] + etag: ['"0x8D5B9F36D25DC01"'] + last-modified: ['Mon, 14 May 2018 23:35:50 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -176,17 +174,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:12 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:50 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:11 GMT'] - etag: ['"0x8D5AFACF4C9254E"'] - last-modified: ['Tue, 01 May 2018 21:46:11 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] + etag: ['"0x8D5B9F36D25DC01"'] + last-modified: ['Mon, 14 May 2018 23:35:50 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-has-immutability-policy: ['false'] @@ -200,8 +198,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:12 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:50 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -210,9 +208,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:12 GMT'] - etag: ['"0x8D5AFACF4C9254E"'] - last-modified: ['Tue, 01 May 2018 21:46:11 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] + etag: ['"0x8D5B9F36D25DC01"'] + last-modified: ['Mon, 14 May 2018 23:35:50 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -225,18 +223,18 @@ interactions: Connection: [keep-alive] Content-Length: ['60'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-public-access: [blob] - x-ms-date: ['Tue, 01 May 2018 21:46:12 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:35:50 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:12 GMT'] - etag: ['"0x8D5AFACF54CCAB9"'] - last-modified: ['Tue, 01 May 2018 21:46:12 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] + etag: ['"0x8D5B9F36DAE1F9D"'] + last-modified: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -246,8 +244,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:12 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -256,9 +254,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:12 GMT'] - etag: ['"0x8D5AFACF54CCAB9"'] - last-modified: ['Tue, 01 May 2018 21:46:12 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] + etag: ['"0x8D5B9F36DAE1F9D"'] + last-modified: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-blob-public-access: [blob] @@ -269,8 +267,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:13 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -279,9 +277,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:13 GMT'] - etag: ['"0x8D5AFACF54CCAB9"'] - last-modified: ['Tue, 01 May 2018 21:46:12 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] + etag: ['"0x8D5B9F36DAE1F9D"'] + last-modified: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-blob-public-access: [blob] @@ -295,17 +293,17 @@ interactions: Connection: [keep-alive] Content-Length: ['60'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:13 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:13 GMT'] - etag: ['"0x8D5AFACF5CFD675"'] - last-modified: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] + etag: ['"0x8D5B9F36E3B3FC4"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -315,8 +313,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:13 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -325,9 +323,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:13 GMT'] - etag: ['"0x8D5AFACF5CFD675"'] - last-modified: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] + etag: ['"0x8D5B9F36E3B3FC4"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -337,17 +335,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF5CFD675"'] - last-modified: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] + etag: ['"0x8D5B9F36E3B3FC4"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-has-immutability-policy: ['false'] @@ -361,19 +359,19 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?comp=list response: body: {string: "\uFEFFcont000003Tue,\ - \ 01 May 2018 21:46:13 GMT\"0x8D5AFACF5CFD675\"unlockedavailablefalsefalsecont000003Mon,\ + \ 14 May 2018 23:35:52 GMT\"0x8D5B9F36E3B3FC4\"unlockedavailablefalsefalse"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -384,8 +382,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-meta-foo: [bar] x-ms-meta-moo: [bak] x-ms-version: ['2017-11-09'] @@ -394,9 +392,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF699E775"'] - last-modified: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] + etag: ['"0x8D5B9F36F0CCC9F"'] + last-modified: ['Mon, 14 May 2018 23:35:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -406,17 +404,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF699E775"'] - last-modified: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] + etag: ['"0x8D5B9F36F0CCC9F"'] + last-modified: ['Mon, 14 May 2018 23:35:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-foo: [bar] @@ -429,17 +427,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -449,17 +447,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:15 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -471,8 +469,8 @@ interactions: Content-Length: ['0'] If-Modified-Since: ['Fri, 01 Apr 2016 12:00:00 GMT'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-lease-action: [acquire] x-ms-lease-duration: ['60'] x-ms-proposed-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] @@ -482,9 +480,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] @@ -495,17 +493,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-has-immutability-policy: ['false'] @@ -521,8 +519,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-lease-action: [change] x-ms-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] x-ms-proposed-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] @@ -532,9 +530,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:55 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] @@ -546,8 +544,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-lease-action: [renew] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2017-11-09'] @@ -556,9 +554,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:55 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] @@ -569,17 +567,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:55 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-has-immutability-policy: ['false'] @@ -595,8 +593,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:56 GMT'] x-ms-lease-action: [break] x-ms-lease-break-period: ['30'] x-ms-version: ['2017-11-09'] @@ -605,9 +603,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-time: ['30'] @@ -618,17 +616,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:56 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-has-immutability-policy: ['false'] @@ -643,8 +641,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-lease-action: [release] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2017-11-09'] @@ -653,9 +651,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -665,17 +663,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF7003C44"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F36F759311"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-has-immutability-policy: ['false'] @@ -690,15 +688,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:19 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-11-09'] method: DELETE uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -708,19 +706,19 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:19 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: "\uFEFFContainerNotFoundThe\ - \ specified container does not exist.\nRequestId:5c2b7908-701e-00c3-3695-e16d4b000000\n\ - Time:2018-05-01T21:46:19.8336002Z"} + \ specified container does not exist.\nRequestId:a0b4d707-701e-002a-6fdc-ebba6e000000\n\ + Time:2018-05-14T23:35:58.5726387Z"} headers: content-length: ['225'] content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:19 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-error-code: [ContainerNotFound] x-ms-version: ['2017-11-09'] @@ -734,9 +732,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -745,12 +743,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:19 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdDT0JHNDZEQ1lUQUNPN0xIUjVNU05INUJZVDVIVVo0TVlFTXw3RjQwRkM0MjMzMkFEMTZFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaNVVISUozR0FYWEtHV0FJVFlBUFRRSDdDSDNZT0pEUktEMnxGQUUxOEU1MzI2MzkzNDI3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_incremental_copy.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_incremental_copy.yaml index 4b0663e1833..b4e7f513e24 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_incremental_copy.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_incremental_copy.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2018-05-02T19:43:58Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2018-05-15T17:27:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2018-05-02T19:43:58Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2018-05-15T17:27:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 02 May 2018 19:44:00 GMT'] + date: ['Tue, 15 May 2018 17:27:38 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Wed, 02 May 2018 19:44:02 GMT'] + date: ['Tue, 15 May 2018 17:27:41 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8c8b53d2-a910-435a-b60d-0b2544b5660a?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/7e125475-10ad-4f95-b16d-af257328f009?monitor=true&api-version=2018-02-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: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/8c8b53d2-a910-435a-b60d-0b2544b5660a?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/7e125475-10ad-4f95-b16d-af257328f009?monitor=true&api-version=2018-02-01 response: - body: {string: !!python/unicode '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-02T19:44:02.2748953Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-02T19:44:02.2748953Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-02T19:44:02.1967762Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: !!python/unicode '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T17:27:41.1039825Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T17:27:41.1039825Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T17:27:41.0258552Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Wed, 02 May 2018 19:44:19 GMT'] + date: ['Tue, 15 May 2018 17:27:58 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"iSfpGgcvmAbaFtFdDnqIH/nRi3FlqID5Wd8ax8tU6Gue8ABZR/XzDgshrU1tDIN1TyrFUCCojRtSqPeQ0ERRjA==","permissions":"FULL"},{"keyName":"key2","value":"cWZxyLZpSwQ4DZ3xiqmqiYz7a4IirTs2HPdD5o2pIcnUwehOxk216iFFsicoQxSkNwBEZE4J3ry11uy5ImTlZg==","permissions":"FULL"}]}'} + body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"0E6LybWPFwa8qUiBbuvvpRHSVrHlRCRNk8wOHJQv1lvJ20a2V8v1E3y4UeJFIBZVerVC+cIBR3JD/F5ZvX+q8Q==","permissions":"FULL"},{"keyName":"key2","value":"7f80IHM/xgmgHrTICJ0YjdkMEqCtS3Ufq8v3WFVmds+FlKNkfFc8T0n1Wq7DrUas4IYkEEGYJ8o3QJ5UgYf7ow==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 19:44:20 GMT'] + date: ['Tue, 15 May 2018 17:27:59 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1192'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: !!python/unicode '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": @@ -129,26 +127,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003?api-version=2018-02-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Wed, 02 May 2018 19:44:22 GMT'] + date: ['Tue, 15 May 2018 17:28:00 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/435892af-a98b-4a72-8888-0a351e667294?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9f01176c-ec20-405c-912d-1ff49d98d0b5?monitor=true&api-version=2018-02-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: ['1192'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -157,19 +155,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/435892af-a98b-4a72-8888-0a351e667294?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/9f01176c-ec20-405c-912d-1ff49d98d0b5?monitor=true&api-version=2018-02-01 response: - body: {string: !!python/unicode '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003","name":"clitest000003","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-02T19:44:22.3795443Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-02T19:44:22.3795443Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-02T19:44:22.1919822Z","primaryEndpoints":{"blob":"https://clitest000003.blob.core.windows.net/","queue":"https://clitest000003.queue.core.windows.net/","table":"https://clitest000003.table.core.windows.net/","file":"https://clitest000003.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: !!python/unicode '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003","name":"clitest000003","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T17:28:01.0984259Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T17:28:01.0984259Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T17:28:01.0358692Z","primaryEndpoints":{"blob":"https://clitest000003.blob.core.windows.net/","queue":"https://clitest000003.queue.core.windows.net/","table":"https://clitest000003.table.core.windows.net/","file":"https://clitest000003.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Wed, 02 May 2018 19:44:39 GMT'] + date: ['Tue, 15 May 2018 17:28:18 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -188,18 +184,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003/listKeys?api-version=2018-02-01 response: - body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"BbTbkKSkBtL4LovzPMZd4F7X9iwXL4+WAColh/j94Bf1IWXAPmgbvmATih3hqhkAy7sEb/Oq3xvJMNNp95SCnA==","permissions":"FULL"},{"keyName":"key2","value":"R/miHYtsnRkKsoE34tblzJ+OCPb6YKB/EaJk+f4nKwe1PLTceyKx0WBC8onWzTEbKG9cKOQP8zvxIu3z1YJmzQ==","permissions":"FULL"}]}'} + body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"EFwhIWpKdixVaLecAgAw/suozm4akGw6kqM0BlSsYYHqdtoPG8Hd9l+nDdgEW64TGAyAECxOJf9cnwcoyHyHlQ==","permissions":"FULL"},{"keyName":"key2","value":"EKh3y2YE9z6lBKyt/6AkQsxGykGPKlpjSNsQ4SrJ3IrfeUrkPjxL0+V8TwJJYGJ1H4w9b4TTLh5BBsLoP3MNpg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 19:44:40 GMT'] + date: ['Tue, 15 May 2018 17:28:18 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -208,7 +204,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -219,18 +215,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"iSfpGgcvmAbaFtFdDnqIH/nRi3FlqID5Wd8ax8tU6Gue8ABZR/XzDgshrU1tDIN1TyrFUCCojRtSqPeQ0ERRjA==","permissions":"FULL"},{"keyName":"key2","value":"cWZxyLZpSwQ4DZ3xiqmqiYz7a4IirTs2HPdD5o2pIcnUwehOxk216iFFsicoQxSkNwBEZE4J3ry11uy5ImTlZg==","permissions":"FULL"}]}'} + body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"0E6LybWPFwa8qUiBbuvvpRHSVrHlRCRNk8wOHJQv1lvJ20a2V8v1E3y4UeJFIBZVerVC+cIBR3JD/F5ZvX+q8Q==","permissions":"FULL"},{"keyName":"key2","value":"7f80IHM/xgmgHrTICJ0YjdkMEqCtS3Ufq8v3WFVmds+FlKNkfFc8T0n1Wq7DrUas4IYkEEGYJ8o3QJ5UgYf7ow==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 19:44:41 GMT'] + date: ['Tue, 15 May 2018 17:28:19 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -239,7 +235,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -247,17 +243,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 2.7.13; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 19:44:42 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Tue, 15 May 2018 17:28:20 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004?restype=container response: body: {string: !!python/unicode ''} headers: - date: ['Wed, 02 May 2018 19:44:41 GMT'] - etag: ['"0x8D5B06526655E80"'] - last-modified: ['Wed, 02 May 2018 19:44:42 GMT'] + date: ['Tue, 15 May 2018 17:28:20 GMT'] + etag: ['"0x8D5BA89412628E0"'] + last-modified: ['Tue, 15 May 2018 17:28:20 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -268,19 +264,19 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 2.7.13; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-content-length: ['16384'] x-ms-blob-type: [PageBlob] - x-ms-date: ['Wed, 02 May 2018 19:44:42 GMT'] + x-ms-date: ['Tue, 15 May 2018 17:28:21 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/src response: body: {string: !!python/unicode ''} headers: - date: ['Wed, 02 May 2018 19:44:42 GMT'] - etag: ['"0x8D5B06526AC4FA7"'] - last-modified: ['Wed, 02 May 2018 19:44:42 GMT'] + date: ['Tue, 15 May 2018 17:28:20 GMT'] + etag: ['"0x8D5BA89418929E9"'] + last-modified: ['Tue, 15 May 2018 17:28:21 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -723,8 +719,8 @@ interactions: Connection: [keep-alive] Content-Length: ['16384'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 2.7.13; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 19:44:43 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Tue, 15 May 2018 17:28:21 GMT'] x-ms-page-write: [update] x-ms-range: [bytes=0-16383] x-ms-version: ['2017-11-09'] @@ -734,9 +730,9 @@ interactions: body: {string: !!python/unicode ''} headers: content-md5: [zjOP5omXeKrPwoQU8tlJiw==] - date: ['Wed, 02 May 2018 19:44:42 GMT'] - etag: ['"0x8D5B06526BC7F53"'] - last-modified: ['Wed, 02 May 2018 19:44:43 GMT'] + date: ['Tue, 15 May 2018 17:28:20 GMT'] + etag: ['"0x8D5BA89419F4E2F"'] + last-modified: ['Tue, 15 May 2018 17:28:21 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-blob-sequence-number: ['0'] @@ -749,20 +745,20 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 2.7.13; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 19:44:43 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Tue, 15 May 2018 17:28:21 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/src?comp=snapshot response: body: {string: !!python/unicode ''} headers: - date: ['Wed, 02 May 2018 19:44:42 GMT'] - etag: ['"0x8D5B06526BC7F53"'] - last-modified: ['Wed, 02 May 2018 19:44:43 GMT'] + date: ['Tue, 15 May 2018 17:28:21 GMT'] + etag: ['"0x8D5BA89419F4E2F"'] + last-modified: ['Tue, 15 May 2018 17:28:21 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-snapshot: ['2018-05-02T19:44:43.5039308Z'] + x-ms-snapshot: ['2018-05-15T17:28:22.0340842Z'] x-ms-version: ['2017-11-09'] status: {code: 201, message: Created} - request: @@ -774,18 +770,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000003/listKeys?api-version=2018-02-01 response: - body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"BbTbkKSkBtL4LovzPMZd4F7X9iwXL4+WAColh/j94Bf1IWXAPmgbvmATih3hqhkAy7sEb/Oq3xvJMNNp95SCnA==","permissions":"FULL"},{"keyName":"key2","value":"R/miHYtsnRkKsoE34tblzJ+OCPb6YKB/EaJk+f4nKwe1PLTceyKx0WBC8onWzTEbKG9cKOQP8zvxIu3z1YJmzQ==","permissions":"FULL"}]}'} + body: {string: !!python/unicode '{"keys":[{"keyName":"key1","value":"EFwhIWpKdixVaLecAgAw/suozm4akGw6kqM0BlSsYYHqdtoPG8Hd9l+nDdgEW64TGAyAECxOJf9cnwcoyHyHlQ==","permissions":"FULL"},{"keyName":"key2","value":"EKh3y2YE9z6lBKyt/6AkQsxGykGPKlpjSNsQ4SrJ3IrfeUrkPjxL0+V8TwJJYGJ1H4w9b4TTLh5BBsLoP3MNpg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Wed, 02 May 2018 19:44:43 GMT'] + date: ['Tue, 15 May 2018 17:28:22 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -794,7 +790,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -802,17 +798,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 2.7.13; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Wed, 02 May 2018 19:44:44 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Tue, 15 May 2018 17:28:22 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000003.blob.core.windows.net/cont000005?restype=container response: body: {string: !!python/unicode ''} headers: - date: ['Wed, 02 May 2018 19:44:43 GMT'] - etag: ['"0x8D5B0652781BC35"'] - last-modified: ['Wed, 02 May 2018 19:44:44 GMT'] + date: ['Tue, 15 May 2018 17:28:22 GMT'] + etag: ['"0x8D5BA894278E904"'] + last-modified: ['Tue, 15 May 2018 17:28:23 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -823,21 +819,21 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 2.7.13; Windows - 10) AZURECLI/2.0.32] - x-ms-copy-source: ['https://clitestcnlkcrkpqx7wradry.blob.core.windows.net/cont4dqskpfdpndkgy5iw6fd/src?sr=b&spr=https&sp=r&sv=2017-11-09&sig=5mmvYLaxdFL5z12ATWgHzBlFlJnC9Qpqa/lMUPb%2B4NI%3D&se=2018-05-03T19%3A44%3A44Z&snapshot=2018-05-02T19:44:43.5039308Z'] - x-ms-date: ['Wed, 02 May 2018 19:44:44 GMT'] + 10) AZURECLI/2.0.33] + x-ms-copy-source: ['https://clitestcaqjf5wdcluxkinn7.blob.core.windows.net/cont5lbqdgjutut7yhz3oeh5/src?sr=b&spr=https&sp=r&sv=2017-11-09&sig=U1Y9e0czd5uKCIu53EMqSFbgKZ0IMNI3F2UFbsmoMro%3D&se=2018-05-16T17%3A28%3A23Z&snapshot=2018-05-15T17:28:22.0340842Z'] + x-ms-date: ['Tue, 15 May 2018 17:28:23 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000003.blob.core.windows.net/cont000005/backup?comp=incrementalcopy response: body: {string: !!python/unicode ''} headers: - date: ['Wed, 02 May 2018 19:44:44 GMT'] - etag: ['"0x8D5B06527BA7155"'] - last-modified: ['Wed, 02 May 2018 19:44:44 GMT'] + date: ['Tue, 15 May 2018 17:28:23 GMT'] + etag: ['"0x8D5BA8942E8AB27"'] + last-modified: ['Tue, 15 May 2018 17:28:23 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-copy-id: [0193b26a-a085-4797-95bf-f03b9605f8c7] + x-ms-copy-id: [0e6c5f3e-e4b1-4196-add5-3fa040a1766b] x-ms-copy-status: [pending] x-ms-version: ['2017-11-09'] status: {code: 202, message: Accepted} @@ -850,9 +846,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/2.7.13 (Windows-10-10.0.16299) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -861,12 +857,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 02 May 2018 19:44:45 GMT'] + date: ['Tue, 15 May 2018 17:28:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdCUFJMSkU3VEVLUjZZTFZYQ0w0S05QNEQ0NlFHWlE1NUpIQnwyQURDQjYwM0MxMUM4REU2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdTS0pSMk1GWlpRTUZUSk5RS0dXNFI1UkJKNlhaV09FUFo1M3wxQUJGOTZGQURBNUFBNzQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_lease_operations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_lease_operations.yaml index d0626fb797c..b181c7517e7 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_lease_operations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_lease_operations.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:47:04Z"}}' + "date": "2018-05-14T23:36:45Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:47:04Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:36:45Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:04 GMT'] + date: ['Mon, 14 May 2018 23:36:45 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:06 GMT'] + date: ['Mon, 14 May 2018 23:36:46 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cbfde942-a7fb-421f-983d-6a16db124841?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/fe3bdfcf-26bd-4f87-baa7-6a51fb7e41c9?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/cbfde942-a7fb-421f-983d-6a16db124841?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/fe3bdfcf-26bd-4f87-baa7-6a51fb7e41c9?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:06.3725603Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:06.3725603Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:06.2788294Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.2536948Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:36:47.2536948Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:36:47.1912061Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:23 GMT'] + date: ['Mon, 14 May 2018 23:37:04 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"a2oR83Z/uzGUCw1MP02lNmSbg9cX8GsgbMxkK3wZhuOrAeAQ8x/tgv7OBBV0Q0OrN5pOH45NG9MWk80NWijE0Q==","permissions":"FULL"},{"keyName":"key2","value":"cuZ45EUzKnpz59rlFdZD8hnSNfWwGASMcR+O8wdCSz/PHQPUXaMQIQ22jN6v/9CJuJRuVwgaaB/urSq9V8LMNw==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"dAkj9xVxUZotoX+nme9Lz4DF6Pi/+FBrj4fT3FPmbFfkJJTYibkNoVEOY+duGJ+Je1c5MOooes2Y+OZXUZD0Ow==","permissions":"FULL"},{"keyName":"key2","value":"dGY9vHt93wdmd6KZp57r37kPEJDQdoh3Q03JEF1P9ljvll3/xoYT+fQSmAqgLaJziuPeolx0wj/A1jzgjDaLRg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:24 GMT'] + date: ['Mon, 14 May 2018 23:37:04 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"a2oR83Z/uzGUCw1MP02lNmSbg9cX8GsgbMxkK3wZhuOrAeAQ8x/tgv7OBBV0Q0OrN5pOH45NG9MWk80NWijE0Q==","permissions":"FULL"},{"keyName":"key2","value":"cuZ45EUzKnpz59rlFdZD8hnSNfWwGASMcR+O8wdCSz/PHQPUXaMQIQ22jN6v/9CJuJRuVwgaaB/urSq9V8LMNw==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"dAkj9xVxUZotoX+nme9Lz4DF6Pi/+FBrj4fT3FPmbFfkJJTYibkNoVEOY+duGJ+Je1c5MOooes2Y+OZXUZD0Ow==","permissions":"FULL"},{"keyName":"key2","value":"dGY9vHt93wdmd6KZp57r37kPEJDQdoh3Q03JEF1P9ljvll3/xoYT+fQSmAqgLaJziuPeolx0wj/A1jzgjDaLRg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:24 GMT'] + date: ['Mon, 14 May 2018 23:37:05 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:26 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:06 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:26 GMT'] - etag: ['"0x8D5AFAD2133C5EB"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:06 GMT'] + etag: ['"0x8D5B9F39AE204ED"'] + last-modified: ['Mon, 14 May 2018 23:37:06 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -3626,9 +3624,9 @@ interactions: Connection: [keep-alive] Content-Length: ['131072'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:47:26 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:37:07 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -3636,9 +3634,9 @@ interactions: body: {string: ''} headers: content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] - date: ['Tue, 01 May 2018 21:47:26 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:06 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -3651,8 +3649,8 @@ interactions: Content-Length: ['0'] If-Modified-Since: ['Fri, 01 Apr 2016 12:00:00 GMT'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:27 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:07 GMT'] x-ms-lease-action: [acquire] x-ms-lease-duration: ['60'] x-ms-proposed-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] @@ -3662,9 +3660,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:26 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:07 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] @@ -3675,8 +3673,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:27 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:08 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -3687,12 +3685,12 @@ interactions: content-length: ['131072'] content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:47:27 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:07 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:47:26 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:37:07 GMT'] x-ms-lease-duration: [fixed] x-ms-lease-state: [leased] x-ms-lease-status: [locked] @@ -3705,8 +3703,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:27 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:08 GMT'] x-ms-lease-action: [change] x-ms-lease-id: [abcdabcd-abcd-abcd-abcd-abcdabcdabcd] x-ms-proposed-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] @@ -3716,9 +3714,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:27 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:07 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] @@ -3730,8 +3728,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:28 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:08 GMT'] x-ms-lease-action: [renew] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2017-11-09'] @@ -3740,9 +3738,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:28 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:08 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] @@ -3753,8 +3751,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:28 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:09 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -3765,12 +3763,12 @@ interactions: content-length: ['131072'] content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:47:28 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:09 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:47:26 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:37:07 GMT'] x-ms-lease-duration: [fixed] x-ms-lease-state: [leased] x-ms-lease-status: [locked] @@ -3783,8 +3781,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:29 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:09 GMT'] x-ms-lease-action: [break] x-ms-lease-break-period: ['30'] x-ms-version: ['2017-11-09'] @@ -3793,9 +3791,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:28 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:09 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-lease-time: ['30'] @@ -3806,8 +3804,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:29 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:09 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -3818,12 +3816,12 @@ interactions: content-length: ['131072'] content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:47:29 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:09 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:47:26 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:37:07 GMT'] x-ms-lease-state: [breaking] x-ms-lease-status: [locked] x-ms-server-encrypted: ['true'] @@ -3835,8 +3833,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:29 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:10 GMT'] x-ms-lease-action: [release] x-ms-lease-id: [dcbadcba-dcba-dcba-dcba-dcbadcbadcba] x-ms-version: ['2017-11-09'] @@ -3845,9 +3843,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:29 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:09 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -3857,8 +3855,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:30 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:10 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -3869,12 +3867,12 @@ interactions: content-length: ['131072'] content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:47:30 GMT'] - etag: ['"0x8D5AFAD217D442A"'] - last-modified: ['Tue, 01 May 2018 21:47:26 GMT'] + date: ['Mon, 14 May 2018 23:37:10 GMT'] + etag: ['"0x8D5B9F39B1E6DE2"'] + last-modified: ['Mon, 14 May 2018 23:37:07 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:47:26 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:37:07 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -3889,9 +3887,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -3900,12 +3898,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:47:30 GMT'] + date: ['Mon, 14 May 2018 23:37:12 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHNUhINUNaQ1RXVkpZSVJLN1FLS1BMRUpJQ1hGU0VTUlhDWXw3MDdCNzVBMTgzNkQ4OTMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaVkZTRjVBNFVTVDdEU001WkQ2Mko0VjZBVk1TQ0pRM0pQVXwxQTNFOEE0NzdBNjY0Q0RGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_metadata_operations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_metadata_operations.yaml index b4946d282be..623fac1c53d 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_metadata_operations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_metadata_operations.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:47:31Z"}}' + "date": "2018-05-14T23:37:13Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:47:31Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:37:13Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:31 GMT'] + date: ['Mon, 14 May 2018 23:37:13 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:32 GMT'] + date: ['Mon, 14 May 2018 23:37:14 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/64395363-7da9-4c6c-bff7-ea6fe1e42ee2?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/dedb082f-8add-4b19-9fb5-37eae21ca133?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/64395363-7da9-4c6c-bff7-ea6fe1e42ee2?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/dedb082f-8add-4b19-9fb5-37eae21ca133?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:33.1932492Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:33.1932492Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:33.1307619Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:15.0292662Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:15.0292662Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:14.9668157Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:50 GMT'] + date: ['Mon, 14 May 2018 23:37:32 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"WPdT48donsWUf4jsRPxmfhBfRjJy+j+RiW6LdYy4XoaFZ6OIV+aMY3jgtZuQ6YZmaI0ZOI8X0KnrGH7CU/JE5A==","permissions":"FULL"},{"keyName":"key2","value":"Rh/W4ble3jsp5UvOUD/d5m39F98+0JQNaopSferYCwfD2Yz66+RYncStEKYVGSg3ri96z/vCgY9xCfV3idefdA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"s0QelywWuhzl066hH5/J8RelZQqH1/MoULaZc2CAhrdz1wWzRj0MMtVOdjT7u1oEm0MhHUH2PB6dPUQR4Lnwhw==","permissions":"FULL"},{"keyName":"key2","value":"+2E9KaJ+Y/bOX3EQ8MwHccKRy0fl3y+jt5Cn91ONn1KbbOfxrQs0+EE/QGGv8FQ8Qq3Ql9I6D+CAaVYl7LLDNw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:51 GMT'] + date: ['Mon, 14 May 2018 23:37:33 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"WPdT48donsWUf4jsRPxmfhBfRjJy+j+RiW6LdYy4XoaFZ6OIV+aMY3jgtZuQ6YZmaI0ZOI8X0KnrGH7CU/JE5A==","permissions":"FULL"},{"keyName":"key2","value":"Rh/W4ble3jsp5UvOUD/d5m39F98+0JQNaopSferYCwfD2Yz66+RYncStEKYVGSg3ri96z/vCgY9xCfV3idefdA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"s0QelywWuhzl066hH5/J8RelZQqH1/MoULaZc2CAhrdz1wWzRj0MMtVOdjT7u1oEm0MhHUH2PB6dPUQR4Lnwhw==","permissions":"FULL"},{"keyName":"key2","value":"+2E9KaJ+Y/bOX3EQ8MwHccKRy0fl3y+jt5Cn91ONn1KbbOfxrQs0+EE/QGGv8FQ8Qq3Ql9I6D+CAaVYl7LLDNw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:47:51 GMT'] + date: ['Mon, 14 May 2018 23:37:33 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:52 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:34 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:52 GMT'] - etag: ['"0x8D5AFAD31035F92"'] - last-modified: ['Tue, 01 May 2018 21:47:52 GMT'] + date: ['Mon, 14 May 2018 23:37:33 GMT'] + etag: ['"0x8D5B9F3AB713E9A"'] + last-modified: ['Mon, 14 May 2018 23:37:34 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -180,16 +178,16 @@ interactions: \ timedelta\r\nfrom azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer,\ \ StorageAccountPreparer,\r\n JMESPathCheck, NoneCheck,\ \ api_version_constraint)\r\nfrom knack.util import CLIError\r\nfrom azure.cli.core.profiles\ - \ import ResourceType\r\n\r\nfrom azure.cli.command_modules.storage._client_factory\ - \ import NO_CREDENTIALS_ERROR_MESSAGE\r\nfrom .storage_test_util import StorageScenarioMixin\r\ - \n\r\n\r\n@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01')\r\ - \nclass StorageBlobUploadTests(StorageScenarioMixin, ScenarioTest):\r\n @ResourceGroupPreparer()\r\ - \n @StorageAccountPreparer(parameter_name='source_account')\r\n @StorageAccountPreparer(parameter_name='target_account')\r\ - \n def test_storage_blob_incremental_copy(self, resource_group, source_account,\ - \ target_account):\r\n source_file = self.create_temp_file(16)\r\n \ - \ source_account_info = self.get_account_info(resource_group, source_account)\r\ - \n source_container = self.create_container(source_account_info)\r\n\ - \ self.storage_cmd('storage blob upload -c {} -n src -f \"{}\" -t page',\ + \ import ResourceType\r\n\r\nfrom ..._client_factory import NO_CREDENTIALS_ERROR_MESSAGE\r\ + \nfrom .storage_test_util import StorageScenarioMixin\r\nfrom ...profiles import\ + \ CUSTOM_MGMT_STORAGE\r\n\r\n\r\n@api_version_constraint(CUSTOM_MGMT_STORAGE,\ + \ min_api='2016-12-01')\r\nclass StorageBlobUploadTests(StorageScenarioMixin,\ + \ ScenarioTest):\r\n @ResourceGroupPreparer()\r\n @StorageAccountPreparer(parameter_name='source_account')\r\ + \n @StorageAccountPreparer(parameter_name='target_account')\r\n def test_storage_blob_incremental_copy(self,\ + \ resource_group, source_account, target_account):\r\n source_file =\ + \ self.create_temp_file(16)\r\n source_account_info = self.get_account_info(resource_group,\ + \ source_account)\r\n source_container = self.create_container(source_account_info)\r\ + \n self.storage_cmd('storage blob upload -c {} -n src -f \"{}\" -t page',\ \ source_account_info,\r\n source_container, source_file)\r\ \n\r\n snapshot = self.storage_cmd('storage blob snapshot -c {} -n src',\ \ source_account_info,\r\n source_container).get_output_in_json()['snapshot']\r\ @@ -443,22 +441,22 @@ interactions: \n" headers: Connection: [keep-alive] - Content-Length: ['21487'] + Content-Length: ['21495'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-content-type: [text/plain] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:47:53 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:37:34 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 response: body: {string: ''} headers: - content-md5: [+WFZhdwHyV1SHyRq6onVEw==] - date: ['Tue, 01 May 2018 21:47:52 GMT'] - etag: ['"0x8D5AFAD313B7741"'] - last-modified: ['Tue, 01 May 2018 21:47:53 GMT'] + content-md5: [DmEC+37xioYUtTDIwpR8pQ==] + date: ['Mon, 14 May 2018 23:37:34 GMT'] + etag: ['"0x8D5B9F3ABB942C4"'] + last-modified: ['Mon, 14 May 2018 23:37:35 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -470,8 +468,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:53 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:35 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] x-ms-version: ['2017-11-09'] @@ -480,9 +478,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:53 GMT'] - etag: ['"0x8D5AFAD316D8CF1"'] - last-modified: ['Tue, 01 May 2018 21:47:53 GMT'] + date: ['Mon, 14 May 2018 23:37:35 GMT'] + etag: ['"0x8D5B9F3ABF0B08F"'] + last-modified: ['Mon, 14 May 2018 23:37:35 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -493,17 +491,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:53 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:35 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:53 GMT'] - etag: ['"0x8D5AFAD316D8CF1"'] - last-modified: ['Tue, 01 May 2018 21:47:53 GMT'] + date: ['Mon, 14 May 2018 23:37:35 GMT'] + etag: ['"0x8D5B9F3ABF0B08F"'] + last-modified: ['Mon, 14 May 2018 23:37:35 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-a: [b] @@ -516,17 +514,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:54 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:36 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:53 GMT'] - etag: ['"0x8D5AFAD31E93C43"'] - last-modified: ['Tue, 01 May 2018 21:47:54 GMT'] + date: ['Mon, 14 May 2018 23:37:35 GMT'] + etag: ['"0x8D5B9F3AC5AF78B"'] + last-modified: ['Mon, 14 May 2018 23:37:36 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -537,17 +535,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:47:54 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:36 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:47:54 GMT'] - etag: ['"0x8D5AFAD31E93C43"'] - last-modified: ['Tue, 01 May 2018 21:47:54 GMT'] + date: ['Mon, 14 May 2018 23:37:36 GMT'] + etag: ['"0x8D5B9F3AC5AF78B"'] + last-modified: ['Mon, 14 May 2018 23:37:36 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -561,9 +559,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -572,12 +570,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:47:55 GMT'] + date: ['Mon, 14 May 2018 23:37:37 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdDUk9TNTMzSEFOQ0xUS1pGTVlSQ0JFTkhIQjVRV1ZDNEMyT3wwQThBNzAyQ0U0NDI5MjdDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdEVkJDSFZBNEZCRTI1WVVIMzZCT1M0WEpJSUI3VlJRT1JDQ3xCMTRCQjIyNzM5RUY3RTdBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_snapshot_operations.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_snapshot_operations.yaml index 2c09694d194..1623b139aee 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_snapshot_operations.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_snapshot_operations.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:47:55Z"}}' + "date": "2018-05-14T23:37:38Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:47:55Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:37:38Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:55 GMT'] + date: ['Mon, 14 May 2018 23:37:37 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:47:56 GMT'] + date: ['Mon, 14 May 2018 23:37:39 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b798e646-f8cb-4417-a58e-b42fe7eba2e6?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/71b447f4-087d-4e6e-85fe-4ba7b1419ca1?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b798e646-f8cb-4417-a58e-b42fe7eba2e6?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/71b447f4-087d-4e6e-85fe-4ba7b1419ca1?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:57.5877755Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:47:57.5877755Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:47:57.5252776Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:40.1222754Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:37:40.1222754Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:37:40.0597537Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:14 GMT'] + date: ['Mon, 14 May 2018 23:37:56 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"mSQyYeFjSWcHh4OQ0cI+sM0ltIbw37uXGCXXseczOS1s6fnU78/mmq/MELZC/f/YIcITEXjXC/lnvCVu3H01QQ==","permissions":"FULL"},{"keyName":"key2","value":"oMyycaVQzQ9qbelMiFVT3v6nbIKeVoByVl4W0XnQd7vesMUvINKjuIuDm/nebGLsaBnXkpeahoCjXgznWDJKiw==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"ll5iLQFCSFrzOduEWASS4ETqNOJfb0SFFP620weR0gKuQEWCa+B/CMl2zAY/pRn5fJ51l68sBUwNV0nnwbl/FQ==","permissions":"FULL"},{"keyName":"key2","value":"HTfb8teyKnxJcV8rqpiB7Yj2y+jVqm3mcx0QjEFBGCPayoWSA0tP1s7Afa65USuJlu2+5fOmROCicnnpdf/6Cg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:16 GMT'] + date: ['Mon, 14 May 2018 23:37:58 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"mSQyYeFjSWcHh4OQ0cI+sM0ltIbw37uXGCXXseczOS1s6fnU78/mmq/MELZC/f/YIcITEXjXC/lnvCVu3H01QQ==","permissions":"FULL"},{"keyName":"key2","value":"oMyycaVQzQ9qbelMiFVT3v6nbIKeVoByVl4W0XnQd7vesMUvINKjuIuDm/nebGLsaBnXkpeahoCjXgznWDJKiw==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"ll5iLQFCSFrzOduEWASS4ETqNOJfb0SFFP620weR0gKuQEWCa+B/CMl2zAY/pRn5fJ51l68sBUwNV0nnwbl/FQ==","permissions":"FULL"},{"keyName":"key2","value":"HTfb8teyKnxJcV8rqpiB7Yj2y+jVqm3mcx0QjEFBGCPayoWSA0tP1s7Afa65USuJlu2+5fOmROCicnnpdf/6Cg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:16 GMT'] + date: ['Mon, 14 May 2018 23:37:58 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:48:16 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:37:59 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:48:16 GMT'] - etag: ['"0x8D5AFAD3F79B2C1"'] - last-modified: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:37:59 GMT'] + etag: ['"0x8D5B9F3BA6E6F15"'] + last-modified: ['Mon, 14 May 2018 23:37:59 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -3626,9 +3624,9 @@ interactions: Connection: [keep-alive] Content-Length: ['131072'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:48:17 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:38:00 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -3636,9 +3634,9 @@ interactions: body: {string: ''} headers: content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] - date: ['Tue, 01 May 2018 21:48:17 GMT'] - etag: ['"0x8D5AFAD3FE3ED21"'] - last-modified: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:37:59 GMT'] + etag: ['"0x8D5B9F3BACDFF48"'] + last-modified: ['Mon, 14 May 2018 23:38:00 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -3650,20 +3648,20 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:48:18 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:00 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?comp=snapshot response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:48:18 GMT'] - etag: ['"0x8D5AFAD3FE3ED21"'] - last-modified: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:38:00 GMT'] + etag: ['"0x8D5B9F3BACDFF48"'] + last-modified: ['Mon, 14 May 2018 23:38:00 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-snapshot: ['2018-05-01T21:48:18.2590880Z'] + x-ms-snapshot: ['2018-05-14T23:38:00.8839805Z'] x-ms-version: ['2017-11-09'] status: {code: 201, message: Created} - request: @@ -3671,11 +3669,11 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:48:18 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:01 GMT'] x-ms-version: ['2017-11-09'] method: HEAD - uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?snapshot=2018-05-01T21%3A48%3A18.2590880Z + uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?snapshot=2018-05-14T23%3A38%3A00.8839805Z response: body: {string: ''} headers: @@ -3683,12 +3681,12 @@ interactions: content-length: ['131072'] content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:48:18 GMT'] - etag: ['"0x8D5AFAD3FE3ED21"'] - last-modified: ['Tue, 01 May 2018 21:48:17 GMT'] + date: ['Mon, 14 May 2018 23:38:00 GMT'] + etag: ['"0x8D5B9F3BACDFF48"'] + last-modified: ['Mon, 14 May 2018 23:38:00 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:48:17 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:38:00 GMT'] x-ms-server-encrypted: ['true'] x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} @@ -3701,9 +3699,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -3712,12 +3710,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:48:18 GMT'] + date: ['Mon, 14 May 2018 23:38:01 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdIRjIzR0VVVUw1RzQ2VURVM0QyNVA2QjdNNVlTMjNPVjZCWnxCMUJEREZDMTAzQzU1RjFELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdNT0tCVTNWUE03WkY3N0xCWlBGNUZERDRaWlVKSUhVSkE3UHwyN0M5MjZFNzkwMEE1MjM2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_socket_timeout.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_socket_timeout.yaml index 47579417e79..b4e911fe262 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_socket_timeout.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_socket_timeout.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:48:19Z"}}' + "date": "2018-05-14T23:38:02Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:48:19Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:38:02Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:20 GMT'] + date: ['Mon, 14 May 2018 23:38:03 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:48:21 GMT'] + date: ['Mon, 14 May 2018 23:38:05 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/0d0558c2-d824-467c-9cc3-557bcfe84843?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/e8f22443-053c-4254-bdc6-28cb1d1ca410?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/0d0558c2-d824-467c-9cc3-557bcfe84843?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/e8f22443-053c-4254-bdc6-28cb1d1ca410?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:21.6512920Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:48:21.6512920Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:48:21.5575410Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:04.9672880Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:38:04.9672880Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:38:04.8891770Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:38 GMT'] + date: ['Mon, 14 May 2018 23:38:21 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"2DyFqrFaHyg5gZoURRCMdrDd60j0YCpC/d8s77k5bvTbZvMovR3FgH26PujOoSNEEcFVRVH41UpwrYRmdXMbGg==","permissions":"FULL"},{"keyName":"key2","value":"SF8vB+fEvoYI6CrC+HuAdO43ctX7R7p5k3DzRmT5L3LnnnAtmnD0Nuc5fTiWMNifZBlSOqMPpvn27qvYvyJZkQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"bimrgrhoucMwLZIxnYlYAW0fW7cnPf3XCtcZ1HwtJvh3YhSQLL5wUK8lIFHzGgcL+sdfLW9wogV1yIugT68HAA==","permissions":"FULL"},{"keyName":"key2","value":"V85o7hBhXBZZabjpZvx1wWFMzyz56MO/gM8l7T7EFfIV1FVGKLiPg39FANskdRXlfY745Cu+eoVCdohdIr5BBQ==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:39 GMT'] + date: ['Mon, 14 May 2018 23:38:22 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"2DyFqrFaHyg5gZoURRCMdrDd60j0YCpC/d8s77k5bvTbZvMovR3FgH26PujOoSNEEcFVRVH41UpwrYRmdXMbGg==","permissions":"FULL"},{"keyName":"key2","value":"SF8vB+fEvoYI6CrC+HuAdO43ctX7R7p5k3DzRmT5L3LnnnAtmnD0Nuc5fTiWMNifZBlSOqMPpvn27qvYvyJZkQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"bimrgrhoucMwLZIxnYlYAW0fW7cnPf3XCtcZ1HwtJvh3YhSQLL5wUK8lIFHzGgcL+sdfLW9wogV1yIugT68HAA==","permissions":"FULL"},{"keyName":"key2","value":"V85o7hBhXBZZabjpZvx1wWFMzyz56MO/gM8l7T7EFfIV1FVGKLiPg39FANskdRXlfY745Cu+eoVCdohdIr5BBQ==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:48:40 GMT'] + date: ['Mon, 14 May 2018 23:38:23 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:48:41 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:38:24 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:48:40 GMT'] - etag: ['"0x8D5AFAD4DCDD1D8"'] - last-modified: ['Tue, 01 May 2018 21:48:41 GMT'] + date: ['Mon, 14 May 2018 23:38:23 GMT'] + etag: ['"0x8D5B9F3C930897C"'] + last-modified: ['Mon, 14 May 2018 23:38:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -176,15 +174,15 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:49:37 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:26 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:49:37 GMT'] + date: ['Mon, 14 May 2018 23:39:26 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [BlobNotFound] @@ -222,9 +220,9 @@ interactions: Connection: [keep-alive] Content-Length: ['1024'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:49:38 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:39:27 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -232,9 +230,9 @@ interactions: body: {string: ''} headers: content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] - date: ['Tue, 01 May 2018 21:49:37 GMT'] - etag: ['"0x8D5AFAD6FD24C68"'] - last-modified: ['Tue, 01 May 2018 21:49:38 GMT'] + date: ['Mon, 14 May 2018 23:39:26 GMT'] + etag: ['"0x8D5B9F3EEAE333A"'] + last-modified: ['Mon, 14 May 2018 23:39:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -245,8 +243,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:49:38 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:27 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -257,12 +255,12 @@ interactions: content-length: ['1024'] content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:49:38 GMT'] - etag: ['"0x8D5AFAD6FD24C68"'] - last-modified: ['Tue, 01 May 2018 21:49:38 GMT'] + date: ['Mon, 14 May 2018 23:39:27 GMT'] + etag: ['"0x8D5B9F3EEAE333A"'] + last-modified: ['Mon, 14 May 2018 23:39:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:49:38 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:39:27 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -273,8 +271,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:49:38 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:28 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -285,12 +283,12 @@ interactions: content-length: ['1024'] content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:49:38 GMT'] - etag: ['"0x8D5AFAD6FD24C68"'] - last-modified: ['Tue, 01 May 2018 21:49:38 GMT'] + date: ['Mon, 14 May 2018 23:39:27 GMT'] + etag: ['"0x8D5B9F3EEAE333A"'] + last-modified: ['Mon, 14 May 2018 23:39:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:49:38 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:39:27 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -301,8 +299,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:49:39 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:28 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-11-09'] method: GET @@ -341,13 +339,13 @@ interactions: content-length: ['1024'] content-range: [bytes 0-1023/1024] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:49:38 GMT'] - etag: ['"0x8D5AFAD6FD24C68"'] - last-modified: ['Tue, 01 May 2018 21:49:38 GMT'] + date: ['Mon, 14 May 2018 23:39:28 GMT'] + etag: ['"0x8D5B9F3EEAE333A"'] + last-modified: ['Mon, 14 May 2018 23:39:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:49:38 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:39:27 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -362,9 +360,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -373,12 +371,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:49:39 GMT'] + date: ['Mon, 14 May 2018 23:39:29 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdQUjJSNjM0RUdHUkpFWTJKWDdJWkJMREFZR01GUE80T1oyM3w2QTZCNkNBRDM4RTNBNDEyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc2TzdYQUZUVlpHTU9YRldGR1VER1JXM0ZMRFY1SE42SURXQXw3QTI2RDU3NjU3MTY3ODQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_soft_delete.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_soft_delete.yaml index 6bf6731b419..6b93e4fbf91 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_soft_delete.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_soft_delete.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:49:39Z"}}' + "date": "2018-05-14T23:39:30Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:49:39Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:39:30Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:49:40 GMT'] + date: ['Mon, 14 May 2018 23:39:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:49:41 GMT'] + date: ['Mon, 14 May 2018 23:39:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/67812c24-890c-48ed-9849-0005e7354367?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b80f6330-b51a-4c59-b405-bd29bf504c2d?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/67812c24-890c-48ed-9849-0005e7354367?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b80f6330-b51a-4c59-b405-bd29bf504c2d?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:49:41.9342494Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:49:41.9342494Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:49:41.8561236Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:32.4263996Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:39:32.4263996Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:39:32.3638616Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:49:59 GMT'] + date: ['Mon, 14 May 2018 23:39:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"qf+rZABzdZKtF9qE66GwfTkLDDn1zrL1gdhmcDMILeI52dsGc9+YJ9MCg+qtQ8vW4pa4Zr3uE8A2hZaB2ZaM/Q==","permissions":"FULL"},{"keyName":"key2","value":"zCQl9+O2FWIJFZvwRAIlcJwUe/j+wBKWmmCrCuKFVPjaiMHcMnJGeKGpKJbOgG90VP1DO1pdFAp2qCNqLC9kOQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"3ViZPBhfwkb2BT2XFID14+2/xpyrcGXBT0NoGGVKzh75FqjOuwvwcSpJGv9G5u4OCfzxev9Ip2+oHO6aZJEaQg==","permissions":"FULL"},{"keyName":"key2","value":"dBDri6ZIvhWDAR9v3+r99qktpnFCkav+N0oMbZq8p00sml729jONRptYpikkcx2hCqqJY+9k/Q1//LahIjoD6w==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:00 GMT'] + date: ['Mon, 14 May 2018 23:39:50 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"qf+rZABzdZKtF9qE66GwfTkLDDn1zrL1gdhmcDMILeI52dsGc9+YJ9MCg+qtQ8vW4pa4Zr3uE8A2hZaB2ZaM/Q==","permissions":"FULL"},{"keyName":"key2","value":"zCQl9+O2FWIJFZvwRAIlcJwUe/j+wBKWmmCrCuKFVPjaiMHcMnJGeKGpKJbOgG90VP1DO1pdFAp2qCNqLC9kOQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"3ViZPBhfwkb2BT2XFID14+2/xpyrcGXBT0NoGGVKzh75FqjOuwvwcSpJGv9G5u4OCfzxev9Ip2+oHO6aZJEaQg==","permissions":"FULL"},{"keyName":"key2","value":"dBDri6ZIvhWDAR9v3+r99qktpnFCkav+N0oMbZq8p00sml729jONRptYpikkcx2hCqqJY+9k/Q1//LahIjoD6w==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:00 GMT'] + date: ['Mon, 14 May 2018 23:39:51 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:01 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:52 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:01 GMT'] - etag: ['"0x8D5AFAD7DD3A5C1"'] - last-modified: ['Tue, 01 May 2018 21:50:01 GMT'] + date: ['Mon, 14 May 2018 23:39:51 GMT'] + etag: ['"0x8D5B9F3FD7B114F"'] + last-modified: ['Mon, 14 May 2018 23:39:52 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -203,9 +201,9 @@ interactions: Connection: [keep-alive] Content-Length: ['1024'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:50:02 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:39:52 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 @@ -213,9 +211,9 @@ interactions: body: {string: ''} headers: content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] - date: ['Tue, 01 May 2018 21:50:01 GMT'] - etag: ['"0x8D5AFAD7E48DFBF"'] - last-modified: ['Tue, 01 May 2018 21:50:02 GMT'] + date: ['Mon, 14 May 2018 23:39:52 GMT'] + etag: ['"0x8D5B9F3FDDB888F"'] + last-modified: ['Mon, 14 May 2018 23:39:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -226,23 +224,23 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:02 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:53 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=list response: body: {string: "\uFEFFblob000004Tue,\ - \ 01 May 2018 21:50:02 GMTTue, 01 May 2018\ - \ 21:50:02 GMT0x8D5AFAD7E48DFBF1024application/octet-streamblob000004Mon,\ + \ 14 May 2018 23:39:53 GMTMon, 14 May 2018\ + \ 23:39:53 GMT0x8D5B9F3FDDB888F1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobunlockedavailabletrue"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:02 GMT'] + date: ['Mon, 14 May 2018 23:39:52 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -252,8 +250,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:03 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:53 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -262,7 +260,7 @@ interactions: \ />false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:02 GMT'] + date: ['Mon, 14 May 2018 23:39:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -275,15 +273,15 @@ interactions: Connection: [keep-alive] Content-Length: ['176'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:03 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:53 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:02 GMT'] + date: ['Mon, 14 May 2018 23:39:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -293,8 +291,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:03 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:54 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -303,7 +301,7 @@ interactions: \ />true2"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:03 GMT'] + date: ['Mon, 14 May 2018 23:39:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -313,8 +311,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:04 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:54 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -323,7 +321,7 @@ interactions: \ />true2"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:04 GMT'] + date: ['Mon, 14 May 2018 23:39:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -334,15 +332,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:04 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:54 GMT'] x-ms-version: ['2017-11-09'] method: DELETE uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:04 GMT'] + date: ['Mon, 14 May 2018 23:39:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-delete-type-permanent: ['false'] @@ -353,8 +351,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:05 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:55 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=list @@ -364,7 +362,7 @@ interactions: cont000003\">"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:05 GMT'] + date: ['Mon, 14 May 2018 23:39:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -374,24 +372,24 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:05 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:55 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=list&include=deleted response: body: {string: "\uFEFFblob000004trueTue,\ - \ 01 May 2018 21:50:02 GMTTue, 01 May 2018\ - \ 21:50:02 GMT0x8D5AFAD7E48DFBF1024application/octet-streamblob000004trueMon,\ + \ 14 May 2018 23:39:53 GMTMon, 14 May 2018\ + \ 23:39:53 GMT0x8D5B9F3FDDB888F1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobtrueTue,\ - \ 01 May 2018 21:50:04 GMT1BlockBlobtrueMon,\ + \ 14 May 2018 23:39:54 GMT1"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:05 GMT'] + date: ['Mon, 14 May 2018 23:39:54 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -402,15 +400,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:06 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:56 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003/blob000004?comp=undelete response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:06 GMT'] + date: ['Mon, 14 May 2018 23:39:56 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -420,23 +418,23 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:07 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:39:56 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=list response: body: {string: "\uFEFFblob000004Tue,\ - \ 01 May 2018 21:50:02 GMTTue, 01 May 2018\ - \ 21:50:02 GMT0x8D5AFAD7E48DFBF1024application/octet-streamblob000004Mon,\ + \ 14 May 2018 23:39:53 GMTMon, 14 May 2018\ + \ 23:39:53 GMT0x8D5B9F3FDDB888F1024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobunlockedavailabletrue"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:07 GMT'] + date: ['Mon, 14 May 2018 23:39:56 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -450,9 +448,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -461,12 +459,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:50:07 GMT'] + date: ['Mon, 14 May 2018 23:39:57 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaQkNSRUJLN09NQ0JGVVFMSTRSUVlMSEdNTkEyRUs3TjVYQ3xERkQ3RkIyMTUyNkQ2Q0EyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc0NVhHVFFUMktFUTdLUE1VWDVPWFlLNFozWDNDRkRHNzZMS3wyODA3MDIzMjQ3RDBGMzBGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_midsize_file.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_midsize_file.yaml index 5085add5b0a..e42817f94c7 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_midsize_file.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_midsize_file.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:50:08Z"}}' + "date": "2018-05-14T23:39:57Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:50:08Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:39:57Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:08 GMT'] + date: ['Mon, 14 May 2018 23:39:58 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:12 GMT'] + date: ['Mon, 14 May 2018 23:40:01 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d2cb0d08-1dbb-463a-8515-c7c3925f6e97?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d2980552-1e4b-4e67-94c0-3fe6c2e43974?monitor=true&api-version=2018-02-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: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d2cb0d08-1dbb-463a-8515-c7c3925f6e97?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/d2980552-1e4b-4e67-94c0-3fe6c2e43974?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:12.9813351Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:12.9813351Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:12.9031978Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:40:00.6606233Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:40:00.6606233Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:40:00.2699751Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:29 GMT'] + date: ['Mon, 14 May 2018 23:40:18 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"wRXnasKn+uHsAFzJlB0u452e3gzhrQgPSPautk76CDMNoCxVMDPdh9Sg9oDCQFpskuOfm61yXzsTD1GcfLU4mA==","permissions":"FULL"},{"keyName":"key2","value":"IkNMTb0ze5MM6VxN5vSlqxb4NzFLjwyUgn6VZjmTpCOoDwC/lXxIsJTH52C9kDxJxxoogWxa1r2QEergHPJ8rw==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"A4CKroOye2Uj/I8Tvg0fH3CWEzjmUtxp/DrohM4be7U7qy6fx9i+Jja/W8e9Pq4hg9XvtS7jgdsWoDC636r1iQ==","permissions":"FULL"},{"keyName":"key2","value":"D/49hH2RVsODpSorEsharufFG4yqPFMDSbbERpaZiGbUU/P/ItaUPsCoJUpJ2ljbu5vELecsw7DYohnFt/Cm4A==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:31 GMT'] + date: ['Mon, 14 May 2018 23:40:19 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"wRXnasKn+uHsAFzJlB0u452e3gzhrQgPSPautk76CDMNoCxVMDPdh9Sg9oDCQFpskuOfm61yXzsTD1GcfLU4mA==","permissions":"FULL"},{"keyName":"key2","value":"IkNMTb0ze5MM6VxN5vSlqxb4NzFLjwyUgn6VZjmTpCOoDwC/lXxIsJTH52C9kDxJxxoogWxa1r2QEergHPJ8rw==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"A4CKroOye2Uj/I8Tvg0fH3CWEzjmUtxp/DrohM4be7U7qy6fx9i+Jja/W8e9Pq4hg9XvtS7jgdsWoDC636r1iQ==","permissions":"FULL"},{"keyName":"key2","value":"D/49hH2RVsODpSorEsharufFG4yqPFMDSbbERpaZiGbUU/P/ItaUPsCoJUpJ2ljbu5vELecsw7DYohnFt/Cm4A==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:50:32 GMT'] + date: ['Mon, 14 May 2018 23:40:20 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:32 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:21 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:32 GMT'] - etag: ['"0x8D5AFAD90808EA6"'] - last-modified: ['Tue, 01 May 2018 21:50:33 GMT'] + date: ['Mon, 14 May 2018 23:40:20 GMT'] + etag: ['"0x8D5B9F40ED2FA47"'] + last-modified: ['Mon, 14 May 2018 23:40:21 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -176,15 +174,15 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:33 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:21 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:33 GMT'] + date: ['Mon, 14 May 2018 23:40:21 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [BlobNotFound] @@ -197,9 +195,9 @@ interactions: Connection: [keep-alive] Content-Length: ['4194304'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:50:33 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:40:21 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -207,9 +205,9 @@ interactions: body: {string: ''} headers: content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] - date: ['Tue, 01 May 2018 21:50:35 GMT'] - etag: ['"0x8D5AFAD91EC6872"'] - last-modified: ['Tue, 01 May 2018 21:50:35 GMT'] + date: ['Mon, 14 May 2018 23:40:22 GMT'] + etag: ['"0x8D5B9F40F74133B"'] + last-modified: ['Mon, 14 May 2018 23:40:22 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -220,8 +218,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:35 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -232,12 +230,12 @@ interactions: content-length: ['4194304'] content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:50:35 GMT'] - etag: ['"0x8D5AFAD91EC6872"'] - last-modified: ['Tue, 01 May 2018 21:50:35 GMT'] + date: ['Mon, 14 May 2018 23:40:22 GMT'] + etag: ['"0x8D5B9F40F74133B"'] + last-modified: ['Mon, 14 May 2018 23:40:22 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:50:35 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -248,23 +246,23 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:36 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:23 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000004?restype=container&comp=list&maxresults=1 response: body: {string: "\uFEFF1blob000003Tue,\ - \ 01 May 2018 21:50:35 GMTTue, 01 May 2018\ - \ 21:50:35 GMT0x8D5AFAD91EC68724194304application/octet-stream1blob000003Mon,\ + \ 14 May 2018 23:40:22 GMTMon, 14 May 2018\ + \ 23:40:22 GMT0x8D5B9F40F74133B4194304application/octet-streamtc+p1sj+vWGPkawoQ9UKHA==BlockBlobunlockedavailabletrue"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:36 GMT'] + date: ['Mon, 14 May 2018 23:40:23 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -274,8 +272,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:36 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:23 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -286,12 +284,12 @@ interactions: content-length: ['4194304'] content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:50:36 GMT'] - etag: ['"0x8D5AFAD91EC6872"'] - last-modified: ['Tue, 01 May 2018 21:50:35 GMT'] + date: ['Mon, 14 May 2018 23:40:23 GMT'] + etag: ['"0x8D5B9F40F74133B"'] + last-modified: ['Mon, 14 May 2018 23:40:22 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:50:35 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -302,8 +300,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:37 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:24 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -314,12 +312,12 @@ interactions: content-length: ['4194304'] content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:50:37 GMT'] - etag: ['"0x8D5AFAD91EC6872"'] - last-modified: ['Tue, 01 May 2018 21:50:35 GMT'] + date: ['Mon, 14 May 2018 23:40:23 GMT'] + etag: ['"0x8D5B9F40F74133B"'] + last-modified: ['Mon, 14 May 2018 23:40:22 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:50:35 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -331,19 +329,19 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] x-ms-blob-content-type: [application/test-content] - x-ms-date: ['Tue, 01 May 2018 21:50:38 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:40:24 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003?comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:50:38 GMT'] - etag: ['"0x8D5AFAD93C17DFB"'] - last-modified: ['Tue, 01 May 2018 21:50:38 GMT'] + date: ['Mon, 14 May 2018 23:40:24 GMT'] + etag: ['"0x8D5B9F410CFC321"'] + last-modified: ['Mon, 14 May 2018 23:40:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -353,8 +351,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:38 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:24 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -365,12 +363,12 @@ interactions: content-length: ['4194304'] content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] content-type: [application/test-content] - date: ['Tue, 01 May 2018 21:50:38 GMT'] - etag: ['"0x8D5AFAD93C17DFB"'] - last-modified: ['Tue, 01 May 2018 21:50:38 GMT'] + date: ['Mon, 14 May 2018 23:40:24 GMT'] + etag: ['"0x8D5B9F410CFC321"'] + last-modified: ['Mon, 14 May 2018 23:40:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:50:35 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -381,8 +379,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:39 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:25 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -391,7 +389,7 @@ interactions: \ />false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:50:39 GMT'] + date: ['Mon, 14 May 2018 23:40:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -401,8 +399,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:39 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:25 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-11-09'] method: GET @@ -416,13 +414,13 @@ interactions: content-length: ['4194304'] content-range: [bytes 0-4194303/4194304] content-type: [application/test-content] - date: ['Tue, 01 May 2018 21:50:39 GMT'] - etag: ['"0x8D5AFAD93C17DFB"'] - last-modified: ['Tue, 01 May 2018 21:50:38 GMT'] + date: ['Mon, 14 May 2018 23:40:25 GMT'] + etag: ['"0x8D5B9F410CFC321"'] + last-modified: ['Mon, 14 May 2018 23:40:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:50:35 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -433,8 +431,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:50:41 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:26 GMT'] x-ms-range: [bytes=10-499] x-ms-version: ['2017-11-09'] method: GET @@ -459,13 +457,13 @@ interactions: content-length: ['490'] content-range: [bytes 10-499/4194304] content-type: [application/test-content] - date: ['Tue, 01 May 2018 21:50:41 GMT'] - etag: ['"0x8D5AFAD93C17DFB"'] - last-modified: ['Tue, 01 May 2018 21:50:38 GMT'] + date: ['Mon, 14 May 2018 23:40:27 GMT'] + etag: ['"0x8D5B9F410CFC321"'] + last-modified: ['Mon, 14 May 2018 23:40:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-content-md5: [tc+p1sj+vWGPkawoQ9UKHA==] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:50:35 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:22 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -480,9 +478,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -491,12 +489,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:50:42 GMT'] + date: ['Mon, 14 May 2018 23:40:27 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFVVZXVUlTRUUyWlVQSTdQUUJPWVpFWEVYUE9GSVdJVlJQTnw3ODBEOTlGNjg5OEREQzc5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc0VVJKNjNLWkMzRzc2REpHR1JERFNZRTNRNUxWV0UzQlBRWHxDMDc0RTUyNzdFNjZFODRDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_small_file.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_small_file.yaml index 09bb3a15605..2910d465e04 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_small_file.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_blob_upload_small_file.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:50:42Z"}}' + "date": "2018-05-14T23:40:28Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:50:42Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:40:28Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:43 GMT'] + date: ['Mon, 14 May 2018 23:40:28 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:50:45 GMT'] + date: ['Mon, 14 May 2018 23:40:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a3e66f58-ff0e-4387-9e2e-de3b957ff650?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/19646cb8-2ef9-4b86-9279-2180d8f05152?monitor=true&api-version=2018-02-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: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/a3e66f58-ff0e-4387-9e2e-de3b957ff650?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/19646cb8-2ef9-4b86-9279-2180d8f05152?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:45.5284344Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:50:45.5284344Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:50:45.4346559Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:40:30.6623035Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:40:30.6623035Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:40:30.5841438Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:02 GMT'] + date: ['Mon, 14 May 2018 23:40:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"2mimZZUxn/JURj3ieoLKDLHvhOqq7YF+KiSObdcWZPpq6j95Bs+4quDv2VWy+IVb2L/mydR+7GwDEAV5z5n4SA==","permissions":"FULL"},{"keyName":"key2","value":"4haHUQSrifOctcUoGTnqmHGlstV78WSzvXT/iQ2XUOj9t1SmxXFZEepiDFABNa7BgJ+fDlWeSO/QEaZKWVet6w==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"RY/mCAyF9S44BU1ZNK1tlIIEwi+xTp3VQTHpALPKosSEh77HcLsywikVy7q6euJqvDWDtmDGxeCpR9QTPzJWsg==","permissions":"FULL"},{"keyName":"key2","value":"qVabhM7Hyg+Qa6DgGpZCVepkBIYJljZpNLssR8WbeWP5TsScWiErmj3q30dr/aiavhrR0G+Nt3r7y8GODYpPrw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:03 GMT'] + date: ['Mon, 14 May 2018 23:40:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"2mimZZUxn/JURj3ieoLKDLHvhOqq7YF+KiSObdcWZPpq6j95Bs+4quDv2VWy+IVb2L/mydR+7GwDEAV5z5n4SA==","permissions":"FULL"},{"keyName":"key2","value":"4haHUQSrifOctcUoGTnqmHGlstV78WSzvXT/iQ2XUOj9t1SmxXFZEepiDFABNa7BgJ+fDlWeSO/QEaZKWVet6w==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"RY/mCAyF9S44BU1ZNK1tlIIEwi+xTp3VQTHpALPKosSEh77HcLsywikVy7q6euJqvDWDtmDGxeCpR9QTPzJWsg==","permissions":"FULL"},{"keyName":"key2","value":"qVabhM7Hyg+Qa6DgGpZCVepkBIYJljZpNLssR8WbeWP5TsScWiErmj3q30dr/aiavhrR0G+Nt3r7y8GODYpPrw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:04 GMT'] + date: ['Mon, 14 May 2018 23:40:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:04 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:50 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:51:04 GMT'] - etag: ['"0x8D5AFADA3A22AA1"'] - last-modified: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:49 GMT'] + etag: ['"0x8D5B9F42011E832"'] + last-modified: ['Mon, 14 May 2018 23:40:50 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -176,15 +174,15 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:05 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:50 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:50 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [BlobNotFound] @@ -222,9 +220,9 @@ interactions: Connection: [keep-alive] Content-Length: ['1024'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-type: [BlockBlob] - x-ms-date: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:40:50 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -232,9 +230,9 @@ interactions: body: {string: ''} headers: content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] - date: ['Tue, 01 May 2018 21:51:05 GMT'] - etag: ['"0x8D5AFADA4139239"'] - last-modified: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:51 GMT'] + etag: ['"0x8D5B9F420853A10"'] + last-modified: ['Mon, 14 May 2018 23:40:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -245,8 +243,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:06 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -257,12 +255,12 @@ interactions: content-length: ['1024'] content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:51:06 GMT'] - etag: ['"0x8D5AFADA4139239"'] - last-modified: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:50 GMT'] + etag: ['"0x8D5B9F420853A10"'] + last-modified: ['Mon, 14 May 2018 23:40:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -273,23 +271,23 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:06 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000004?restype=container&comp=list&maxresults=1 response: body: {string: "\uFEFF1blob000003Tue,\ - \ 01 May 2018 21:51:05 GMTTue, 01 May 2018\ - \ 21:51:05 GMT0x8D5AFADA41392391024application/octet-stream1blob000003Mon,\ + \ 14 May 2018 23:40:51 GMTMon, 14 May 2018\ + \ 23:40:51 GMT0x8D5B9F420853A101024application/octet-streamDzQ7CTESaiDxM9Z8KwGKOw==BlockBlobunlockedavailabletrue"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:51:06 GMT'] + date: ['Mon, 14 May 2018 23:40:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -299,8 +297,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:07 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:52 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -311,12 +309,12 @@ interactions: content-length: ['1024'] content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:51:07 GMT'] - etag: ['"0x8D5AFADA4139239"'] - last-modified: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:52 GMT'] + etag: ['"0x8D5B9F420853A10"'] + last-modified: ['Mon, 14 May 2018 23:40:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -327,8 +325,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:07 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:52 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -339,12 +337,12 @@ interactions: content-length: ['1024'] content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:51:07 GMT'] - etag: ['"0x8D5AFADA4139239"'] - last-modified: ['Tue, 01 May 2018 21:51:05 GMT'] + date: ['Mon, 14 May 2018 23:40:52 GMT'] + etag: ['"0x8D5B9F420853A10"'] + last-modified: ['Mon, 14 May 2018 23:40:51 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -356,19 +354,19 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] + 10) AZURECLI/2.0.33] x-ms-blob-content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] x-ms-blob-content-type: [application/test-content] - x-ms-date: ['Tue, 01 May 2018 21:51:07 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:40:53 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003?comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:51:07 GMT'] - etag: ['"0x8D5AFADA5644442"'] - last-modified: ['Tue, 01 May 2018 21:51:08 GMT'] + date: ['Mon, 14 May 2018 23:40:52 GMT'] + etag: ['"0x8D5B9F421C9696E"'] + last-modified: ['Mon, 14 May 2018 23:40:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -378,8 +376,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:08 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:53 GMT'] x-ms-version: ['2017-11-09'] method: HEAD uri: https://clitest000002.blob.core.windows.net/cont000004/blob000003 @@ -390,12 +388,12 @@ interactions: content-length: ['1024'] content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] content-type: [application/test-content] - date: ['Tue, 01 May 2018 21:51:08 GMT'] - etag: ['"0x8D5AFADA5644442"'] - last-modified: ['Tue, 01 May 2018 21:51:08 GMT'] + date: ['Mon, 14 May 2018 23:40:52 GMT'] + etag: ['"0x8D5B9F421C9696E"'] + last-modified: ['Mon, 14 May 2018 23:40:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -406,8 +404,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:08 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:53 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -416,7 +414,7 @@ interactions: \ />false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:51:08 GMT'] + date: ['Mon, 14 May 2018 23:40:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -426,8 +424,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:09 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:54 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-11-09'] method: GET @@ -466,13 +464,13 @@ interactions: content-length: ['1024'] content-range: [bytes 0-1023/1024] content-type: [application/test-content] - date: ['Tue, 01 May 2018 21:51:08 GMT'] - etag: ['"0x8D5AFADA5644442"'] - last-modified: ['Tue, 01 May 2018 21:51:08 GMT'] + date: ['Mon, 14 May 2018 23:40:54 GMT'] + etag: ['"0x8D5B9F421C9696E"'] + last-modified: ['Mon, 14 May 2018 23:40:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -483,8 +481,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:51:09 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:40:54 GMT'] x-ms-range: [bytes=10-499] x-ms-version: ['2017-11-09'] method: GET @@ -509,13 +507,13 @@ interactions: content-length: ['490'] content-range: [bytes 10-499/1024] content-type: [application/test-content] - date: ['Tue, 01 May 2018 21:51:09 GMT'] - etag: ['"0x8D5AFADA5644442"'] - last-modified: ['Tue, 01 May 2018 21:51:08 GMT'] + date: ['Mon, 14 May 2018 23:40:55 GMT'] + etag: ['"0x8D5B9F421C9696E"'] + last-modified: ['Mon, 14 May 2018 23:40:53 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] x-ms-blob-content-md5: [DzQ7CTESaiDxM9Z8KwGKOw==] x-ms-blob-type: [BlockBlob] - x-ms-creation-time: ['Tue, 01 May 2018 21:51:05 GMT'] + x-ms-creation-time: ['Mon, 14 May 2018 23:40:51 GMT'] x-ms-lease-state: [available] x-ms-lease-status: [unlocked] x-ms-server-encrypted: ['true'] @@ -530,9 +528,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -541,12 +539,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:51:09 GMT'] + date: ['Mon, 14 May 2018 23:40:55 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZS1JHUzNaUFY3UE41SUFKS0lNNUZNRzVWS0o1SjVKMkRUUXxBNEYxNDk3QkEzRkE4NDg4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkcySE5CVUdQRkpNNEQ2R0pSSDZPUzdCUDVPUUQ3SFFXR1hMVXxFNEI0QzhCQzJEMDdGMjQ1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_container_acl_scenarios.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_container_acl_scenarios.yaml index 4f5f4b5b364..7f07b92c910 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_container_acl_scenarios.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_container_acl_scenarios.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:23Z"}}' + "date": "2018-05-14T23:35:00Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:23Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:00Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:24 GMT'] + date: ['Mon, 14 May 2018 23:35:02 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:26 GMT'] + date: ['Mon, 14 May 2018 23:35:03 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/80f70c06-ac48-4d85-8e66-91f2b48f0f93?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/891e78bb-5481-46e0-be6c-51061542f7be?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/80f70c06-ac48-4d85-8e66-91f2b48f0f93?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/891e78bb-5481-46e0-be6c-51061542f7be?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:26.3557297Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:26.3557297Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:26.0744949Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.5837547Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:03.5837547Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:03.5524977Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:42 GMT'] + date: ['Mon, 14 May 2018 23:35:20 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"5DQL2KGZRDhCaj6aCM7nJXgWhouvokVB/HJJ8Jfqjv1eu4L49vaRPLk5v2r6ow251rrlMDsRxd127E+PtxlZOA==","permissions":"FULL"},{"keyName":"key2","value":"pngx0eu+HKX1JODUx870j4a6jc/Cy3o/LJ7GR9pS+pKJfxEqj4FZ7LwBrU8MWSlM047seum0bN4nKKJQ8xnD/A==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"rwAa8g52R9p5h/SVH1tGvMW9aFfElSNuV0lZWbkj0rGr1jyXAOHhQVwsUfL6nd0PZIFraKEgryefMlpZA9u+oA==","permissions":"FULL"},{"keyName":"key2","value":"fT+glLTqzerI64b84lzgNAHQHUzxh2ovhrbVZUPANCelxn8JUa3eIkDqn2SFL6LQYaqPylw0xdOCQJdn+Wev2w==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:44 GMT'] + date: ['Mon, 14 May 2018 23:35:21 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"5DQL2KGZRDhCaj6aCM7nJXgWhouvokVB/HJJ8Jfqjv1eu4L49vaRPLk5v2r6ow251rrlMDsRxd127E+PtxlZOA==","permissions":"FULL"},{"keyName":"key2","value":"pngx0eu+HKX1JODUx870j4a6jc/Cy3o/LJ7GR9pS+pKJfxEqj4FZ7LwBrU8MWSlM047seum0bN4nKKJQ8xnD/A==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"rwAa8g52R9p5h/SVH1tGvMW9aFfElSNuV0lZWbkj0rGr1jyXAOHhQVwsUfL6nd0PZIFraKEgryefMlpZA9u+oA==","permissions":"FULL"},{"keyName":"key2","value":"fT+glLTqzerI64b84lzgNAHQHUzxh2ovhrbVZUPANCelxn8JUa3eIkDqn2SFL6LQYaqPylw0xdOCQJdn+Wev2w==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:45 GMT'] + date: ['Mon, 14 May 2018 23:35:22 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:45 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:23 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:45 GMT'] - etag: ['"0x8D5AFACE55529E7"'] - last-modified: ['Tue, 01 May 2018 21:45:45 GMT'] + date: ['Mon, 14 May 2018 23:35:23 GMT'] + etag: ['"0x8D5B9F35D8039DB"'] + last-modified: ['Mon, 14 May 2018 23:35:23 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -176,8 +174,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:46 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:24 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -186,9 +184,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:46 GMT'] - etag: ['"0x8D5AFACE55529E7"'] - last-modified: ['Tue, 01 May 2018 21:45:45 GMT'] + date: ['Mon, 14 May 2018 23:35:23 GMT'] + etag: ['"0x8D5B9F35D8039DB"'] + last-modified: ['Mon, 14 May 2018 23:35:23 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -198,8 +196,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:46 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:24 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -208,9 +206,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:45 GMT'] - etag: ['"0x8D5AFACE55529E7"'] - last-modified: ['Tue, 01 May 2018 21:45:45 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + etag: ['"0x8D5B9F35D8039DB"'] + last-modified: ['Mon, 14 May 2018 23:35:23 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -223,17 +221,17 @@ interactions: Connection: [keep-alive] Content-Length: ['184'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:46 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:24 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:45 GMT'] - etag: ['"0x8D5AFACE5C4F7B7"'] - last-modified: ['Tue, 01 May 2018 21:45:46 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + etag: ['"0x8D5B9F35DEE446B"'] + last-modified: ['Mon, 14 May 2018 23:35:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -243,8 +241,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:46 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:24 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -252,9 +250,9 @@ interactions: body: {string: "\uFEFFtest1l"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:46 GMT'] - etag: ['"0x8D5AFACE5C4F7B7"'] - last-modified: ['Tue, 01 May 2018 21:45:46 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + etag: ['"0x8D5B9F35DEE446B"'] + last-modified: ['Mon, 14 May 2018 23:35:24 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -267,17 +265,17 @@ interactions: Connection: [keep-alive] Content-Length: ['296'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:25 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:46 GMT'] - etag: ['"0x8D5AFACE5FE617E"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + etag: ['"0x8D5B9F35E28EAB4"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -287,8 +285,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:25 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -296,9 +294,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Z"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:47 GMT'] - etag: ['"0x8D5AFACE5FE617E"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + etag: ['"0x8D5B9F35E28EAB4"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -311,17 +309,17 @@ interactions: Connection: [keep-alive] Content-Length: ['413'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:25 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:47 GMT'] - etag: ['"0x8D5AFACE6327329"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + etag: ['"0x8D5B9F35E5C151F"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -331,8 +329,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:25 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -340,9 +338,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Z"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:47 GMT'] - etag: ['"0x8D5AFACE6327329"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] + etag: ['"0x8D5B9F35E5C151F"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -355,17 +353,17 @@ interactions: Connection: [keep-alive] Content-Length: ['591'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:25 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:47 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -375,8 +373,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:25 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -384,9 +382,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -396,8 +394,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:48 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -405,9 +403,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -417,8 +415,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:48 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -426,9 +424,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -438,8 +436,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -447,9 +445,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -459,8 +457,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -468,9 +466,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:49 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -480,8 +478,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -489,9 +487,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:49 GMT'] - etag: ['"0x8D5AFACE6713515"'] - last-modified: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + etag: ['"0x8D5B9F35E93D488"'] + last-modified: ['Mon, 14 May 2018 23:35:25 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -504,17 +502,17 @@ interactions: Connection: [keep-alive] Content-Length: ['597'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:49 GMT'] - etag: ['"0x8D5AFACE7BF9BF0"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + etag: ['"0x8D5B9F35FB6C992"'] + last-modified: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -524,8 +522,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:50 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -533,9 +531,9 @@ interactions: body: {string: "\uFEFFtest1rtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE7BF9BF0"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + etag: ['"0x8D5B9F35FB6C992"'] + last-modified: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -545,8 +543,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:50 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -554,9 +552,9 @@ interactions: body: {string: "\uFEFFtest1rtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE7BF9BF0"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + etag: ['"0x8D5B9F35FB6C992"'] + last-modified: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -569,17 +567,17 @@ interactions: Connection: [keep-alive] Content-Length: ['491'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:50 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE83D1FCD"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + etag: ['"0x8D5B9F360264863"'] + last-modified: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -589,8 +587,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:51 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/cont000003?restype=container&comp=acl @@ -598,9 +596,9 @@ interactions: body: {string: "\uFEFFtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE83D1FCD"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + etag: ['"0x8D5B9F360264863"'] + last-modified: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -614,9 +612,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -625,12 +623,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:51 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJNVUyRldCUFFJNktDNllPMk9EWVNHRzJaSEtEN0hURVlTQ3xDMDZDRjhCODZGRTE2QzRFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc1RUxZRTVJT0Y1R1FPSlc2T0dTVURPR0hORFpFVVVDV1A0Q3w1OTg3NzdEQTg1Q0U5ODhELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_cors_scenario.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_cors_scenario.yaml index 2ae36375192..0ff8f2a5f70 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_cors_scenario.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_cors_scenario.yaml @@ -1,63 +1,63 @@ interactions: - request: - body: '{"location": "eastus2", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T23:41:14Z"}}' + body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-05-14T23:35:03Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [group create] Connection: [keep-alive] - Content-Length: ['111'] + Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"eastus2","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T23:41:14Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:03Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['385'] + content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 23:41:16 GMT'] + date: ['Mon, 14 May 2018 23:35:05 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: - body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "eastus2", + body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", "properties": {"supportsHttpsTrafficOnly": false}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Length: ['126'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 23:41:17 GMT'] + date: ['Mon, 14 May 2018 23:35:08 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/0bd47cbe-aad5-4127-bd83-2d324c4114ec?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b6542236-76f9-4674-9882-728dacd70aa0?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2/asyncoperations/0bd47cbe-aad5-4127-bd83-2d324c4114ec?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/b6542236-76f9-4674-9882-728dacd70aa0?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T23:41:18.5011159Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T23:41:18.5011159Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T23:41:18.4229399Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:08.5293957Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:08.5293957Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:08.4812533Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] - content-length: ['1233'] + content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 23:41:35 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"HU0B1htVX7z5kftKvW2TmA6EX+E2Mhl8cGPG9HK1YU+tk1GfQoXsMZ9wZjTangh0ZhBTPvIq1yp2KcHqa/g3sA==","permissions":"FULL"},{"keyName":"key2","value":"skIKw3viQeZb+jr/4GGAivbeUVu+0atWwiPCICU4TZ1Y52ScQmheJpYNQwdMHjiqm6kYm/IbjKxc/95sCWwoeA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"CJ6MAO38fGi4aJ4XlFnw9vF6oUnBXMpyeHd2/VMd8VfUGzD8a1imSi2jU5qQA0fvgew/I14/H0mgC0ylaFHnWw==","permissions":"FULL"},{"keyName":"key2","value":"Rlefil8n7yeip8ADf2kgQ4XbgVZP8swlBkoy/soxg21XqoA0HB3kPE8aCT8loR81dn5j0hyO4urNsqVsECzUpg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 23:41:36 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"HU0B1htVX7z5kftKvW2TmA6EX+E2Mhl8cGPG9HK1YU+tk1GfQoXsMZ9wZjTangh0ZhBTPvIq1yp2KcHqa/g3sA==","permissions":"FULL"},{"keyName":"key2","value":"skIKw3viQeZb+jr/4GGAivbeUVu+0atWwiPCICU4TZ1Y52ScQmheJpYNQwdMHjiqm6kYm/IbjKxc/95sCWwoeA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"CJ6MAO38fGi4aJ4XlFnw9vF6oUnBXMpyeHd2/VMd8VfUGzD8a1imSi2jU5qQA0fvgew/I14/H0mgC0ylaFHnWw==","permissions":"FULL"},{"keyName":"key2","value":"Rlefil8n7yeip8ADf2kgQ4XbgVZP8swlBkoy/soxg21XqoA0HB3kPE8aCT8loR81dn5j0hyO4urNsqVsECzUpg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 23:41:37 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -154,50 +152,50 @@ interactions: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:38 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] + x-ms-version: ['2017-07-29'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse1.0truetruetrue71.0falsefalse"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:38 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-07-29'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:38 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0truetruetrue71.0falsefalse1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: + cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:38 GMT'] - server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:39 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -206,7 +204,7 @@ interactions: \ />false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:39 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -215,30 +213,30 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:39 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: - cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:39 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:40 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties @@ -247,7 +245,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:39 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -261,15 +259,15 @@ interactions: Connection: [keep-alive] Content-Length: ['287'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:40 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:40 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -279,18 +277,19 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:40 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:30 GMT'] x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsefalse"} + \ />"} headers: + cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:40 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:30 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} @@ -303,16 +302,16 @@ interactions: Connection: [keep-alive] Content-Length: ['287'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:41 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:30 GMT'] x-ms-version: ['2017-11-09'] method: PUT - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:41 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:31 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] status: {code: 202, message: Accepted} @@ -321,19 +320,18 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:41 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} + \ />false"} headers: - cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:41 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:31 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} @@ -346,16 +344,16 @@ interactions: Connection: [keep-alive] Content-Length: ['287'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:41 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] x-ms-version: ['2017-11-09'] method: PUT - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:42 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:31 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] status: {code: 202, message: Accepted} @@ -363,51 +361,52 @@ interactions: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:42 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] + x-ms-version: ['2017-07-29'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} + body: {string: "\uFEFF1.0truetruetrue71.0falsefalsePOSThttp://example.com60"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:42 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:31 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + vary: [Origin] + x-ms-version: ['2017-07-29'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:42 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0truetruetrue71.0falsefalsePOSThttp://example.com1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsePOSThttp://example.com60"} headers: + cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:42 GMT'] - server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:32 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] vary: [Origin] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:43 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -416,7 +415,7 @@ interactions: \ />60false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:42 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] vary: [Origin] @@ -426,23 +425,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:43 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsePOSThttp://example.com60"} + body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: - cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:43 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:32 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - vary: [Origin] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: ' @@ -452,15 +450,15 @@ interactions: Connection: [keep-alive] Content-Length: ['100'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:44 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:33 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:44 GMT'] + date: ['Mon, 14 May 2018 23:35:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -473,15 +471,15 @@ interactions: Connection: [keep-alive] Content-Length: ['100'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:44 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:34 GMT'] x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:44 GMT'] + date: ['Mon, 14 May 2018 23:35:33 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -490,50 +488,51 @@ interactions: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:45 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:34 GMT'] + x-ms-version: ['2017-07-29'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse1.0truetruetrue71.0falsefalse"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:45 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:33 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-07-29'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:45 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:34 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0truetruetrue71.0falsefalse"} + body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsePOSThttp://example.com60"} headers: + cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:46 GMT'] - server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:34 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + vary: [Origin] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:46 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -542,7 +541,7 @@ interactions: \ />false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:45 GMT'] + date: ['Mon, 14 May 2018 23:35:35 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -551,23 +550,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:46 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalsePOSThttp://example.com60"} + body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: - cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:46 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:35 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - vary: [Origin] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: ' @@ -577,15 +575,15 @@ interactions: Connection: [keep-alive] Content-Length: ['100'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:46 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:46 GMT'] + date: ['Mon, 14 May 2018 23:35:35 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -598,16 +596,16 @@ interactions: Connection: [keep-alive] Content-Length: ['100'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] x-ms-version: ['2017-11-09'] method: PUT - uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:47 GMT'] - server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:36 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] status: {code: 202, message: Accepted} @@ -619,16 +617,16 @@ interactions: Connection: [keep-alive] Content-Length: ['100'] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:47 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:36 GMT'] x-ms-version: ['2017-11-09'] method: PUT - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 23:41:48 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:36 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] status: {code: 202, message: Accepted} @@ -636,50 +634,50 @@ interactions: body: null headers: Connection: [keep-alive] - DataServiceVersion: [3.0;NetFx] - MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:48 GMT'] - x-ms-version: ['2017-04-17'] + User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] + x-ms-version: ['2017-07-29'] method: GET - uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse1.0truetruetrue71.0falsefalse"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:48 GMT'] - server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:36 GMT'] + server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-04-17'] + x-ms-version: ['2017-07-29'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:48 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] + x-ms-version: ['2017-11-09'] method: GET - uri: https://clitest000002.file.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties response: - body: {string: "\uFEFF1.0truetruetrue71.0falsefalse1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: + cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:49 GMT'] - server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:36 GMT'] + server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:49 GMT'] + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.blob.core.windows.net/?restype=service&comp=properties @@ -688,7 +686,7 @@ interactions: \ />false"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:52 GMT'] + date: ['Mon, 14 May 2018 23:35:36 GMT'] server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-11-09'] @@ -697,22 +695,22 @@ interactions: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows - 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 23:41:52 GMT'] - x-ms-version: ['2017-11-09'] + DataServiceVersion: [3.0;NetFx] + MaxDataServiceVersion: ['3.0'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] + x-ms-version: ['2017-04-17'] method: GET - uri: https://clitest000002.queue.core.windows.net/?restype=service&comp=properties + uri: https://clitest000002.table.core.windows.net/?restype=service&comp=properties response: body: {string: "\uFEFF1.0falsefalsefalsefalse1.0truetruetrue71.0falsefalse"} headers: - cache-control: [no-cache] content-type: [application/xml] - date: ['Tue, 01 May 2018 23:41:52 GMT'] - server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] + date: ['Mon, 14 May 2018 23:35:37 GMT'] + server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-11-09'] + x-ms-version: ['2017-04-17'] status: {code: 200, message: OK} - request: body: null @@ -723,9 +721,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -734,12 +732,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 23:41:54 GMT'] + date: ['Mon, 14 May 2018 23:35:38 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdTQklaRUlNUE83RENONEFDNDJXTFdGWURRRjdJN0tMWUFBN3w1NUE2MUJFMDIyRDlDMzlGLUVBU1RVUzIiLCJqb2JMb2NhdGlvbiI6ImVhc3R1czIifQ?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdEWUdTWllQNzc1QVM2UE1OWFlEWDRPRTJBN0pOSkQzSEVKV3w0NERGNjI2MDBBOUE1RDIwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_create_default_sku.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_create_default_sku.yaml index 201fb0fd303..8b42a8815f8 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_create_default_sku.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_create_default_sku.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "southcentralus", "tags": {"product": "azurecli", "cause": - "automation", "date": "2018-05-01T21:51:22Z"}}' + "automation", "date": "2018-05-14T23:40:58Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['118'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:51:22Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:40:58Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:23 GMT'] + date: ['Mon, 14 May 2018 23:40:59 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -36,19 +36,19 @@ interactions: CommandName: [storage account create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:51:22Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:40:58Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:23 GMT'] + date: ['Mon, 14 May 2018 23:40:59 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -65,26 +65,26 @@ interactions: Connection: [keep-alive] Content-Length: ['135'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:24 GMT'] + date: ['Mon, 14 May 2018 23:41:01 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/2ea9ca23-94ff-470b-849f-ecad61d99f0b?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/ed334863-d14d-4474-bbaf-c840fd17a026?monitor=true&api-version=2018-02-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: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 202, message: Accepted} - request: body: null @@ -93,19 +93,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/2ea9ca23-94ff-470b-849f-ecad61d99f0b?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/ed334863-d14d-4474-bbaf-c840fd17a026?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:25.4792706Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:25.4792706Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:51:25.4167294Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available","secondaryLocation":"northcentralus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://cli000002-secondary.blob.core.windows.net/","queue":"https://cli000002-secondary.queue.core.windows.net/","table":"https://cli000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:01.2400960Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:01.2400960Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:41:01.1463308Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available","secondaryLocation":"northcentralus","statusOfSecondary":"available","secondaryEndpoints":{"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: ['1570'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:51:42 GMT'] + date: ['Mon, 14 May 2018 23:41:18 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -124,9 +122,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -135,12 +133,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:51:44 GMT'] + date: ['Mon, 14 May 2018 23:41:20 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdQRjMyTEJTM0NFUkNYWDdFQ0JNQzNCUDUzUlhOVlZVSU1QS3xFMkUwRDI5MTU2QzA0REZDLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdYWkZPSE4ySlZFWjRWR0w3NkxVS0tXMkpHTE1XMkE2RDMzMnw2NThCMEY5MzZCQzI2MEFFLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_copy_scenario.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_copy_scenario.yaml index b828a3ebf37..86511f236d9 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_copy_scenario.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_copy_scenario.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:26Z"}}' + "date": "2018-05-14T23:35:03Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:26Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:03Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:27 GMT'] + date: ['Mon, 14 May 2018 23:35:05 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "westus", @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:29 GMT'] + date: ['Mon, 14 May 2018 23:35:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/bd2cb830-881a-4637-84c2-2e384c7ef451?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/3d1065a5-42ad-46ea-9eff-c4292fa773fc?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/bd2cb830-881a-4637-84c2-2e384c7ef451?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/3d1065a5-42ad-46ea-9eff-c4292fa773fc?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:29.0276324Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:29.0276324Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:28.8244943Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.2602485Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.2602485Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:07.2134214Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:45 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"Fe/E096AuLFd1EMAzXijduK7WC7HM5k9eYCc7NZmuVXiKf7rFZsetSlek46eL/VTxUG8AKWswK4KJfqPTtg1Nw==","permissions":"FULL"},{"keyName":"key2","value":"1p6p85c4Jtt7vU+I4URMjrWQtY3WWDWygLomej1cm/Yj43mdfwIZAUGtgv203IDvusAHe9dvsxSwxD8fUKcS8A==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"TNcIZgwyOHDvijLxRtLrLnWmwOGY/yMQZWQ7ZZSMpvQxjCpXhaExku41YorlvOYqG0FHLvYffiUm9ol+UcJuzw==","permissions":"FULL"},{"keyName":"key2","value":"lStznOXPasFTjnUJfypD9NIp/J9geRXGHSlkzsb6bii7zbPVnIojx6dAqGy4AyO6Md2Mv+XwrU3BweLlC5ST3A==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"Fe/E096AuLFd1EMAzXijduK7WC7HM5k9eYCc7NZmuVXiKf7rFZsetSlek46eL/VTxUG8AKWswK4KJfqPTtg1Nw==","permissions":"FULL"},{"keyName":"key2","value":"1p6p85c4Jtt7vU+I4URMjrWQtY3WWDWygLomej1cm/Yj43mdfwIZAUGtgv203IDvusAHe9dvsxSwxD8fUKcS8A==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"TNcIZgwyOHDvijLxRtLrLnWmwOGY/yMQZWQ7ZZSMpvQxjCpXhaExku41YorlvOYqG0FHLvYffiUm9ol+UcJuzw==","permissions":"FULL"},{"keyName":"key2","value":"lStznOXPasFTjnUJfypD9NIp/J9geRXGHSlkzsb6bii7zbPVnIojx6dAqGy4AyO6Md2Mv+XwrU3BweLlC5ST3A==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:47 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:48 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE725A5B2"'] - last-modified: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + etag: ['"0x8D5B9F35F5BE1F0"'] + last-modified: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -177,17 +175,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000004?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:48 GMT'] - etag: ['"0x8D5AFACE7628DDA"'] - last-modified: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] + etag: ['"0x8D5B9F35FD162A4"'] + last-modified: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -198,17 +196,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003/dir1?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:49 GMT'] - etag: ['"0x8D5AFACE79417FC"'] - last-modified: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + etag: ['"0x8D5B9F360152205"'] + last-modified: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -220,17 +218,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:49 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000004/dir2?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:49 GMT'] - etag: ['"0x8D5AFACE7DACAC5"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + etag: ['"0x8D5B9F3605F7EFD"'] + last-modified: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -242,9 +240,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] + AZURECLI/2.0.33] x-ms-content-length: ['524288'] - x-ms-date: ['Tue, 01 May 2018 21:45:50 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] x-ms-type: [file] x-ms-version: ['2017-07-29'] method: PUT @@ -252,9 +250,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE8372C55"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] + etag: ['"0x8D5B9F360A631C9"'] + last-modified: ['Mon, 14 May 2018 23:35:29 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -267,8 +265,8 @@ interactions: Connection: [keep-alive] Content-Length: ['524288'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:50 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] x-ms-range: [bytes=0-524287] x-ms-version: ['2017-07-29'] x-ms-write: [update] @@ -278,9 +276,9 @@ interactions: body: {string: ''} headers: content-md5: [WQcVkAmdId1DmJZZIzi/lQ==] - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE8523356"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] + etag: ['"0x8D5B9F360CEF6E4"'] + last-modified: ['Mon, 14 May 2018 23:35:29 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -291,8 +289,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:51 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/dir1/source_file.txt @@ -301,9 +299,9 @@ interactions: headers: content-length: ['524288'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:45:50 GMT'] - etag: ['"0x8D5AFACE8523356"'] - last-modified: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] + etag: ['"0x8D5B9F360CEF6E4"'] + last-modified: ['Mon, 14 May 2018 23:35:29 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -315,21 +313,21 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-copy-source: ['https://clitestmkl7mkwejyngxmxpm.file.core.windows.net/shareyna7cyahtxr2rinh26g/dir1/source_file.txt'] - x-ms-date: ['Tue, 01 May 2018 21:45:51 GMT'] + AZURECLI/2.0.33] + x-ms-copy-source: ['https://clitest43ic4i5nspxaetnoz.file.core.windows.net/sharetdky6tk2wd2kodgcdvi/dir1/source_file.txt'] + x-ms-date: ['Mon, 14 May 2018 23:35:30 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000004/dir2/destination_file.txt response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: ['"0x8D5AFACE920F344"'] - last-modified: ['Tue, 01 May 2018 21:45:52 GMT'] + date: ['Mon, 14 May 2018 23:35:30 GMT'] + etag: ['"0x8D5B9F361BFC448"'] + last-modified: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-copy-id: [601d8f07-18e3-4b8c-b460-532a978f41e0] + x-ms-copy-id: [2e3fb406-1193-4ab9-91b1-11b73abe5d0b] x-ms-copy-status: [success] x-ms-version: ['2017-07-29'] status: {code: 202, message: Accepted} @@ -338,8 +336,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:52 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000004/dir2/destination_file.txt @@ -348,14 +346,14 @@ interactions: headers: content-length: ['524288'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: ['"0x8D5AFACE920F344"'] - last-modified: ['Tue, 01 May 2018 21:45:52 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] + etag: ['"0x8D5B9F361BFC448"'] + last-modified: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] - x-ms-copy-completion-time: ['Tue, 01 May 2018 21:45:52 GMT'] - x-ms-copy-id: [601d8f07-18e3-4b8c-b460-532a978f41e0] + x-ms-copy-completion-time: ['Mon, 14 May 2018 23:35:31 GMT'] + x-ms-copy-id: [2e3fb406-1193-4ab9-91b1-11b73abe5d0b] x-ms-copy-progress: [524288/524288] - x-ms-copy-source: ['https://clitestmkl7mkwejyngxmxpm.file.core.windows.net/shareyna7cyahtxr2rinh26g/dir1/source_file.txt'] + x-ms-copy-source: ['https://clitest43ic4i5nspxaetnoz.file.core.windows.net/sharetdky6tk2wd2kodgcdvi/dir1/source_file.txt'] x-ms-copy-status: [success] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -367,21 +365,21 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-copy-source: ['https://clitestmkl7mkwejyngxmxpm.file.core.windows.net/shareyna7cyahtxr2rinh26g/dir1/source_file.txt'] - x-ms-date: ['Tue, 01 May 2018 21:45:52 GMT'] + AZURECLI/2.0.33] + x-ms-copy-source: ['https://clitest43ic4i5nspxaetnoz.file.core.windows.net/sharetdky6tk2wd2kodgcdvi/dir1/source_file.txt'] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000004/dir2/destination_file.txt response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: ['"0x8D5AFACE994FFD7"'] - last-modified: ['Tue, 01 May 2018 21:45:53 GMT'] + date: ['Mon, 14 May 2018 23:35:32 GMT'] + etag: ['"0x8D5B9F362F76B90"'] + last-modified: ['Mon, 14 May 2018 23:35:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-copy-id: [827d179d-e3bd-4800-b313-7fb4140df5af] + x-ms-copy-id: [74f3c57f-f907-4196-9b60-149fa36749ca] x-ms-copy-status: [success] x-ms-version: ['2017-07-29'] status: {code: 202, message: Accepted} @@ -390,8 +388,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:53 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:33 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000004/dir2/destination_file.txt @@ -400,14 +398,14 @@ interactions: headers: content-length: ['524288'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: ['"0x8D5AFACE994FFD7"'] - last-modified: ['Tue, 01 May 2018 21:45:53 GMT'] + date: ['Mon, 14 May 2018 23:35:32 GMT'] + etag: ['"0x8D5B9F362F76B90"'] + last-modified: ['Mon, 14 May 2018 23:35:33 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] - x-ms-copy-completion-time: ['Tue, 01 May 2018 21:45:53 GMT'] - x-ms-copy-id: [827d179d-e3bd-4800-b313-7fb4140df5af] + x-ms-copy-completion-time: ['Mon, 14 May 2018 23:35:33 GMT'] + x-ms-copy-id: [74f3c57f-f907-4196-9b60-149fa36749ca] x-ms-copy-progress: [524288/524288] - x-ms-copy-source: ['https://clitestmkl7mkwejyngxmxpm.file.core.windows.net/shareyna7cyahtxr2rinh26g/dir1/source_file.txt'] + x-ms-copy-source: ['https://clitest43ic4i5nspxaetnoz.file.core.windows.net/sharetdky6tk2wd2kodgcdvi/dir1/source_file.txt'] x-ms-copy-status: [success] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -419,21 +417,21 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-copy-source: ['https://clitestmkl7mkwejyngxmxpm.file.core.windows.net/shareyna7cyahtxr2rinh26g/dir1%5Csource_file.txt'] - x-ms-date: ['Tue, 01 May 2018 21:45:53 GMT'] + AZURECLI/2.0.33] + x-ms-copy-source: ['https://clitest43ic4i5nspxaetnoz.file.core.windows.net/sharetdky6tk2wd2kodgcdvi/dir1%5Csource_file.txt'] + x-ms-date: ['Mon, 14 May 2018 23:35:33 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000004/dir2/destination_file.txt response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:45:53 GMT'] - etag: ['"0x8D5AFACE9F580DF"'] - last-modified: ['Tue, 01 May 2018 21:45:53 GMT'] + date: ['Mon, 14 May 2018 23:35:34 GMT'] + etag: ['"0x8D5B9F3640BCCF0"'] + last-modified: ['Mon, 14 May 2018 23:35:34 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-copy-id: [f684c650-cf44-4956-82ce-5db74c2bf490] + x-ms-copy-id: [63dc1712-8876-4a99-8f6d-1684939cdeca] x-ms-copy-status: [success] x-ms-version: ['2017-07-29'] status: {code: 202, message: Accepted} @@ -446,9 +444,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -457,12 +455,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:54 GMT'] + date: ['Mon, 14 May 2018 23:35:35 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdWWFpVVUkzUU5ZQjNaQUI1VklWN0E2QlhHSU1YWjRLNElaNHwwMjFGMUNBNjk4NkE2RUQ1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdEMkVDRkNRVVlPRFNJTFNERkYyTTNQTjNKRUpFTEtXRVVaVHxGQUJCMzRFQTZGRkVENzhGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_main_scenario.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_main_scenario.yaml index 71f184bd169..4da446e066b 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_main_scenario.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_file_main_scenario.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:54Z"}}' + "date": "2018-05-14T23:35:35Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:54Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:35Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:54 GMT'] + date: ['Mon, 14 May 2018 23:35:36 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:37 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/f3763a77-bcd8-4c3d-a7ee-d5f877796408?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/f11da9d4-effe-4e1f-bbbf-cf23b4c8a455?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/f3763a77-bcd8-4c3d-a7ee-d5f877796408?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/f11da9d4-effe-4e1f-bbbf-cf23b4c8a455?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:56.3092305Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:56.3092305Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:56.1373257Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:38.1668346Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:38.1668346Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:37.9637189Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:12 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"Krg2dym2VgbL8W0f3/h6/tf/fDpW8KTtXFkWoajTbzwiBXnIJ88JzZQpMPqCYArRBwkS3nY9L1qGd38HYmXVgA==","permissions":"FULL"},{"keyName":"key2","value":"tmqcWdPZpw6i9kSzsejkceWBJVBuvQ41DkojSGq8q8GO2ns2oMTIHe373wyVxydtioX1yZa3q/thL+6RnG85Ow==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"UyQIV4I+ztkCO5hAwvmOO/jARYimlK3AJokCiiSJ1BjzEinkwzY0yMgMPT9Vl83EZZcts9ivPRv9GxZ5DWYOuQ==","permissions":"FULL"},{"keyName":"key2","value":"kMiPiLXMHAsPvJRrk8xL/SPTga7s7BmAzfnywoFAIw5TkId5cPtd+g5ETchVfw9yPfkmgrtfzlhVHY/TvpCagw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"Krg2dym2VgbL8W0f3/h6/tf/fDpW8KTtXFkWoajTbzwiBXnIJ88JzZQpMPqCYArRBwkS3nY9L1qGd38HYmXVgA==","permissions":"FULL"},{"keyName":"key2","value":"tmqcWdPZpw6i9kSzsejkceWBJVBuvQ41DkojSGq8q8GO2ns2oMTIHe373wyVxydtioX1yZa3q/thL+6RnG85Ow==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"UyQIV4I+ztkCO5hAwvmOO/jARYimlK3AJokCiiSJ1BjzEinkwzY0yMgMPT9Vl83EZZcts9ivPRv9GxZ5DWYOuQ==","permissions":"FULL"},{"keyName":"key2","value":"kMiPiLXMHAsPvJRrk8xL/SPTga7s7BmAzfnywoFAIw5TkId5cPtd+g5ETchVfw9yPfkmgrtfzlhVHY/TvpCagw==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:15 GMT'] - etag: ['"0x8D5AFACF735FDAA"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F3719F127B"'] + last-modified: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -177,8 +175,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-meta-cat: [hat] x-ms-meta-foo: [bar] x-ms-version: ['2017-07-29'] @@ -187,9 +185,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:15 GMT'] - etag: ['"0x8D5AFACF76CBAB9"'] - last-modified: ['Tue, 01 May 2018 21:46:16 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F371CEA9D3"'] + last-modified: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -199,17 +197,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF735FDAA"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F3719F127B"'] + last-modified: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-share-quota: ['5120'] @@ -220,17 +218,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000004?restype=share&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF76CBAB9"'] - last-modified: ['Tue, 01 May 2018 21:46:16 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] + etag: ['"0x8D5B9F371CEA9D3"'] + last-modified: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-cat: [hat] @@ -242,20 +240,20 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/?comp=list response: body: {string: "\uFEFFshare000004Tue,\ - \ 01 May 2018 21:46:16 GMT\"0x8D5AFACF76CBAB9\"5120share000003Tue,\ - \ 01 May 2018 21:46:15 GMT\"0x8D5AFACF735FDAA\"5120share000004Mon,\ + \ 14 May 2018 23:35:58 GMT\"0x8D5B9F371CEA9D3\"5120share000003Mon,\ + \ 14 May 2018 23:35:57 GMT\"0x8D5B9F3719F127B\"5120"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:16 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -266,8 +264,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:59 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] x-ms-version: ['2017-07-29'] @@ -276,9 +274,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF851B80F"'] - last-modified: ['Tue, 01 May 2018 21:46:17 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] + etag: ['"0x8D5B9F372D34618"'] + last-modified: ['Mon, 14 May 2018 23:35:59 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -288,17 +286,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:00 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF851B80F"'] - last-modified: ['Tue, 01 May 2018 21:46:17 GMT'] + date: ['Mon, 14 May 2018 23:35:59 GMT'] + etag: ['"0x8D5B9F372D34618"'] + last-modified: ['Mon, 14 May 2018 23:35:59 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-a: [b] @@ -311,17 +309,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:00 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF8C7EF15"'] - last-modified: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:36:01 GMT'] + etag: ['"0x8D5B9F373F6E9D1"'] + last-modified: ['Mon, 14 May 2018 23:36:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -331,17 +329,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:02 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF8C7EF15"'] - last-modified: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:36:01 GMT'] + etag: ['"0x8D5B9F373F6E9D1"'] + last-modified: ['Mon, 14 May 2018 23:36:01 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -352,8 +350,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:19 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:02 GMT'] x-ms-share-quota: ['3'] x-ms-version: ['2017-07-29'] method: PUT @@ -361,9 +359,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF931A01C"'] - last-modified: ['Tue, 01 May 2018 21:46:19 GMT'] + date: ['Mon, 14 May 2018 23:36:02 GMT'] + etag: ['"0x8D5B9F374844E1E"'] + last-modified: ['Mon, 14 May 2018 23:36:02 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -373,17 +371,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:19 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:02 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF931A01C"'] - last-modified: ['Tue, 01 May 2018 21:46:19 GMT'] + date: ['Mon, 14 May 2018 23:36:02 GMT'] + etag: ['"0x8D5B9F374844E1E"'] + last-modified: ['Mon, 14 May 2018 23:36:02 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-share-quota: ['3'] @@ -395,9 +393,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] + AZURECLI/2.0.33] x-ms-content-length: ['131072'] - x-ms-date: ['Tue, 01 May 2018 21:46:19 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:36:03 GMT'] x-ms-type: [file] x-ms-version: ['2017-07-29'] method: PUT @@ -405,9 +403,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:19 GMT'] - etag: ['"0x8D5AFACF9C0746C"'] - last-modified: ['Tue, 01 May 2018 21:46:20 GMT'] + date: ['Mon, 14 May 2018 23:36:02 GMT'] + etag: ['"0x8D5B9F37516A46C"'] + last-modified: ['Mon, 14 May 2018 23:36:03 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -3868,8 +3866,8 @@ interactions: Connection: [keep-alive] Content-Length: ['131072'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:20 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:03 GMT'] x-ms-range: [bytes=0-131071] x-ms-version: ['2017-07-29'] x-ms-write: [update] @@ -3879,9 +3877,9 @@ interactions: body: {string: ''} headers: content-md5: [DfvoqkwgtS4bi/PLbL3xkw==] - date: ['Tue, 01 May 2018 21:46:19 GMT'] - etag: ['"0x8D5AFACF9D9F5F5"'] - last-modified: ['Tue, 01 May 2018 21:46:20 GMT'] + date: ['Mon, 14 May 2018 23:36:02 GMT'] + etag: ['"0x8D5B9F3754165B4"'] + last-modified: ['Mon, 14 May 2018 23:36:03 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -3892,8 +3890,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:20 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:04 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin @@ -3902,9 +3900,9 @@ interactions: headers: content-length: ['131072'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:19 GMT'] - etag: ['"0x8D5AFACF9D9F5F5"'] - last-modified: ['Tue, 01 May 2018 21:46:20 GMT'] + date: ['Mon, 14 May 2018 23:36:04 GMT'] + etag: ['"0x8D5B9F3754165B4"'] + last-modified: ['Mon, 14 May 2018 23:36:03 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -3915,8 +3913,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:20 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:04 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-07-29'] method: GET @@ -7470,9 +7468,9 @@ interactions: content-length: ['131072'] content-range: [bytes 0-131071/131072] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:20 GMT'] - etag: ['"0x8D5AFACF9D9F5F5"'] - last-modified: ['Tue, 01 May 2018 21:46:20 GMT'] + date: ['Mon, 14 May 2018 23:36:04 GMT'] + etag: ['"0x8D5B9F3754165B4"'] + last-modified: ['Mon, 14 May 2018 23:36:03 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -7483,8 +7481,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:21 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:04 GMT'] x-ms-range: [bytes=0-511] x-ms-version: ['2017-07-29'] method: GET @@ -7509,9 +7507,9 @@ interactions: content-length: ['512'] content-range: [bytes 0-511/131072] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:20 GMT'] - etag: ['"0x8D5AFACF9D9F5F5"'] - last-modified: ['Tue, 01 May 2018 21:46:20 GMT'] + date: ['Mon, 14 May 2018 23:36:03 GMT'] + etag: ['"0x8D5B9F3754165B4"'] + last-modified: ['Mon, 14 May 2018 23:36:03 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -7523,18 +7521,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] + AZURECLI/2.0.33] x-ms-content-length: ['1234'] - x-ms-date: ['Tue, 01 May 2018 21:46:21 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:36:05 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin?comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:20 GMT'] - etag: ['"0x8D5AFACFABE720B"'] - last-modified: ['Tue, 01 May 2018 21:46:21 GMT'] + date: ['Mon, 14 May 2018 23:36:05 GMT'] + etag: ['"0x8D5B9F3767A93E2"'] + last-modified: ['Mon, 14 May 2018 23:36:05 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7545,8 +7543,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:22 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:06 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin @@ -7555,9 +7553,9 @@ interactions: headers: content-length: ['1234'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:21 GMT'] - etag: ['"0x8D5AFACFABE720B"'] - last-modified: ['Tue, 01 May 2018 21:46:21 GMT'] + date: ['Mon, 14 May 2018 23:36:05 GMT'] + etag: ['"0x8D5B9F3767A93E2"'] + last-modified: ['Mon, 14 May 2018 23:36:05 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -7569,8 +7567,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:22 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:06 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] x-ms-version: ['2017-07-29'] @@ -7579,9 +7577,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:22 GMT'] - etag: ['"0x8D5AFACFB303ACC"'] - last-modified: ['Tue, 01 May 2018 21:46:22 GMT'] + date: ['Mon, 14 May 2018 23:36:06 GMT'] + etag: ['"0x8D5B9F376F2E702"'] + last-modified: ['Mon, 14 May 2018 23:36:06 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7592,17 +7590,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:22 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:06 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin?comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:22 GMT'] - etag: ['"0x8D5AFACFB303ACC"'] - last-modified: ['Tue, 01 May 2018 21:46:22 GMT'] + date: ['Mon, 14 May 2018 23:36:06 GMT'] + etag: ['"0x8D5B9F376F2E702"'] + last-modified: ['Mon, 14 May 2018 23:36:06 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-a: [b] @@ -7615,17 +7613,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:23 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:07 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin?comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:22 GMT'] - etag: ['"0x8D5AFACFB9B4B36"'] - last-modified: ['Tue, 01 May 2018 21:46:23 GMT'] + date: ['Mon, 14 May 2018 23:36:06 GMT'] + etag: ['"0x8D5B9F3776DAB9D"'] + last-modified: ['Mon, 14 May 2018 23:36:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7636,17 +7634,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:23 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:07 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin?comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:22 GMT'] - etag: ['"0x8D5AFACFB9B4B36"'] - last-modified: ['Tue, 01 May 2018 21:46:23 GMT'] + date: ['Mon, 14 May 2018 23:36:06 GMT'] + etag: ['"0x8D5B9F3776DAB9D"'] + last-modified: ['Mon, 14 May 2018 23:36:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -7656,8 +7654,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:23 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:08 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=directory&comp=list @@ -7668,7 +7666,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:23 GMT'] + date: ['Mon, 14 May 2018 23:36:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -7678,8 +7676,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:24 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:08 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin @@ -7688,9 +7686,9 @@ interactions: headers: content-length: ['1234'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:23 GMT'] - etag: ['"0x8D5AFACFB9B4B36"'] - last-modified: ['Tue, 01 May 2018 21:46:23 GMT'] + date: ['Mon, 14 May 2018 23:36:08 GMT'] + etag: ['"0x8D5B9F3776DAB9D"'] + last-modified: ['Mon, 14 May 2018 23:36:07 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['false'] x-ms-type: [File] @@ -7702,18 +7700,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] + AZURECLI/2.0.33] x-ms-content-type: [test/type] - x-ms-date: ['Tue, 01 May 2018 21:46:24 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:36:08 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin?comp=properties response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:23 GMT'] - etag: ['"0x8D5AFACFC8D3802"'] - last-modified: ['Tue, 01 May 2018 21:46:24 GMT'] + date: ['Mon, 14 May 2018 23:36:09 GMT'] + etag: ['"0x8D5B9F3786EF6BC"'] + last-modified: ['Mon, 14 May 2018 23:36:09 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7724,8 +7722,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:25 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:09 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin @@ -7734,9 +7732,9 @@ interactions: headers: content-length: ['1234'] content-type: [test/type] - date: ['Tue, 01 May 2018 21:46:24 GMT'] - etag: ['"0x8D5AFACFC8D3802"'] - last-modified: ['Tue, 01 May 2018 21:46:24 GMT'] + date: ['Mon, 14 May 2018 23:36:09 GMT'] + etag: ['"0x8D5B9F3786EF6BC"'] + last-modified: ['Mon, 14 May 2018 23:36:09 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['false'] x-ms-type: [File] @@ -7748,15 +7746,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:25 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:09 GMT'] x-ms-version: ['2017-07-29'] method: DELETE uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:25 GMT'] + date: ['Mon, 14 May 2018 23:36:10 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -7766,15 +7764,15 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:25 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:10 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/sample_file.bin response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:25 GMT'] + date: ['Mon, 14 May 2018 23:36:10 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [ResourceNotFound] @@ -7786,17 +7784,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:26 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:10 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:26 GMT'] - etag: ['"0x8D5AFACFD6D463D"'] - last-modified: ['Tue, 01 May 2018 21:46:26 GMT'] + date: ['Mon, 14 May 2018 23:36:10 GMT'] + etag: ['"0x8D5B9F3799DC2DD"'] + last-modified: ['Mon, 14 May 2018 23:36:11 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7807,8 +7805,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:26 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:11 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=directory&comp=list @@ -7819,7 +7817,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:26 GMT'] + date: ['Mon, 14 May 2018 23:36:10 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -7829,17 +7827,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:26 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:11 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:27 GMT'] - etag: ['"0x8D5AFACFD6D463D"'] - last-modified: ['Tue, 01 May 2018 21:46:26 GMT'] + date: ['Mon, 14 May 2018 23:36:11 GMT'] + etag: ['"0x8D5B9F3799DC2DD"'] + last-modified: ['Mon, 14 May 2018 23:36:11 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-server-encrypted: ['true'] @@ -7851,8 +7849,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:27 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:12 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] x-ms-version: ['2017-07-29'] @@ -7861,9 +7859,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:26 GMT'] - etag: ['"0x8D5AFACFE0BCF00"'] - last-modified: ['Tue, 01 May 2018 21:46:27 GMT'] + date: ['Mon, 14 May 2018 23:36:11 GMT'] + etag: ['"0x8D5B9F37A5993CF"'] + last-modified: ['Mon, 14 May 2018 23:36:12 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7874,17 +7872,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:27 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:12 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:27 GMT'] - etag: ['"0x8D5AFACFE0BCF00"'] - last-modified: ['Tue, 01 May 2018 21:46:27 GMT'] + date: ['Mon, 14 May 2018 23:36:12 GMT'] + etag: ['"0x8D5B9F37A5993CF"'] + last-modified: ['Mon, 14 May 2018 23:36:12 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-a: [b] @@ -7896,17 +7894,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:27 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:13 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:27 GMT'] - etag: ['"0x8D5AFACFE0BCF00"'] - last-modified: ['Tue, 01 May 2018 21:46:27 GMT'] + date: ['Mon, 14 May 2018 23:36:12 GMT'] + etag: ['"0x8D5B9F37A5993CF"'] + last-modified: ['Mon, 14 May 2018 23:36:12 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-a: [b] @@ -7920,17 +7918,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:28 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:13 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:27 GMT'] - etag: ['"0x8D5AFACFEB5A51F"'] - last-modified: ['Tue, 01 May 2018 21:46:28 GMT'] + date: ['Mon, 14 May 2018 23:36:13 GMT'] + etag: ['"0x8D5B9F37B1A47BA"'] + last-modified: ['Mon, 14 May 2018 23:36:13 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -7941,17 +7939,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:28 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:13 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:28 GMT'] - etag: ['"0x8D5AFACFEB5A51F"'] - last-modified: ['Tue, 01 May 2018 21:46:28 GMT'] + date: ['Mon, 14 May 2018 23:36:13 GMT'] + etag: ['"0x8D5B9F37B1A47BA"'] + last-modified: ['Mon, 14 May 2018 23:36:13 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -7962,9 +7960,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] + AZURECLI/2.0.33] x-ms-content-length: ['65536'] - x-ms-date: ['Tue, 01 May 2018 21:46:29 GMT'] + x-ms-date: ['Mon, 14 May 2018 23:36:14 GMT'] x-ms-type: [file] x-ms-version: ['2017-07-29'] method: PUT @@ -7972,9 +7970,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:29 GMT'] - etag: ['"0x8D5AFACFF2CC653"'] - last-modified: ['Tue, 01 May 2018 21:46:29 GMT'] + date: ['Mon, 14 May 2018 23:36:14 GMT'] + etag: ['"0x8D5B9F37B9C3992"'] + last-modified: ['Mon, 14 May 2018 23:36:14 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -9710,8 +9708,8 @@ interactions: Connection: [keep-alive] Content-Length: ['65536'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:29 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:14 GMT'] x-ms-range: [bytes=0-65535] x-ms-version: ['2017-07-29'] x-ms-write: [update] @@ -9721,9 +9719,9 @@ interactions: body: {string: ''} headers: content-md5: [/Na8tWwWifzvKLV8IkdbrQ==] - date: ['Tue, 01 May 2018 21:46:29 GMT'] - etag: ['"0x8D5AFACFF4164B0"'] - last-modified: ['Tue, 01 May 2018 21:46:29 GMT'] + date: ['Mon, 14 May 2018 23:36:14 GMT'] + etag: ['"0x8D5B9F37BB3211D"'] + last-modified: ['Mon, 14 May 2018 23:36:14 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -9734,8 +9732,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:29 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:14 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/dir000005/testfile.txt @@ -9744,9 +9742,9 @@ interactions: headers: content-length: ['65536'] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:29 GMT'] - etag: ['"0x8D5AFACFF4164B0"'] - last-modified: ['Tue, 01 May 2018 21:46:29 GMT'] + date: ['Mon, 14 May 2018 23:36:14 GMT'] + etag: ['"0x8D5B9F37BB3211D"'] + last-modified: ['Mon, 14 May 2018 23:36:14 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -9757,8 +9755,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:30 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:15 GMT'] x-ms-range: [bytes=0-33554431] x-ms-version: ['2017-07-29'] method: GET @@ -11541,9 +11539,9 @@ interactions: content-length: ['65536'] content-range: [bytes 0-65535/65536] content-type: [application/octet-stream] - date: ['Tue, 01 May 2018 21:46:30 GMT'] - etag: ['"0x8D5AFACFF4164B0"'] - last-modified: ['Tue, 01 May 2018 21:46:29 GMT'] + date: ['Mon, 14 May 2018 23:36:14 GMT'] + etag: ['"0x8D5B9F37BB3211D"'] + last-modified: ['Mon, 14 May 2018 23:36:14 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-server-encrypted: ['true'] x-ms-type: [File] @@ -11554,8 +11552,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:30 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:15 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory&comp=list @@ -11566,7 +11564,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:29 GMT'] + date: ['Mon, 14 May 2018 23:36:15 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -11576,8 +11574,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:30 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:16 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=stats @@ -11585,7 +11583,7 @@ interactions: body: {string: "\uFEFF1"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:30 GMT'] + date: ['Mon, 14 May 2018 23:36:16 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -11596,15 +11594,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:31 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:16 GMT'] x-ms-version: ['2017-07-29'] method: DELETE uri: https://clitest000002.file.core.windows.net/share000003/dir000005/testfile.txt response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:30 GMT'] + date: ['Mon, 14 May 2018 23:36:16 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -11614,15 +11612,15 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:31 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:17 GMT'] x-ms-version: ['2017-07-29'] method: HEAD uri: https://clitest000002.file.core.windows.net/share000003/testfile.txt response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:31 GMT'] + date: ['Mon, 14 May 2018 23:36:16 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-error-code: [ResourceNotFound] @@ -11634,15 +11632,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:31 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:17 GMT'] x-ms-version: ['2017-07-29'] method: DELETE uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:31 GMT'] + date: ['Mon, 14 May 2018 23:36:17 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -11652,19 +11650,19 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:32 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:18 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000005?restype=directory response: body: {string: "\uFEFFResourceNotFoundThe\ - \ specified resource does not exist.\nRequestId:1e9b357f-901a-000d-3f95-e1020e000000\n\ - Time:2018-05-01T21:46:32.5260555Z"} + \ specified resource does not exist.\nRequestId:34638243-d01a-00fc-32dc-ebbf20000000\n\ + Time:2018-05-14T23:36:18.2041997Z"} headers: content-length: ['223'] content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:32 GMT'] + date: ['Mon, 14 May 2018 23:36:18 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] x-ms-error-code: [ResourceNotFound] x-ms-version: ['2017-07-29'] @@ -11675,8 +11673,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:32 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:18 GMT'] x-ms-meta-cat: [hat] x-ms-meta-foo: [bar] x-ms-version: ['2017-07-29'] @@ -11685,9 +11683,9 @@ interactions: response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:32 GMT'] - etag: ['"0x8D5AFAD014837F9"'] - last-modified: ['Tue, 01 May 2018 21:46:32 GMT'] + date: ['Mon, 14 May 2018 23:36:18 GMT'] + etag: ['"0x8D5B9F37E1D3E9A"'] + last-modified: ['Mon, 14 May 2018 23:36:18 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-request-server-encrypted: ['true'] @@ -11698,17 +11696,17 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:33 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:18 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003/dir000006?restype=directory&comp=metadata response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:33 GMT'] - etag: ['"0x8D5AFAD014837F9"'] - last-modified: ['Tue, 01 May 2018 21:46:32 GMT'] + date: ['Mon, 14 May 2018 23:36:18 GMT'] + etag: ['"0x8D5B9F37E1D3E9A"'] + last-modified: ['Mon, 14 May 2018 23:36:18 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-meta-cat: [hat] @@ -11721,15 +11719,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:33 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:19 GMT'] x-ms-version: ['2017-07-29'] method: DELETE uri: https://clitest000002.file.core.windows.net/share000003/dir000006?restype=directory response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:33 GMT'] + date: ['Mon, 14 May 2018 23:36:18 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -11740,15 +11738,15 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:33 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:19 GMT'] x-ms-version: ['2017-07-29'] method: DELETE uri: https://clitest000002.file.core.windows.net/share000003?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:33 GMT'] + date: ['Mon, 14 May 2018 23:36:19 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -11762,9 +11760,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -11773,12 +11771,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:33 GMT'] + date: ['Mon, 14 May 2018 23:36:20 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc3R1JITEpCVENPN002VlNXSklBRkdPNVBDUFBUTTVIRkY2Mnw2OEE5RjAxMjgwRjg4QzczLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdOQ1ZPSlBBTTdYVlFEN1FCRTJTTUhGUzZaSTdaUUNXQVkzRXwyMjIyN0UwQUQwMzg2N0Y1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_immutability_policy.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_immutability_policy.yaml new file mode 100644 index 00000000000..1005de1e567 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_immutability_policy.yaml @@ -0,0 +1,541 @@ +interactions: +- request: + body: '{"location": "eastus2euap", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-05-15T02:09:45Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['115'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","date":"2018-05-15T02:09:45Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['389'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 15 May 2018 02:09:46 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: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "eastus2euap", + "properties": {"supportsHttpsTrafficOnly": false}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account create] + Connection: [keep-alive] + Content-Length: ['130'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + content-type: [text/plain; charset=utf-8] + date: ['Tue, 15 May 2018 02:09:49 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/ebb6fbf4-7a41-48f8-9a21-1a58a79c8339?monitor=true&api-version=2018-02-01'] + pragma: [no-cache] + server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 + Microsoft-HTTPAPI/2.0'] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account create] + Connection: [keep-alive] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/ebb6fbf4-7a41-48f8-9a21-1a58a79c8339?monitor=true&api-version=2018-02-01 + response: + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T02:09:49.4622185Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T02:09:49.4622185Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T02:09:49.3684695Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}'} + headers: + cache-control: [no-cache] + content-length: ['1241'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:07 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: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account keys list] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 + response: + body: {string: '{"keys":[{"keyName":"key1","value":"V5Hr3+no4QBo3Y4Mj1/He5nYDBURm/sHqlkd04lC787/E5NwxyG7D4M7xZJ9FaWr5aHiBY3/PsjdRKy5wMXZTQ==","permissions":"FULL"},{"keyName":"key2","value":"lauHdb8Hi3VkUbH41feOjxsiJAriHl2VCpvcQFNmH0dgUyz87UODWRx+RLinx0f9CJUrrafo98HqlbuOiODHSA==","permissions":"FULL"}]}'} + headers: + cache-control: [no-cache] + content-length: ['288'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:08 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2018-02-01 + response: + body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestlab1/providers/Microsoft.Storage/storageAccounts/acliautomationlab8902","name":"acliautomationlab8902","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"hidden-DevTestLabs-LabUId":"ca9ec547-32c5-422d-b3d2-25906ed71959"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:51:47.2194106Z","primaryEndpoints":{"web":"https://acliautomationlab8902.web.core.windows.net/","blob":"https://acliautomationlab8902.blob.core.windows.net/","queue":"https://acliautomationlab8902.queue.core.windows.net/","table":"https://acliautomationlab8902.table.core.windows.net/","file":"https://acliautomationlab8902.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup2/providers/Microsoft.Storage/storageAccounts/wilxstorage0","name":"wilxstorage0","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-04-13T01:05:28.4023820Z","primaryEndpoints":{"web":"https://wilxstorage0.z5.web.core.windows.net/","blob":"https://wilxstorage0.blob.core.windows.net/","queue":"https://wilxstorage0.queue.core.windows.net/","table":"https://wilxstorage0.table.core.windows.net/","file":"https://wilxstorage0.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmr6jo34yofyafj3n6gjbhrgmrd6pwgguthc2u235qfle6y6ztyzrlkuqn544s7cop/providers/Microsoft.Storage/storageAccounts/clitestnlmd52jlcmr4ce7b4","name":"clitestnlmd52jlcmr4ce7b4","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:14:07.3188286Z","primaryEndpoints":{"web":"https://clitestnlmd52jlcmr4ce7b4.web.core.windows.net/","blob":"https://clitestnlmd52jlcmr4ce7b4.blob.core.windows.net/","queue":"https://clitestnlmd52jlcmr4ce7b4.queue.core.windows.net/","table":"https://clitestnlmd52jlcmr4ce7b4.table.core.windows.net/","file":"https://clitestnlmd52jlcmr4ce7b4.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageworm","name":"wilxstorageworm","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-13T22:36:53.0909769Z","primaryEndpoints":{"web":"https://wilxstorageworm.web.core.windows.net/","blob":"https://wilxstorageworm.blob.core.windows.net/","queue":"https://wilxstorageworm.queue.core.windows.net/","table":"https://wilxstorageworm.table.core.windows.net/","file":"https://wilxstorageworm.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"web":"https://wilxstorageworm-secondary.web.core.windows.net/","blob":"https://wilxstorageworm-secondary.blob.core.windows.net/","queue":"https://wilxstorageworm-secondary.queue.core.windows.net/","table":"https://wilxstorageworm-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgnipcxreywyorqhptpg4lmvsb6sqsef3mezozbrenqq6ufmd3hrh7plmdnorjt5y5x/providers/Microsoft.Storage/storageAccounts/clitestshv4qcdkeictveped","name":"clitestshv4qcdkeictveped","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T19:04:11.3686065Z","primaryEndpoints":{"blob":"https://clitestshv4qcdkeictveped.blob.core.windows.net/","queue":"https://clitestshv4qcdkeictveped.queue.core.windows.net/","table":"https://clitestshv4qcdkeictveped.table.core.windows.net/","file":"https://clitestshv4qcdkeictveped.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg326oxnqqn33y3n42vz6x5xol5rvvw3z4o6tladwwtkmcntnsxhhxxtddtrxwm2edj/providers/Microsoft.Storage/storageAccounts/clitestjwzkdsfuou3niutbd","name":"clitestjwzkdsfuou3niutbd","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:07:33.0552270Z","primaryEndpoints":{"web":"https://clitestjwzkdsfuou3niutbd.web.core.windows.net/","blob":"https://clitestjwzkdsfuou3niutbd.blob.core.windows.net/","queue":"https://clitestjwzkdsfuou3niutbd.queue.core.windows.net/","table":"https://clitestjwzkdsfuou3niutbd.table.core.windows.net/","file":"https://clitestjwzkdsfuou3niutbd.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgldagdmcl4pklmwzmr3wftx2kidhw7johz6d7tl6m7raetzzfhpqhrfffu5vwqtfxo/providers/Microsoft.Storage/storageAccounts/clitestt6pqb7xneswrh2sp6","name":"clitestt6pqb7xneswrh2sp6","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:51:14.8105336Z","primaryEndpoints":{"web":"https://clitestt6pqb7xneswrh2sp6.web.core.windows.net/","blob":"https://clitestt6pqb7xneswrh2sp6.blob.core.windows.net/","queue":"https://clitestt6pqb7xneswrh2sp6.queue.core.windows.net/","table":"https://clitestt6pqb7xneswrh2sp6.table.core.windows.net/","file":"https://clitestt6pqb7xneswrh2sp6.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgf3er5m4irbxsxhyil42jxq3t5ehzphmdzn2gortdlrzyw4i6tlgswx2xrcgldp6oh/providers/Microsoft.Storage/storageAccounts/clitestpabilv4yd6qxvguml","name":"clitestpabilv4yd6qxvguml","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T19:20:22.2445526Z","primaryEndpoints":{"web":"https://clitestpabilv4yd6qxvguml.web.core.windows.net/","blob":"https://clitestpabilv4yd6qxvguml.blob.core.windows.net/","queue":"https://clitestpabilv4yd6qxvguml.queue.core.windows.net/","table":"https://clitestpabilv4yd6qxvguml.table.core.windows.net/","file":"https://clitestpabilv4yd6qxvguml.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwxiadyatfxsixayqfinia7ybjwo5cfoyw65qpuna3alx3x2diwukx4tkcpwir2mbq/providers/Microsoft.Storage/storageAccounts/clitesta2lvllqz23rgasyf7","name":"clitesta2lvllqz23rgasyf7","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:57:25.6193002Z","primaryEndpoints":{"web":"https://clitesta2lvllqz23rgasyf7.web.core.windows.net/","blob":"https://clitesta2lvllqz23rgasyf7.blob.core.windows.net/","queue":"https://clitesta2lvllqz23rgasyf7.queue.core.windows.net/","table":"https://clitesta2lvllqz23rgasyf7.table.core.windows.net/","file":"https://clitesta2lvllqz23rgasyf7.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoo2qxqtbb56w7uujqzhodrozdh7fxg5wxscql4ndybxkardgqzqvheltadic2zoxf/providers/Microsoft.Storage/storageAccounts/clitestfyixx74gs3loj3isf","name":"clitestfyixx74gs3loj3isf","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:34:26.5668681Z","primaryEndpoints":{"web":"https://clitestfyixx74gs3loj3isf.web.core.windows.net/","blob":"https://clitestfyixx74gs3loj3isf.blob.core.windows.net/","queue":"https://clitestfyixx74gs3loj3isf.queue.core.windows.net/","table":"https://clitestfyixx74gs3loj3isf.table.core.windows.net/","file":"https://clitestfyixx74gs3loj3isf.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T02:09:49.4622185Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T02:09:49.4622185Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T02:09:49.3684695Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd5ygu6mbq43qw57ncgznekmhwaqlrowjc6dggyk2h6cfwioigvtt3bg7ayqckcwvk/providers/Microsoft.Storage/storageAccounts/clitestixsogcl5p5af5w2p3","name":"clitestixsogcl5p5af5w2p3","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T18:00:02.2087326Z","primaryEndpoints":{"web":"https://clitestixsogcl5p5af5w2p3.web.core.windows.net/","blob":"https://clitestixsogcl5p5af5w2p3.blob.core.windows.net/","queue":"https://clitestixsogcl5p5af5w2p3.queue.core.windows.net/","table":"https://clitestixsogcl5p5af5w2p3.table.core.windows.net/","file":"https://clitestixsogcl5p5af5w2p3.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeyg7p46zydk24opv23uowejjybhvp2nqcyqpnmknbs7o3w5c3tocuuygkogbvxz5f/providers/Microsoft.Storage/storageAccounts/clitestcrdofae6jvibomf2w","name":"clitestcrdofae6jvibomf2w","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T01:19:55.7120798Z","primaryEndpoints":{"web":"https://clitestcrdofae6jvibomf2w.web.core.windows.net/","blob":"https://clitestcrdofae6jvibomf2w.blob.core.windows.net/","queue":"https://clitestcrdofae6jvibomf2w.queue.core.windows.net/","table":"https://clitestcrdofae6jvibomf2w.table.core.windows.net/","file":"https://clitestcrdofae6jvibomf2w.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeblmtd6pv6car44ga6qwvicwjyuxydhhkaharam4nad6uekgqgm2uiisw7v4a3czx/providers/Microsoft.Storage/storageAccounts/clitestcdx4bwlcvgviotc2p","name":"clitestcdx4bwlcvgviotc2p","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T22:26:48.9744081Z","primaryEndpoints":{"web":"https://clitestcdx4bwlcvgviotc2p.web.core.windows.net/","blob":"https://clitestcdx4bwlcvgviotc2p.blob.core.windows.net/","queue":"https://clitestcdx4bwlcvgviotc2p.queue.core.windows.net/","table":"https://clitestcdx4bwlcvgviotc2p.table.core.windows.net/","file":"https://clitestcdx4bwlcvgviotc2p.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['18240'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 15 May 2018 02:10:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-original-request-ids: [8e09fa58-2571-45e6-925b-30c34d53cca1, 7e931062-49d0-41ca-bba8-97037ef8ba18, + da08f8e7-fcea-4671-b831-32a2cbd759e3] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container create] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 + response: + body: {string: '{"keys":[{"keyName":"key1","value":"V5Hr3+no4QBo3Y4Mj1/He5nYDBURm/sHqlkd04lC787/E5NwxyG7D4M7xZJ9FaWr5aHiBY3/PsjdRKy5wMXZTQ==","permissions":"FULL"},{"keyName":"key2","value":"lauHdb8Hi3VkUbH41feOjxsiJAriHl2VCpvcQFNmH0dgUyz87UODWRx+RLinx0f9CJUrrafo98HqlbuOiODHSA==","permissions":"FULL"}]}'} + headers: + cache-control: [no-cache] + content-length: ['288'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:10 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Tue, 15 May 2018 02:10:10 GMT'] + x-ms-version: ['2017-11-09'] + method: PUT + uri: https://clitest000002.blob.core.windows.net/container1?restype=container + response: + body: {string: ''} + headers: + date: ['Tue, 15 May 2018 02:10:11 GMT'] + etag: ['"0x8D5BA08FD25B778"'] + last-modified: ['Tue, 15 May 2018 02:10:11 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] + x-ms-version: ['2017-11-09'] + status: {code: 201, message: Created} +- request: + body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 1}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy create] + Connection: [keep-alive] + Content-Length: ['60'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba08fe053da9\"","properties":{"immutabilityPeriodSinceCreationInDays":1,"state":"Unlocked"}}'} + headers: + cache-control: [no-cache] + content-length: ['502'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:12 GMT'] + etag: ['"8d5ba08fe053da9"'] + 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba08fe053da9\"","properties":{"immutabilityPeriodSinceCreationInDays":1,"state":"Unlocked"}}'} + headers: + cache-control: [no-cache] + content-length: ['502'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:13 GMT'] + etag: ['"8d5ba08fe053da9"'] + 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: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + If-Match: ['"8d5ba08fe053da9"'] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba08ffee19c3\"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Unlocked"}}'} + headers: + cache-control: [no-cache] + content-length: ['502'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:15 GMT'] + etag: ['"8d5ba08ffee19c3"'] + 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] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Unlocked"}}'} + headers: + cache-control: [no-cache] + content-length: ['483'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:16 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: '{"properties": {"immutabilityPeriodSinceCreationInDays": 1}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy create] + Connection: [keep-alive] + Content-Length: ['60'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba09014c9800\"","properties":{"immutabilityPeriodSinceCreationInDays":1,"state":"Unlocked"}}'} + headers: + cache-control: [no-cache] + content-length: ['502'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:18 GMT'] + etag: ['"8d5ba09014c9800"'] + 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba09014c9800\"","properties":{"immutabilityPeriodSinceCreationInDays":1,"state":"Unlocked"}}'} + headers: + cache-control: [no-cache] + content-length: ['502'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:18 GMT'] + etag: ['"8d5ba09014c9800"'] + 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: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy lock] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + If-Match: ['"8d5ba09014c9800"'] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default/lock?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba0902127da7\"","properties":{"immutabilityPeriodSinceCreationInDays":1,"state":"Locked"}}'} + headers: + cache-control: [no-cache] + content-length: ['500'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:19 GMT'] + etag: ['"8d5ba0902127da7"'] + 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba0902127da7\"","properties":{"immutabilityPeriodSinceCreationInDays":1,"state":"Locked"}}'} + headers: + cache-control: [no-cache] + content-length: ['500'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:20 GMT'] + etag: ['"8d5ba0902127da7"'] + 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: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy delete] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + If-Match: ['"8d5ba0902127da7"'] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default?api-version=2018-02-01 + response: + body: {string: '{"error":{"code":"ContainerImmutabilityPolicyFailure","message":"Operation + not allowed on immutability policy with current state."}}'} + headers: + cache-control: [no-cache] + content-length: ['132'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:21 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] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 409, message: Conflict} +- request: + body: '{"properties": {"immutabilityPeriodSinceCreationInDays": 2}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container immutability-policy extend] + Connection: [keep-alive] + Content-Length: ['60'] + Content-Type: [application/json; charset=utf-8] + If-Match: ['"8d5ba0902127da7"'] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default/extend?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/immutabilityPolicies/default","name":"default","type":"Microsoft.Storage/storageAccounts/blobServices/containers/immutabilityPolicies","etag":"\"8d5ba0903eb3c03\"","properties":{"immutabilityPeriodSinceCreationInDays":2,"state":"Locked"}}'} + headers: + cache-control: [no-cache] + content-length: ['500'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:10:21 GMT'] + etag: ['"8d5ba0903eb3c03"'] + 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- 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.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 15 May 2018 02:10:23 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc2WEY0SURWTlhDTEdBTVJDUDJFWlY1NFFISzNET1lGRlJJV3w2QTY1NkNCNUVBQTE0NjlELUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2017-05-10'] + 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 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_legal_hold.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_legal_hold.yaml new file mode 100644 index 00000000000..4d05e71c924 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_legal_hold.yaml @@ -0,0 +1,320 @@ +interactions: +- request: + body: '{"location": "eastus2euap", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-05-15T02:10:46Z"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['115'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"eastus2euap","tags":{"product":"azurecli","cause":"automation","date":"2018-05-15T02:10:46Z"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['389'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 15 May 2018 02:10:48 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: '{"sku": {"name": "Standard_LRS"}, "kind": "Storage", "location": "eastus2euap", + "properties": {"supportsHttpsTrafficOnly": false}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account create] + Connection: [keep-alive] + Content-Length: ['130'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + content-type: [text/plain; charset=utf-8] + date: ['Tue, 15 May 2018 02:10:51 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/56167440-c816-4d77-b7a2-3c50708c9125?monitor=true&api-version=2018-02-01'] + pragma: [no-cache] + server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 + Microsoft-HTTPAPI/2.0'] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account create] + Connection: [keep-alive] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/eastus2euap/asyncoperations/56167440-c816-4d77-b7a2-3c50708c9125?monitor=true&api-version=2018-02-01 + response: + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T02:10:51.0340878Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T02:10:51.0340878Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T02:10:50.9872114Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}'} + headers: + cache-control: [no-cache] + content-length: ['1241'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:11:08 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: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account keys list] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 + response: + body: {string: '{"keys":[{"keyName":"key1","value":"9Baal+V63YCN9piBZsurBKAIqNLM031Amv1ZwpfTogXFWJ6y8evqafkFwsL1kbpQrb1ysuFUnYyO8O81gcX0Mw==","permissions":"FULL"},{"keyName":"key2","value":"uky+hiO11C0L+0+7Uq7stL1PqrVOC4RQuY1gH23LDuKOaZnmp3eIMFVCGo/TMSSGr8Q96nNy5tr+AYrUWmq+bg==","permissions":"FULL"}]}'} + headers: + cache-control: [no-cache] + content-length: ['288'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:11:09 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container create] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/storageAccounts?api-version=2018-02-01 + response: + body: {string: '{"value":[{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitestlab1/providers/Microsoft.Storage/storageAccounts/acliautomationlab8902","name":"acliautomationlab8902","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{"hidden-DevTestLabs-LabUId":"ca9ec547-32c5-422d-b3d2-25906ed71959"},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T16:51:47.2662871Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T16:51:47.2194106Z","primaryEndpoints":{"web":"https://acliautomationlab8902.web.core.windows.net/","blob":"https://acliautomationlab8902.blob.core.windows.net/","queue":"https://acliautomationlab8902.queue.core.windows.net/","table":"https://acliautomationlab8902.table.core.windows.net/","file":"https://acliautomationlab8902.file.core.windows.net/"},"primaryLocation":"southcentralus","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"StorageV2","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup2/providers/Microsoft.Storage/storageAccounts/wilxstorage0","name":"wilxstorage0","type":"Microsoft.Storage/storageAccounts","location":"westus2","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T01:05:28.4648959Z"}},"keySource":"Microsoft.Storage"},"accessTier":"Hot","provisioningState":"Succeeded","creationTime":"2018-04-13T01:05:28.4023820Z","primaryEndpoints":{"web":"https://wilxstorage0.z5.web.core.windows.net/","blob":"https://wilxstorage0.blob.core.windows.net/","queue":"https://wilxstorage0.queue.core.windows.net/","table":"https://wilxstorage0.table.core.windows.net/","file":"https://wilxstorage0.file.core.windows.net/"},"primaryLocation":"westus2","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T02:10:51.0340878Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T02:10:51.0340878Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T02:10:50.9872114Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgmr6jo34yofyafj3n6gjbhrgmrd6pwgguthc2u235qfle6y6ztyzrlkuqn544s7cop/providers/Microsoft.Storage/storageAccounts/clitestnlmd52jlcmr4ce7b4","name":"clitestnlmd52jlcmr4ce7b4","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:14:07.3500611Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:14:07.3188286Z","primaryEndpoints":{"web":"https://clitestnlmd52jlcmr4ce7b4.web.core.windows.net/","blob":"https://clitestnlmd52jlcmr4ce7b4.blob.core.windows.net/","queue":"https://clitestnlmd52jlcmr4ce7b4.queue.core.windows.net/","table":"https://clitestnlmd52jlcmr4ce7b4.table.core.windows.net/","file":"https://clitestnlmd52jlcmr4ce7b4.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/wilxgroup3/providers/Microsoft.Storage/storageAccounts/wilxstorageworm","name":"wilxstorageworm","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-13T22:36:53.1534839Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-13T22:36:53.0909769Z","primaryEndpoints":{"web":"https://wilxstorageworm.web.core.windows.net/","blob":"https://wilxstorageworm.blob.core.windows.net/","queue":"https://wilxstorageworm.queue.core.windows.net/","table":"https://wilxstorageworm.table.core.windows.net/","file":"https://wilxstorageworm.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available","secondaryLocation":"centraluseuap","statusOfSecondary":"available","secondaryEndpoints":{"web":"https://wilxstorageworm-secondary.web.core.windows.net/","blob":"https://wilxstorageworm-secondary.blob.core.windows.net/","queue":"https://wilxstorageworm-secondary.queue.core.windows.net/","table":"https://wilxstorageworm-secondary.table.core.windows.net/"}}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgnipcxreywyorqhptpg4lmvsb6sqsef3mezozbrenqq6ufmd3hrh7plmdnorjt5y5x/providers/Microsoft.Storage/storageAccounts/clitestshv4qcdkeictveped","name":"clitestshv4qcdkeictveped","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T19:04:11.4311113Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T19:04:11.3686065Z","primaryEndpoints":{"blob":"https://clitestshv4qcdkeictveped.blob.core.windows.net/","queue":"https://clitestshv4qcdkeictveped.queue.core.windows.net/","table":"https://clitestshv4qcdkeictveped.table.core.windows.net/","file":"https://clitestshv4qcdkeictveped.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg326oxnqqn33y3n42vz6x5xol5rvvw3z4o6tladwwtkmcntnsxhhxxtddtrxwm2edj/providers/Microsoft.Storage/storageAccounts/clitestjwzkdsfuou3niutbd","name":"clitestjwzkdsfuou3niutbd","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:07:33.1021018Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:07:33.0552270Z","primaryEndpoints":{"web":"https://clitestjwzkdsfuou3niutbd.web.core.windows.net/","blob":"https://clitestjwzkdsfuou3niutbd.blob.core.windows.net/","queue":"https://clitestjwzkdsfuou3niutbd.queue.core.windows.net/","table":"https://clitestjwzkdsfuou3niutbd.table.core.windows.net/","file":"https://clitestjwzkdsfuou3niutbd.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgldagdmcl4pklmwzmr3wftx2kidhw7johz6d7tl6m7raetzzfhpqhrfffu5vwqtfxo/providers/Microsoft.Storage/storageAccounts/clitestt6pqb7xneswrh2sp6","name":"clitestt6pqb7xneswrh2sp6","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:51:14.8730435Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:51:14.8105336Z","primaryEndpoints":{"web":"https://clitestt6pqb7xneswrh2sp6.web.core.windows.net/","blob":"https://clitestt6pqb7xneswrh2sp6.blob.core.windows.net/","queue":"https://clitestt6pqb7xneswrh2sp6.queue.core.windows.net/","table":"https://clitestt6pqb7xneswrh2sp6.table.core.windows.net/","file":"https://clitestt6pqb7xneswrh2sp6.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgf3er5m4irbxsxhyil42jxq3t5ehzphmdzn2gortdlrzyw4i6tlgswx2xrcgldp6oh/providers/Microsoft.Storage/storageAccounts/clitestpabilv4yd6qxvguml","name":"clitestpabilv4yd6qxvguml","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T19:20:22.2758006Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T19:20:22.2445526Z","primaryEndpoints":{"web":"https://clitestpabilv4yd6qxvguml.web.core.windows.net/","blob":"https://clitestpabilv4yd6qxvguml.blob.core.windows.net/","queue":"https://clitestpabilv4yd6qxvguml.queue.core.windows.net/","table":"https://clitestpabilv4yd6qxvguml.table.core.windows.net/","file":"https://clitestpabilv4yd6qxvguml.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgwxiadyatfxsixayqfinia7ybjwo5cfoyw65qpuna3alx3x2diwukx4tkcpwir2mbq/providers/Microsoft.Storage/storageAccounts/clitesta2lvllqz23rgasyf7","name":"clitesta2lvllqz23rgasyf7","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T17:57:25.6818153Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T17:57:25.6193002Z","primaryEndpoints":{"web":"https://clitesta2lvllqz23rgasyf7.web.core.windows.net/","blob":"https://clitesta2lvllqz23rgasyf7.blob.core.windows.net/","queue":"https://clitesta2lvllqz23rgasyf7.queue.core.windows.net/","table":"https://clitesta2lvllqz23rgasyf7.table.core.windows.net/","file":"https://clitesta2lvllqz23rgasyf7.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgoo2qxqtbb56w7uujqzhodrozdh7fxg5wxscql4ndybxkardgqzqvheltadic2zoxf/providers/Microsoft.Storage/storageAccounts/clitestfyixx74gs3loj3isf","name":"clitestfyixx74gs3loj3isf","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T20:34:26.6293927Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T20:34:26.5668681Z","primaryEndpoints":{"web":"https://clitestfyixx74gs3loj3isf.web.core.windows.net/","blob":"https://clitestfyixx74gs3loj3isf.blob.core.windows.net/","queue":"https://clitestfyixx74gs3loj3isf.queue.core.windows.net/","table":"https://clitestfyixx74gs3loj3isf.table.core.windows.net/","file":"https://clitestfyixx74gs3loj3isf.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg6xf4idvnxclgamrcp2ezv54qhk3doyffriwiegbm7ouxjbfmd2cj7izni3bhdv4wf/providers/Microsoft.Storage/storageAccounts/clitestoj23vdhimampujgji","name":"clitestoj23vdhimampujgji","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-15T02:09:49.4622185Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-15T02:09:49.4622185Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-15T02:09:49.3684695Z","primaryEndpoints":{"blob":"https://clitestoj23vdhimampujgji.blob.core.windows.net/","queue":"https://clitestoj23vdhimampujgji.queue.core.windows.net/","table":"https://clitestoj23vdhimampujgji.table.core.windows.net/","file":"https://clitestoj23vdhimampujgji.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgd5ygu6mbq43qw57ncgznekmhwaqlrowjc6dggyk2h6cfwioigvtt3bg7ayqckcwvk/providers/Microsoft.Storage/storageAccounts/clitestixsogcl5p5af5w2p3","name":"clitestixsogcl5p5af5w2p3","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T18:00:02.2397791Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T18:00:02.2087326Z","primaryEndpoints":{"web":"https://clitestixsogcl5p5af5w2p3.web.core.windows.net/","blob":"https://clitestixsogcl5p5af5w2p3.blob.core.windows.net/","queue":"https://clitestixsogcl5p5af5w2p3.queue.core.windows.net/","table":"https://clitestixsogcl5p5af5w2p3.table.core.windows.net/","file":"https://clitestixsogcl5p5af5w2p3.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeyg7p46zydk24opv23uowejjybhvp2nqcyqpnmknbs7o3w5c3tocuuygkogbvxz5f/providers/Microsoft.Storage/storageAccounts/clitestcrdofae6jvibomf2w","name":"clitestcrdofae6jvibomf2w","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-20T01:19:55.8214506Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-20T01:19:55.7120798Z","primaryEndpoints":{"web":"https://clitestcrdofae6jvibomf2w.web.core.windows.net/","blob":"https://clitestcrdofae6jvibomf2w.blob.core.windows.net/","queue":"https://clitestcrdofae6jvibomf2w.queue.core.windows.net/","table":"https://clitestcrdofae6jvibomf2w.table.core.windows.net/","file":"https://clitestcrdofae6jvibomf2w.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}},{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rgeblmtd6pv6car44ga6qwvicwjyuxydhhkaharam4nad6uekgqgm2uiisw7v4a3czx/providers/Microsoft.Storage/storageAccounts/clitestcdx4bwlcvgviotc2p","name":"clitestcdx4bwlcvgviotc2p","type":"Microsoft.Storage/storageAccounts","location":"eastus2euap","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-04-19T22:26:49.0369320Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-04-19T22:26:48.9744081Z","primaryEndpoints":{"web":"https://clitestcdx4bwlcvgviotc2p.web.core.windows.net/","blob":"https://clitestcdx4bwlcvgviotc2p.blob.core.windows.net/","queue":"https://clitestcdx4bwlcvgviotc2p.queue.core.windows.net/","table":"https://clitestcdx4bwlcvgviotc2p.table.core.windows.net/","file":"https://clitestcdx4bwlcvgviotc2p.file.core.windows.net/"},"primaryLocation":"eastus2euap","statusOfPrimary":"available"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['19482'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 15 May 2018 02:11:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-original-request-ids: [81a2525f-7a14-49bf-bd28-b6c01f69fe50, 1a7d5aaa-d733-45b9-9e1a-6c87d82057da, + efeba646-851b-47e7-8534-cc52cf52cb27] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container create] + Connection: [keep-alive] + Content-Length: ['0'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 + response: + body: {string: '{"keys":[{"keyName":"key1","value":"9Baal+V63YCN9piBZsurBKAIqNLM031Amv1ZwpfTogXFWJ6y8evqafkFwsL1kbpQrb1ysuFUnYyO8O81gcX0Mw==","permissions":"FULL"},{"keyName":"key2","value":"uky+hiO11C0L+0+7Uq7stL1PqrVOC4RQuY1gH23LDuKOaZnmp3eIMFVCGo/TMSSGr8Q96nNy5tr+AYrUWmq+bg==","permissions":"FULL"}]}'} + headers: + cache-control: [no-cache] + content-length: ['288'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:11:11 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: null + headers: + Connection: [keep-alive] + Content-Length: ['0'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Tue, 15 May 2018 02:11:11 GMT'] + x-ms-version: ['2017-11-09'] + method: PUT + uri: https://clitest000002.blob.core.windows.net/container1?restype=container + response: + body: {string: ''} + headers: + date: ['Tue, 15 May 2018 02:11:11 GMT'] + etag: ['"0x8D5BA09218E9DA2"'] + last-modified: ['Tue, 15 May 2018 02:11:12 GMT'] + server: [Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0] + transfer-encoding: [chunked] + x-ms-version: ['2017-11-09'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container legal-hold show] + Connection: [keep-alive] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1?api-version=2018-02-01 + response: + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1","name":"container1","type":"Microsoft.Storage/storageAccounts/blobServices/containers","etag":"\"0x8D5BA09218E9DA2\"","properties":{"publicAccess":"None","leaseStatus":"Unlocked","leaseState":"Available","lastModifiedTime":"2018-05-15T02:11:12.0000000Z","immutabilityPolicy":{"etag":"","properties":{"immutabilityPeriodSinceCreationInDays":0,"state":"Unlocked"}},"legalHold":{"hasLegalHold":false,"tags":[]},"hasImmutabilityPolicy":false,"hasLegalHold":false}}'} + headers: + cache-control: [no-cache] + content-length: ['723'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:11:12 GMT'] + etag: ['"0x8D5BA09218E9DA2"'] + 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: '{"tags": ["tag1", "tag2"]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container legal-hold set] + Connection: [keep-alive] + Content-Length: ['26'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/setLegalHold?api-version=2018-02-01 + response: + body: {string: '{"hasLegalHold":true,"tags":["tag1","tag2"]}'} + headers: + cache-control: [no-cache] + content-length: ['44'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:11:13 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- request: + body: '{"tags": ["tag1", "tag2"]}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage container legal-hold clear] + Connection: [keep-alive] + Content-Length: ['26'] + Content-Type: [application/json; charset=utf-8] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + accept-language: [en-US] + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/blobServices/default/containers/container1/clearLegalHold?api-version=2018-02-01 + response: + body: {string: '{"hasLegalHold":false,"tags":[]}'} + headers: + cache-control: [no-cache] + content-length: ['32'] + content-type: [application/json] + date: ['Tue, 15 May 2018 02:11:14 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] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 200, message: OK} +- 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.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 15 May 2018 02:11:16 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFS0VPTE9FWlZKT1VHU0NaUjZUTFNJVk03MjdRUE1MVVoyQnw2RDhCNjNGODAwOTk2MEFDLUVBU1RVUzJFVUFQIiwiam9iTG9jYXRpb24iOiJlYXN0dXMyZXVhcCJ9?api-version=2017-05-10'] + 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 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_queue_general_scenario.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_queue_general_scenario.yaml index 6bdf586deba..f1673c35829 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_queue_general_scenario.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_queue_general_scenario.yaml @@ -1,30 +1,32 @@ interactions: - request: - body: '{"location": "westus", "tags": {"use": "az-test"}}' + body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", + "date": "2018-05-14T23:35:04Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [group create] Connection: [keep-alive] - Content-Length: ['50'] + Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.27] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"use":"az-test"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:04Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['328'] + content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 08 Feb 2018 18:09:39 GMT'] + date: ['Mon, 14 May 2018 23:35:05 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1186'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: '{"sku": {"name": "Standard_RAGRS"}, "kind": "Storage", "location": "westus", @@ -36,25 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['127'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.27] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Thu, 08 Feb 2018 18:09:41 GMT'] + date: ['Mon, 14 May 2018 23:35:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2f28cf72-eb3b-4b3e-a088-259e102e9312?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2a46ca7e-ed46-4117-8916-a312acdb6719?monitor=true&api-version=2018-02-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-ms-ratelimit-remaining-subscription-writes: ['1190'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 202, message: Accepted} - request: body: null @@ -63,46 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.27] - accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2f28cf72-eb3b-4b3e-a088-259e102e9312?monitor=true&api-version=2017-10-01 - response: - body: {string: ''} - headers: - cache-control: [no-cache] - content-length: ['0'] - content-type: [text/plain; charset=utf-8] - date: ['Thu, 08 Feb 2018 18:09:58 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2f28cf72-eb3b-4b3e-a088-259e102e9312?monitor=true&api-version=2017-10-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] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [storage account create] - Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.27] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2f28cf72-eb3b-4b3e-a088-259e102e9312?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/2a46ca7e-ed46-4117-8916-a312acdb6719?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["54826b22-38d6-4fb2-bad9-b7b93a3e9c5a"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-02-08T18:09:41.1016306Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-02-08T18:09:41.1016306Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-02-08T18:09:41.0547179Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.3540670Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.3540670Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:07.2915489Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1546'] content-type: [application/json] - date: ['Thu, 08 Feb 2018 18:10:15 GMT'] + date: ['Mon, 14 May 2018 23:35:24 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -110,6 +84,7 @@ interactions: strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] + x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: body: null @@ -120,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.27] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"S2U2tGHMyhCLRspIAMFDdxLHulqyfkzGyk+1JStIgrblnQ2PtQIEzkRhjkEdvRVNLU5acIrZ1p1QtUluk0IFVw==","permissions":"FULL"},{"keyName":"key2","value":"dl17/DEH7oS8Wtp2nrveK37o4n2TVUewbHbYPaWpkHWgVYy9ADJJCfRXfV3BaVsJ9lm/QDh1H66mToLasF2D1g==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"7sHxE85KBlAwQACfIGuD0noEO+bU8PDR1jPZb3WWCbPU+fW0JFK3q+z+hG8Qq1YPw5S34NKl8bwkNkEWc4a7ug==","permissions":"FULL"},{"keyName":"key2","value":"7W8bd9HAZ57ZDh/yco6sfZ/11V71OBtW74N11iw8lfifjnyiI5cZjutyDDYjOJYNB8tbySXROVuYLANA8g8Kxg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Thu, 08 Feb 2018 18:10:16 GMT'] + date: ['Mon, 14 May 2018 23:35:25 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -139,7 +114,8 @@ interactions: strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1179'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -150,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.27] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"S2U2tGHMyhCLRspIAMFDdxLHulqyfkzGyk+1JStIgrblnQ2PtQIEzkRhjkEdvRVNLU5acIrZ1p1QtUluk0IFVw==","permissions":"FULL"},{"keyName":"key2","value":"dl17/DEH7oS8Wtp2nrveK37o4n2TVUewbHbYPaWpkHWgVYy9ADJJCfRXfV3BaVsJ9lm/QDh1H66mToLasF2D1g==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"7sHxE85KBlAwQACfIGuD0noEO+bU8PDR1jPZb3WWCbPU+fW0JFK3q+z+hG8Qq1YPw5S34NKl8bwkNkEWc4a7ug==","permissions":"FULL"},{"keyName":"key2","value":"7W8bd9HAZ57ZDh/yco6sfZ/11V71OBtW74N11iw8lfifjnyiI5cZjutyDDYjOJYNB8tbySXROVuYLANA8g8Kxg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Thu, 08 Feb 2018 18:10:18 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -169,56 +145,60 @@ interactions: strict-transport-security: [max-age=31536000; includeSubDomains] transfer-encoding: [chunked] vary: [Accept-Encoding] - x-ms-ratelimit-remaining-subscription-writes: ['1182'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:18 GMT'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:26 GMT'] x-ms-meta-a: [b] x-ms-meta-c: [d] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.queue.core.windows.net/queue000003 response: body: {string: ''} headers: - date: ['Thu, 08 Feb 2018 18:10:18 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 201, message: Created} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:18 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=metadata response: body: {string: ''} headers: cache-control: [no-cache] - date: ['Thu, 08 Feb 2018 18:10:18 GMT'] + date: ['Mon, 14 May 2018 23:35:26 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-approximate-messages-count: ['0'] x-ms-meta-a: [b] x-ms-meta-c: [d] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:19 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:27 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/?comp=list response: @@ -228,80 +208,84 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:19 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:19 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=metadata response: body: {string: ''} headers: cache-control: [no-cache] - date: ['Thu, 08 Feb 2018 18:10:19 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-approximate-messages-count: ['0'] x-ms-meta-a: [b] x-ms-meta-c: [d] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:19 GMT'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] x-ms-meta-e: [f] x-ms-meta-g: [h] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.queue.core.windows.net/queue000003?comp=metadata response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:19 GMT'] + date: ['Mon, 14 May 2018 23:35:27 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:20 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=metadata response: body: {string: ''} headers: cache-control: [no-cache] - date: ['Thu, 08 Feb 2018 18:10:19 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-approximate-messages-count: ['0'] x-ms-meta-e: [f] x-ms-meta-g: [h] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:20 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:28 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -310,18 +294,19 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:20 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:20 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -330,36 +315,38 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:21 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: b"\npolicy0000042016-01-01T00:00Z2016-05-01T00:00Zraup" headers: Connection: [keep-alive] Content-Length: ['264'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:20 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] + x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:21 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:21 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -367,18 +354,19 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:21 GMT'] + date: ['Mon, 14 May 2018 23:35:28 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:21 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:29 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -386,18 +374,19 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:21 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:21 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:30 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -405,36 +394,38 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:21 GMT'] + date: ['Mon, 14 May 2018 23:35:29 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: b"\npolicy0000042016-01-01T00:00:00Z2016-05-01T00:00:00Zra" headers: Connection: [keep-alive] Content-Length: ['268'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:21 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:30 GMT'] + x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:21 GMT'] + date: ['Mon, 14 May 2018 23:35:30 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:22 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:30 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -442,18 +433,19 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:22 GMT'] + date: ['Mon, 14 May 2018 23:35:30 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:22 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -461,10 +453,10 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:22 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: ' @@ -473,26 +465,28 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['60'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:22 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] + x-ms-version: ['2017-11-09'] method: PUT uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:22 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:22 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=acl response: @@ -501,10 +495,10 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:22 GMT'] + date: ['Mon, 14 May 2018 23:35:30 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: ' @@ -513,67 +507,70 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['107'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:23 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:31 GMT'] + x-ms-version: ['2017-11-09'] method: POST uri: https://clitest000002.queue.core.windows.net/queue000003/messages response: - body: {string: "\uFEFF196e25f5-2636-41cd-95c4-e034e4289d85Thu,\ - \ 08 Feb 2018 18:10:23 GMTThu, 15 Feb 2018\ - \ 18:10:23 GMTAgAAAAMAAAAAAAAAtTquFgih0wE=Thu,\ - \ 08 Feb 2018 18:10:23 GMT"} + body: {string: "\uFEFF705df665-9d09-4eae-bc6b-e49ed68433c5Mon,\ + \ 14 May 2018 23:35:32 GMTMon, 21 May 2018\ + \ 23:35:32 GMTAgAAAAMAAAAAAAAAlsTWP9zr0wE=Mon,\ + \ 14 May 2018 23:35:32 GMT"} headers: content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:23 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 201, message: Created} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:23 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages?peekonly=true response: - body: {string: "\uFEFF196e25f5-2636-41cd-95c4-e034e4289d85Thu,\ - \ 08 Feb 2018 18:10:23 GMTThu, 15 Feb 2018\ - \ 18:10:23 GMT0test\ + body: {string: "\uFEFF705df665-9d09-4eae-bc6b-e49ed68433c5Mon,\ + \ 14 May 2018 23:35:32 GMTMon, 21 May 2018\ + \ 23:35:32 GMT0test\ \ message"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:23 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:23 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages response: - body: {string: "\uFEFF196e25f5-2636-41cd-95c4-e034e4289d85Thu,\ - \ 08 Feb 2018 18:10:23 GMTThu, 15 Feb 2018\ - \ 18:10:23 GMTAgAAAAMAAAAAAAAAzUXzKAih0wE=Thu,\ - \ 08 Feb 2018 18:10:54 GMT1test\ + body: {string: "\uFEFF705df665-9d09-4eae-bc6b-e49ed68433c5Mon,\ + \ 14 May 2018 23:35:32 GMTMon, 21 May 2018\ + \ 23:35:32 GMTAgAAAAMAAAAAAAAAlq0mUtzr0wE=Mon,\ + \ 14 May 2018 23:36:02 GMT1test\ \ message"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:23 GMT'] + date: ['Mon, 14 May 2018 23:35:32 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: ' @@ -582,42 +579,44 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['107'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:24 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:32 GMT'] + x-ms-version: ['2017-11-09'] method: PUT - uri: https://clitest000002.queue.core.windows.net/queue000003/messages/196e25f5-2636-41cd-95c4-e034e4289d85?popreceipt=AgAAAAMAAAAAAAAAzUXzKAih0wE%3D&visibilitytimeout=1 + uri: https://clitest000002.queue.core.windows.net/queue000003/messages/705df665-9d09-4eae-bc6b-e49ed68433c5?popreceipt=AgAAAAMAAAAAAAAAlq0mUtzr0wE%3D&visibilitytimeout=1 response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:24 GMT'] + date: ['Mon, 14 May 2018 23:35:33 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-popreceipt: [AwAAAAMAAAAAAAAAdkfgFwih0wEBAAAA] - x-ms-time-next-visible: ['Thu, 08 Feb 2018 18:10:25 GMT'] - x-ms-version: ['2017-07-29'] + x-ms-popreceipt: [AwAAAAMAAAAAAAAALmQTQdzr0wEBAAAA] + x-ms-time-next-visible: ['Mon, 14 May 2018 23:35:34 GMT'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:26 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages?peekonly=true response: - body: {string: "\uFEFF196e25f5-2636-41cd-95c4-e034e4289d85Thu,\ - \ 08 Feb 2018 18:10:23 GMTThu, 15 Feb 2018\ - \ 18:10:23 GMT1new\ + body: {string: "\uFEFF705df665-9d09-4eae-bc6b-e49ed68433c5Mon,\ + \ 14 May 2018 23:35:32 GMTMon, 21 May 2018\ + \ 23:35:32 GMT1new\ \ message!"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:26 GMT'] + date: ['Mon, 14 May 2018 23:35:34 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: ' @@ -626,22 +625,23 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['109'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:26 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] + x-ms-version: ['2017-11-09'] method: POST uri: https://clitest000002.queue.core.windows.net/queue000003/messages response: - body: {string: "\uFEFF364bd1d6-d54d-4395-8728-19f3e800b23eThu,\ - \ 08 Feb 2018 18:10:27 GMTThu, 15 Feb 2018\ - \ 18:10:27 GMTAgAAAAMAAAAAAAAACBvdGAih0wE=Thu,\ - \ 08 Feb 2018 18:10:27 GMT"} + body: {string: "\uFEFFa1ac0224-8de7-4db4-a833-adb37b52ef87Mon,\ + \ 14 May 2018 23:35:35 GMTMon, 21 May 2018\ + \ 23:35:35 GMTAgAAAAMAAAAAAAAAMfMMQtzr0wE=Mon,\ + \ 14 May 2018 23:35:35 GMT"} headers: content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:26 GMT'] + date: ['Mon, 14 May 2018 23:35:35 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 201, message: Created} - request: body: ' @@ -650,142 +650,149 @@ interactions: headers: Connection: [keep-alive] Content-Length: ['108'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:27 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:35 GMT'] + x-ms-version: ['2017-11-09'] method: POST uri: https://clitest000002.queue.core.windows.net/queue000003/messages response: - body: {string: "\uFEFF6f040924-f5e6-4879-8c28-f2f112d379e3Thu,\ - \ 08 Feb 2018 18:10:27 GMTThu, 15 Feb 2018\ - \ 18:10:27 GMTAgAAAAMAAAAAAAAALs0PGQih0wE=Thu,\ - \ 08 Feb 2018 18:10:27 GMT"} + body: {string: "\uFEFF9300e0a3-7131-4258-ab15-fa2c23c56b70Mon,\ + \ 14 May 2018 23:35:36 GMTMon, 21 May 2018\ + \ 23:35:36 GMTAgAAAAMAAAAAAAAALnM8Qtzr0wE=Mon,\ + \ 14 May 2018 23:35:36 GMT"} headers: content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:27 GMT'] + date: ['Mon, 14 May 2018 23:35:35 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 201, message: Created} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:27 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:36 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages?peekonly=true&numofmessages=32 response: - body: {string: "\uFEFF196e25f5-2636-41cd-95c4-e034e4289d85Thu,\ - \ 08 Feb 2018 18:10:23 GMTThu, 15 Feb 2018\ - \ 18:10:23 GMT1new\ - \ message!364bd1d6-d54d-4395-8728-19f3e800b23eThu,\ - \ 08 Feb 2018 18:10:27 GMTThu, 15 Feb 2018\ - \ 18:10:27 GMT0second\ - \ message6f040924-f5e6-4879-8c28-f2f112d379e3Thu,\ - \ 08 Feb 2018 18:10:27 GMTThu, 15 Feb 2018\ - \ 18:10:27 GMT0third\ + body: {string: "\uFEFF705df665-9d09-4eae-bc6b-e49ed68433c5Mon,\ + \ 14 May 2018 23:35:32 GMTMon, 21 May 2018\ + \ 23:35:32 GMT1new\ + \ message!a1ac0224-8de7-4db4-a833-adb37b52ef87Mon,\ + \ 14 May 2018 23:35:35 GMTMon, 21 May 2018\ + \ 23:35:35 GMT0second\ + \ message9300e0a3-7131-4258-ab15-fa2c23c56b70Mon,\ + \ 14 May 2018 23:35:36 GMTMon, 21 May 2018\ + \ 23:35:36 GMT0third\ \ message"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:27 GMT'] + date: ['Mon, 14 May 2018 23:35:36 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:27 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:36 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages response: - body: {string: "\uFEFF196e25f5-2636-41cd-95c4-e034e4289d85Thu,\ - \ 08 Feb 2018 18:10:23 GMTThu, 15 Feb 2018\ - \ 18:10:23 GMTAgAAAAMAAAAAAAAAoqZuKwih0wE=Thu,\ - \ 08 Feb 2018 18:10:58 GMT2new\ + body: {string: "\uFEFF705df665-9d09-4eae-bc6b-e49ed68433c5Mon,\ + \ 14 May 2018 23:35:32 GMTMon, 21 May 2018\ + \ 23:35:32 GMTAgAAAAMAAAAAAAAAsvWDVNzr0wE=Mon,\ + \ 14 May 2018 23:36:06 GMT2new\ \ message!"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:27 GMT'] + date: ['Mon, 14 May 2018 23:35:36 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:28 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:36 GMT'] + x-ms-version: ['2017-11-09'] method: DELETE - uri: https://clitest000002.queue.core.windows.net/queue000003/messages/196e25f5-2636-41cd-95c4-e034e4289d85?popreceipt=AgAAAAMAAAAAAAAAoqZuKwih0wE%3D + uri: https://clitest000002.queue.core.windows.net/queue000003/messages/705df665-9d09-4eae-bc6b-e49ed68433c5?popreceipt=AgAAAAMAAAAAAAAAsvWDVNzr0wE%3D response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:28 GMT'] + date: ['Mon, 14 May 2018 23:35:36 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:28 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages?peekonly=true&numofmessages=32 response: - body: {string: "\uFEFF364bd1d6-d54d-4395-8728-19f3e800b23eThu,\ - \ 08 Feb 2018 18:10:27 GMTThu, 15 Feb 2018\ - \ 18:10:27 GMT0second\ - \ message6f040924-f5e6-4879-8c28-f2f112d379e3Thu,\ - \ 08 Feb 2018 18:10:27 GMTThu, 15 Feb 2018\ - \ 18:10:27 GMT0third\ + body: {string: "\uFEFFa1ac0224-8de7-4db4-a833-adb37b52ef87Mon,\ + \ 14 May 2018 23:35:35 GMTMon, 21 May 2018\ + \ 23:35:35 GMT0second\ + \ message9300e0a3-7131-4258-ab15-fa2c23c56b70Mon,\ + \ 14 May 2018 23:35:36 GMTMon, 21 May 2018\ + \ 23:35:36 GMT0third\ \ message"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:28 GMT'] + date: ['Mon, 14 May 2018 23:35:37 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:28 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] + x-ms-version: ['2017-11-09'] method: DELETE uri: https://clitest000002.queue.core.windows.net/queue000003/messages response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:29 GMT'] + date: ['Mon, 14 May 2018 23:35:37 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:29 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:37 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003/messages?peekonly=true&numofmessages=32 response: @@ -794,69 +801,71 @@ interactions: headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:28 GMT'] + date: ['Mon, 14 May 2018 23:35:37 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null headers: Connection: [keep-alive] Content-Length: ['0'] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:29 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:38 GMT'] + x-ms-version: ['2017-11-09'] method: DELETE uri: https://clitest000002.queue.core.windows.net/queue000003 response: body: {string: ''} headers: content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:29 GMT'] + date: ['Mon, 14 May 2018 23:35:38 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 204, message: No Content} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:29 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:38 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002.queue.core.windows.net/queue000003?comp=metadata response: body: {string: "\uFEFFQueueNotFoundThe\ - \ specified queue does not exist.\nRequestId:ab265f14-0003-00cb-2a08-a13afb000000\n\ - Time:2018-02-08T18:10:30.2120603Z"} + \ specified queue does not exist.\nRequestId:883c23f0-4003-00e2-04dc-eb007a000000\n\ + Time:2018-05-14T23:35:38.7056386Z"} headers: content-length: ['217'] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:29 GMT'] + date: ['Mon, 14 May 2018 23:35:37 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] x-ms-error-code: [QueueNotFound] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 404, message: The specified queue does not exist.} - request: body: null headers: Connection: [keep-alive] - User-Agent: [Azure-Storage/1.1.0-1.1.0 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.27] - x-ms-date: ['Thu, 08 Feb 2018 18:10:29 GMT'] - x-ms-version: ['2017-07-29'] + User-Agent: [Azure-Storage/1.2.0rc0-1.2.0rc0 (Python CPython 3.6.2; Windows + 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:38 GMT'] + x-ms-version: ['2017-11-09'] method: GET uri: https://clitest000002-secondary.queue.core.windows.net/?restype=service&comp=stats response: - body: {string: "\uFEFFliveThu,\ - \ 08 Feb 2018 18:08:38 GMT"} + body: {string: "\uFEFFunavailable"} headers: cache-control: [no-cache] content-type: [application/xml] - date: ['Thu, 08 Feb 2018 18:10:30 GMT'] + date: ['Mon, 14 May 2018 23:35:38 GMT'] server: [Windows-Azure-Queue/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] - x-ms-version: ['2017-07-29'] + x-ms-version: ['2017-11-09'] status: {code: 200, message: OK} - request: body: null @@ -867,9 +876,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.21 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.27] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -878,11 +887,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 08 Feb 2018 18:10:30 GMT'] + date: ['Mon, 14 May 2018 23:35:39 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc3VUVYQklUTkdOR1BVT1hWVlY1NFdPRFJUQU9TVjZXNE4zUXwwODFBNjEzRDQyQkNERjQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdWT0xCVVBEQVNWWDY3TUtNWkQ3RVNSUTZBRzVaWUY0N1BYQ3w0NDRFNTFEOUZDRDQ2OTM5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] - x-ms-ratelimit-remaining-subscription-writes: ['1187'] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_share_acl_scenarios.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_share_acl_scenarios.yaml index ab9378b455d..85f52fbf913 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_share_acl_scenarios.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_share_acl_scenarios.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:51Z"}}' + "date": "2018-05-14T23:35:29Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:51Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:29Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:52 GMT'] + date: ['Mon, 14 May 2018 23:35:30 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:53 GMT'] + date: ['Mon, 14 May 2018 23:35:31 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/e7ddae0b-f4c9-4f86-b95d-6ffd48417905?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/65d534a3-b184-4282-b8f6-05b0d10604ec?monitor=true&api-version=2018-02-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'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 202, message: Accepted} - request: body: null @@ -66,19 +66,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/e7ddae0b-f4c9-4f86-b95d-6ffd48417905?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/65d534a3-b184-4282-b8f6-05b0d10604ec?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:53.6685803Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:53.6685803Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:53.5904791Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:31.5797505Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:31.5797505Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:31.5172251Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1231'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:10 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +95,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"QUd54/Jo5bT7xAKNnZlsCbZz0A2QWVTVVhAEu1v8LTmoinvyvTfRWuIyEI2HEO5d/Ez0LX+m5Wn7ATgkoXSa5g==","permissions":"FULL"},{"keyName":"key2","value":"DykqlYU443lHJcsyaBgq19YOwsI3jav0fWuy4mkQ+b1FM1+pWVoUe+6fMDxqWL7Ya+FrwlvgikZL5LgevJb3GA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"8O3YOzVIjExlQlotreqHDAG5anB5rTd4gKP9t4P2k5C8PqpmLZRTPeexwAZdLG7RIauOSftxz/19h368rzt9ow==","permissions":"FULL"},{"keyName":"key2","value":"7lx+QnY96uSxHi7ca00lyFg3gTzuttm+IsNTR9joXuWb6MsWZXBD390wCa310+YSE4YvN+TNu33PyB9K96tqVg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:11 GMT'] + date: ['Mon, 14 May 2018 23:35:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +115,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +126,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"QUd54/Jo5bT7xAKNnZlsCbZz0A2QWVTVVhAEu1v8LTmoinvyvTfRWuIyEI2HEO5d/Ez0LX+m5Wn7ATgkoXSa5g==","permissions":"FULL"},{"keyName":"key2","value":"DykqlYU443lHJcsyaBgq19YOwsI3jav0fWuy4mkQ+b1FM1+pWVoUe+6fMDxqWL7Ya+FrwlvgikZL5LgevJb3GA==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"8O3YOzVIjExlQlotreqHDAG5anB5rTd4gKP9t4P2k5C8PqpmLZRTPeexwAZdLG7RIauOSftxz/19h368rzt9ow==","permissions":"FULL"},{"keyName":"key2","value":"7lx+QnY96uSxHi7ca00lyFg3gTzuttm+IsNTR9joXuWb6MsWZXBD390wCa310+YSE4YvN+TNu33PyB9K96tqVg==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:46:12 GMT'] + date: ['Mon, 14 May 2018 23:35:49 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +146,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: null @@ -156,17 +154,17 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:12 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:12 GMT'] - etag: ['"0x8D5AFACF594FBD5"'] - last-modified: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] + etag: ['"0x8D5B9F36DD1338B"'] + last-modified: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -176,8 +174,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:13 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -186,9 +184,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:13 GMT'] - etag: ['"0x8D5AFACF594FBD5"'] - last-modified: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] + etag: ['"0x8D5B9F36DD1338B"'] + last-modified: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -198,8 +196,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:13 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -208,9 +206,9 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:13 GMT'] - etag: ['"0x8D5AFACF594FBD5"'] - last-modified: ['Tue, 01 May 2018 21:46:13 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] + etag: ['"0x8D5B9F36DD1338B"'] + last-modified: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -223,17 +221,17 @@ interactions: Connection: [keep-alive] Content-Length: ['184'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:13 GMT'] - etag: ['"0x8D5AFACF615BB26"'] - last-modified: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] + etag: ['"0x8D5B9F36E585FF2"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -243,8 +241,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -252,9 +250,9 @@ interactions: body: {string: "\uFEFFtest1l"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF615BB26"'] - last-modified: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] + etag: ['"0x8D5B9F36E585FF2"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -267,17 +265,17 @@ interactions: Connection: [keep-alive] Content-Length: ['296'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF67C097E"'] - last-modified: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] + etag: ['"0x8D5B9F36EAE307D"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -287,8 +285,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:14 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -296,9 +294,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Z"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF67C097E"'] - last-modified: ['Tue, 01 May 2018 21:46:14 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] + etag: ['"0x8D5B9F36EAE307D"'] + last-modified: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -311,17 +309,17 @@ interactions: Connection: [keep-alive] Content-Length: ['413'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF6B6FA41"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] + etag: ['"0x8D5B9F36F435F6A"'] + last-modified: ['Mon, 14 May 2018 23:35:53 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -331,8 +329,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -340,9 +338,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Z"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF6B6FA41"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] + etag: ['"0x8D5B9F36F435F6A"'] + last-modified: ['Mon, 14 May 2018 23:35:53 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -355,17 +353,17 @@ interactions: Connection: [keep-alive] Content-Length: ['591'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:14 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -375,8 +373,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:15 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -384,9 +382,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:15 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -396,8 +394,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -405,9 +403,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:15 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -417,8 +415,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -426,9 +424,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -438,8 +436,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:16 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -447,9 +445,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:55 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -459,8 +457,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:56 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -468,9 +466,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:16 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -480,8 +478,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:56 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -489,9 +487,9 @@ interactions: body: {string: "\uFEFFtest1ltest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF6F76A43"'] - last-modified: ['Tue, 01 May 2018 21:46:15 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F36FA8C331"'] + last-modified: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -504,17 +502,17 @@ interactions: Connection: [keep-alive] Content-Length: ['597'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:56 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF83C80BD"'] - last-modified: ['Tue, 01 May 2018 21:46:17 GMT'] + date: ['Mon, 14 May 2018 23:35:56 GMT'] + etag: ['"0x8D5B9F37148662D"'] + last-modified: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -524,8 +522,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:17 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -533,9 +531,9 @@ interactions: body: {string: "\uFEFFtest1rtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:17 GMT'] - etag: ['"0x8D5AFACF83C80BD"'] - last-modified: ['Tue, 01 May 2018 21:46:17 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F37148662D"'] + last-modified: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -545,8 +543,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -554,9 +552,9 @@ interactions: body: {string: "\uFEFFtest1rtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF83C80BD"'] - last-modified: ['Tue, 01 May 2018 21:46:17 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F37148662D"'] + last-modified: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -569,17 +567,17 @@ interactions: Connection: [keep-alive] Content-Length: ['491'] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:57 GMT'] x-ms-version: ['2017-07-29'] method: PUT uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl response: body: {string: ''} headers: - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF8B8A4FF"'] - last-modified: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F371CE9E49"'] + last-modified: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -589,8 +587,8 @@ interactions: headers: Connection: [keep-alive] User-Agent: [Azure-Storage/1.2.0rc0-1.1.0 (Python CPython 3.6.2; Windows 10) - AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:18 GMT'] + AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-07-29'] method: GET uri: https://clitest000002.file.core.windows.net/share000003?restype=share&comp=acl @@ -598,9 +596,9 @@ interactions: body: {string: "\uFEFFtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zrwdl"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:18 GMT'] - etag: ['"0x8D5AFACF8B8A4FF"'] - last-modified: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] + etag: ['"0x8D5B9F371CE9E49"'] + last-modified: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-07-29'] @@ -614,9 +612,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -625,12 +623,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:18 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdBTjZVVkpRVDQ2Rko0TEpPSlZDTlFaT1daVEdDQ1hJM0pOS3xDRDNCNDNDNUU5QTVCNTVCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMWVZDWE1ESVpQSk9ZU0MySFJWTExITE9FQVVETDdEMkQ0VHwxQUQzOUJEQ0U2NTkxM0RCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_table_main_scenario.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_table_main_scenario.yaml index acdd42171d5..1e0cf348326 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_table_main_scenario.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_storage_table_main_scenario.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "westus", "tags": {"product": "azurecli", "cause": "automation", - "date": "2018-05-01T21:45:28Z"}}' + "date": "2018-05-14T23:35:05Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,19 +9,19 @@ interactions: Connection: [keep-alive] Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:45:28Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:35:05Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:29 GMT'] + date: ['Mon, 14 May 2018 23:35:06 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,20 +38,20 @@ interactions: Connection: [keep-alive] Content-Length: ['127'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:45:31 GMT'] + date: ['Mon, 14 May 2018 23:35:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/79bcc310-b663-4574-b037-da4e4560bf93?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/3adf3e20-9a63-497d-b830-16d5a292d8b7?monitor=true&api-version=2018-02-01'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0'] @@ -66,19 +66,43 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/3adf3e20-9a63-497d-b830-16d5a292d8b7?monitor=true&api-version=2018-02-01 + response: + body: {string: ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + content-type: [text/plain; charset=utf-8] + date: ['Mon, 14 May 2018 23:35:24 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/3adf3e20-9a63-497d-b830-16d5a292d8b7?monitor=true&api-version=2018-02-01'] + pragma: [no-cache] + server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 + Microsoft-HTTPAPI/2.0'] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [storage account create] + Connection: [keep-alive] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/79bcc310-b663-4574-b037-da4e4560bf93?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/westus/asyncoperations/3adf3e20-9a63-497d-b830-16d5a292d8b7?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:31.1057749Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:45:31.1057749Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:45:30.8713726Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} + body: {string: '{"sku":{"name":"Standard_RAGRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002","name":"clitest000002","type":"Microsoft.Storage/storageAccounts","location":"westus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.8404742Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:35:07.8404742Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:35:07.7936057Z","primaryEndpoints":{"blob":"https://clitest000002.blob.core.windows.net/","queue":"https://clitest000002.queue.core.windows.net/","table":"https://clitest000002.table.core.windows.net/","file":"https://clitest000002.file.core.windows.net/"},"primaryLocation":"westus","statusOfPrimary":"available","secondaryLocation":"eastus","statusOfSecondary":"available","secondaryEndpoints":{"blob":"https://clitest000002-secondary.blob.core.windows.net/","queue":"https://clitest000002-secondary.queue.core.windows.net/","table":"https://clitest000002-secondary.table.core.windows.net/"}}}'} headers: cache-control: [no-cache] content-length: ['1546'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:48 GMT'] + date: ['Mon, 14 May 2018 23:35:41 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -97,18 +121,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"Z3FEYeyIW6IQcbvStmYTdFMLV8s5CdlOSPJtcyjUcYiHUVsqFZ4vEhVc2l+gHDZ1RRmzHGJWFLzjSLx+MpTunQ==","permissions":"FULL"},{"keyName":"key2","value":"lP99LhszlGpYtEg9vFPFsTiVhY4yUzSOGR/uvL5Cy5EMBnu4Xd+EPS2PCfu4trIeppI7wWqUbSawLYjo7DhUBQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"6YoxG4/16yvClX1xuFBR9osC0ofM+2exTaebD0ChB/CniSpqTE5YAlmO4N83bpT4c23Pq2bb75A03lx9iQKOpA==","permissions":"FULL"},{"keyName":"key2","value":"/bdku3R1o/Pc/4T/AnQFEvKMg9QFI09ms/A2UQUs60HUNnRsiskRLdptDBTLzwGWYhZqHwgmg1sodVsuaEcPpA==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:43 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -117,7 +141,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -128,18 +152,18 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/clitest000002/listKeys?api-version=2018-02-01 response: - body: {string: '{"keys":[{"keyName":"key1","value":"Z3FEYeyIW6IQcbvStmYTdFMLV8s5CdlOSPJtcyjUcYiHUVsqFZ4vEhVc2l+gHDZ1RRmzHGJWFLzjSLx+MpTunQ==","permissions":"FULL"},{"keyName":"key2","value":"lP99LhszlGpYtEg9vFPFsTiVhY4yUzSOGR/uvL5Cy5EMBnu4Xd+EPS2PCfu4trIeppI7wWqUbSawLYjo7DhUBQ==","permissions":"FULL"}]}'} + body: {string: '{"keys":[{"keyName":"key1","value":"6YoxG4/16yvClX1xuFBR9osC0ofM+2exTaebD0ChB/CniSpqTE5YAlmO4N83bpT4c23Pq2bb75A03lx9iQKOpA==","permissions":"FULL"},{"keyName":"key2","value":"/bdku3R1o/Pc/4T/AnQFEvKMg9QFI09ms/A2UQUs60HUNnRsiskRLdptDBTLzwGWYhZqHwgmg1sodVsuaEcPpA==","permissions":"FULL"}]}'} headers: cache-control: [no-cache] content-length: ['288'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:45:49 GMT'] + date: ['Mon, 14 May 2018 23:35:43 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -148,7 +172,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 200, message: OK} - request: body: 'b''{"TableName": "table000003"}''' @@ -160,8 +184,8 @@ interactions: DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] Prefer: [return-no-content] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:50 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:44 GMT'] x-ms-version: ['2017-04-17'] method: POST uri: https://clitest000002.table.core.windows.net/Tables @@ -170,8 +194,8 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - dataserviceid: ['https://clitestydki2n33vwyrmdoub.table.core.windows.net/Tables(''tablewtfhpnleqm5yr2w4clw'')'] - date: ['Tue, 01 May 2018 21:45:50 GMT'] + dataserviceid: ['https://clitestarwetbqrz7bohdzyg.table.core.windows.net/Tables(''tabler5bkg7necu254axbcgm'')'] + date: ['Mon, 14 May 2018 23:35:44 GMT'] location: ['https://clitest000002.table.core.windows.net/Tables(''table000003'')'] preference-applied: [return-no-content] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] @@ -185,8 +209,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:51 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:44 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/Tables('table000003') @@ -195,7 +219,7 @@ interactions: headers: cache-control: [no-cache] content-type: [application/json;odata=nometadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:51 GMT'] + date: ['Mon, 14 May 2018 23:35:44 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -208,8 +232,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:51 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:45 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/Tables @@ -218,7 +242,7 @@ interactions: headers: cache-control: [no-cache] content-type: [application/json;odata=nometadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:50 GMT'] + date: ['Mon, 14 May 2018 23:35:44 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -235,8 +259,8 @@ interactions: DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] Prefer: [return-no-content] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:52 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:45 GMT'] x-ms-version: ['2017-04-17'] method: POST uri: https://clitest000002.table.core.windows.net/table000003 @@ -245,9 +269,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - dataserviceid: ['https://clitestydki2n33vwyrmdoub.table.core.windows.net/tablewtfhpnleqm5yr2w4clw(PartitionKey=''001'',RowKey=''001'')'] - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A52.1464357Z'"] + dataserviceid: ['https://clitestarwetbqrz7bohdzyg.table.core.windows.net/tabler5bkg7necu254axbcgm(PartitionKey=''001'',RowKey=''001'')'] + date: ['Mon, 14 May 2018 23:35:44 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A45.6360278Z'"] location: ['https://clitest000002.table.core.windows.net/table000003(PartitionKey=''001'',RowKey=''001'')'] preference-applied: [return-no-content] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] @@ -261,18 +285,18 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:52 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:45 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') response: - body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element","odata.etag":"W/\"datetime''2018-05-01T21%3A45%3A52.1464357Z''\"","PartitionKey":"001","RowKey":"001","Timestamp":"2018-05-01T21:45:52.1464357Z","name":"test","value":"something"}'} + body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element","odata.etag":"W/\"datetime''2018-05-14T23%3A35%3A45.6360278Z''\"","PartitionKey":"001","RowKey":"001","Timestamp":"2018-05-14T23:35:45.6360278Z","name":"test","value":"something"}'} headers: cache-control: [no-cache] content-type: [application/json;odata=minimalmetadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A52.1464357Z'"] + date: ['Mon, 14 May 2018 23:35:45 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A45.6360278Z'"] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -285,18 +309,18 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:52 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:46 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001')?%24select=name response: - body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element&$select=name","odata.etag":"W/\"datetime''2018-05-01T21%3A45%3A52.1464357Z''\"","name":"test"}'} + body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element&$select=name","odata.etag":"W/\"datetime''2018-05-14T23%3A35%3A45.6360278Z''\"","name":"test"}'} headers: cache-control: [no-cache] content-type: [application/json;odata=minimalmetadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A52.1464357Z'"] + date: ['Mon, 14 May 2018 23:35:46 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A45.6360278Z'"] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -312,8 +336,8 @@ interactions: DataServiceVersion: [3.0;NetFx] If-Match: ['*'] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:53 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:46 GMT'] x-ms-version: ['2017-04-17'] method: MERGE uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') @@ -322,8 +346,8 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:52 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A53.2291965Z'"] + date: ['Mon, 14 May 2018 23:35:46 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A46.7360852Z'"] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-content-type-options: [nosniff] x-ms-version: ['2017-04-17'] @@ -335,18 +359,18 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:53 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:46 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') response: - body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element","odata.etag":"W/\"datetime''2018-05-01T21%3A45%3A53.2291965Z''\"","PartitionKey":"001","RowKey":"001","Timestamp":"2018-05-01T21:45:53.2291965Z","name":"test","value":"newval"}'} + body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element","odata.etag":"W/\"datetime''2018-05-14T23%3A35%3A46.7360852Z''\"","PartitionKey":"001","RowKey":"001","Timestamp":"2018-05-14T23:35:46.7360852Z","name":"test","value":"newval"}'} headers: cache-control: [no-cache] content-type: [application/json;odata=minimalmetadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:53 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A53.2291965Z'"] + date: ['Mon, 14 May 2018 23:35:46 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A46.7360852Z'"] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -362,8 +386,8 @@ interactions: DataServiceVersion: [3.0;NetFx] If-Match: ['*'] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:53 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:47 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') @@ -372,8 +396,8 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:53 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A53.8687998Z'"] + date: ['Mon, 14 May 2018 23:35:46 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A47.3835439Z'"] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-content-type-options: [nosniff] x-ms-version: ['2017-04-17'] @@ -385,18 +409,18 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:54 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:47 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') response: - body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element","odata.etag":"W/\"datetime''2018-05-01T21%3A45%3A53.8687998Z''\"","PartitionKey":"001","RowKey":"001","Timestamp":"2018-05-01T21:45:53.8687998Z","cat":"hat"}'} + body: {string: '{"odata.metadata":"https://clitest000002.table.core.windows.net/$metadata#table000003/@Element","odata.etag":"W/\"datetime''2018-05-14T23%3A35%3A47.3835439Z''\"","PartitionKey":"001","RowKey":"001","Timestamp":"2018-05-14T23:35:47.3835439Z","cat":"hat"}'} headers: cache-control: [no-cache] content-type: [application/json;odata=minimalmetadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:53 GMT'] - etag: [W/"datetime'2018-05-01T21%3A45%3A53.8687998Z'"] + date: ['Mon, 14 May 2018 23:35:47 GMT'] + etag: [W/"datetime'2018-05-14T23%3A35%3A47.3835439Z'"] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -411,8 +435,8 @@ interactions: DataServiceVersion: [3.0;NetFx] If-Match: ['*'] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:54 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:47 GMT'] x-ms-version: ['2017-04-17'] method: DELETE uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') @@ -421,7 +445,7 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:54 GMT'] + date: ['Mon, 14 May 2018 23:35:47 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-content-type-options: [nosniff] x-ms-version: ['2017-04-17'] @@ -433,18 +457,18 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:54 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:48 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003(PartitionKey='001',RowKey='001') response: body: {string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:281b235d-b002-00dd-2595-e1beac000000\nTime:2018-05-01T21:45:54.8674700Z"}}}'} + specified resource does not exist.\nRequestId:13a04c85-c002-00e8-0cdc-ebfec9000000\nTime:2018-05-14T23:35:48.2959044Z"}}}'} headers: cache-control: [no-cache] content-type: [application/json;odata=minimalmetadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:45:53 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -456,8 +480,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:55 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:48 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -466,7 +490,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:54 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -477,8 +501,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:55 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:48 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -487,7 +511,7 @@ interactions: \ />"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -501,8 +525,8 @@ interactions: Content-Length: ['184'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:55 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:49 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -510,7 +534,7 @@ interactions: body: {string: ''} headers: content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:48 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 204, message: No Content} @@ -520,8 +544,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:55 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:49 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -529,7 +553,7 @@ interactions: body: {string: "\uFEFFtest1a"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:49 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -543,8 +567,8 @@ interactions: Content-Length: ['296'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:55 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:50 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -552,7 +576,7 @@ interactions: body: {string: ''} headers: content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:50 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 204, message: No Content} @@ -562,8 +586,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:56 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -571,7 +595,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Z"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -585,8 +609,8 @@ interactions: Content-Length: ['413'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:56 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:51 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -594,7 +618,7 @@ interactions: body: {string: ''} headers: content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:55 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 204, message: No Content} @@ -604,8 +628,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:56 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -613,7 +637,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Z"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:56 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -627,8 +651,8 @@ interactions: Content-Length: ['591'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:56 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -636,7 +660,7 @@ interactions: body: {string: ''} headers: content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:56 GMT'] + date: ['Mon, 14 May 2018 23:35:51 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 204, message: No Content} @@ -646,8 +670,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:57 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:52 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -655,7 +679,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:56 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -666,8 +690,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:57 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -675,7 +699,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:56 GMT'] + date: ['Mon, 14 May 2018 23:35:52 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -686,8 +710,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:57 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -695,7 +719,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:57 GMT'] + date: ['Mon, 14 May 2018 23:35:53 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -706,8 +730,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:58 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:53 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -715,7 +739,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:57 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -726,8 +750,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:58 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:54 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -735,7 +759,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:57 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -746,8 +770,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:58 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -755,7 +779,7 @@ interactions: body: {string: "\uFEFFtest1atest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:58 GMT'] + date: ['Mon, 14 May 2018 23:35:54 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -769,8 +793,8 @@ interactions: Content-Length: ['598'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:58 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:55 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -778,7 +802,7 @@ interactions: body: {string: ''} headers: content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:58 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 204, message: No Content} @@ -788,8 +812,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:59 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -797,7 +821,7 @@ interactions: body: {string: "\uFEFFtest1autest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:58 GMT'] + date: ['Mon, 14 May 2018 23:35:57 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -808,8 +832,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:59 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:58 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -817,7 +841,7 @@ interactions: body: {string: "\uFEFFtest1autest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:58 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -831,8 +855,8 @@ interactions: Content-Length: ['491'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:59 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:59 GMT'] x-ms-version: ['2017-04-17'] method: PUT uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -840,7 +864,7 @@ interactions: body: {string: ''} headers: content-length: ['0'] - date: ['Tue, 01 May 2018 21:45:58 GMT'] + date: ['Mon, 14 May 2018 23:35:58 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-ms-version: ['2017-04-17'] status: {code: 204, message: No Content} @@ -850,8 +874,8 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:45:59 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:59 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/table000003?comp=acl @@ -859,7 +883,7 @@ interactions: body: {string: "\uFEFFtest22016-01-01T00:00:00.0000000Ztest32018-01-01T00:00:00.0000000Ztest42016-01-01T00:00:00.0000000Z2016-05-01T00:00:00.0000000Zraud"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:45:59 GMT'] + date: ['Mon, 14 May 2018 23:35:59 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -872,8 +896,8 @@ interactions: Content-Length: ['0'] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:00 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:35:59 GMT'] x-ms-version: ['2017-04-17'] method: DELETE uri: https://clitest000002.table.core.windows.net/Tables('table000003') @@ -882,7 +906,7 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:00 GMT'] + date: ['Mon, 14 May 2018 23:35:59 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] x-content-type-options: [nosniff] x-ms-version: ['2017-04-17'] @@ -894,18 +918,18 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:00 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:00 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002.table.core.windows.net/Tables('table000003') response: body: {string: '{"odata.error":{"code":"ResourceNotFound","message":{"lang":"en-US","value":"The - specified resource does not exist.\nRequestId:a8068353-4002-00ae-0a95-e1ce6f000000\nTime:2018-05-01T21:46:00.8222096Z"}}}'} + specified resource does not exist.\nRequestId:51b0b0ac-b002-012f-79dc-ebc45d000000\nTime:2018-05-14T23:36:00.4016675Z"}}}'} headers: cache-control: [no-cache] content-type: [application/json;odata=nometadata;streaming=true;charset=utf-8] - date: ['Tue, 01 May 2018 21:46:00 GMT'] + date: ['Mon, 14 May 2018 23:35:59 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-content-type-options: [nosniff] @@ -917,16 +941,17 @@ interactions: Connection: [keep-alive] DataServiceVersion: [3.0;NetFx] MaxDataServiceVersion: ['3.0'] - User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.32] - x-ms-date: ['Tue, 01 May 2018 21:46:00 GMT'] + User-Agent: [Azure-CosmosDB/0.37.1 (Python CPython 3.6.2; Windows 10) AZURECLI/2.0.33] + x-ms-date: ['Mon, 14 May 2018 23:36:00 GMT'] x-ms-version: ['2017-04-17'] method: GET uri: https://clitest000002-secondary.table.core.windows.net/?restype=service&comp=stats response: - body: {string: "\uFEFFunavailable"} + body: {string: "\uFEFFliveMon,\ + \ 14 May 2018 23:33:26 GMT"} headers: content-type: [application/xml] - date: ['Tue, 01 May 2018 21:46:01 GMT'] + date: ['Mon, 14 May 2018 23:36:00 GMT'] server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0] transfer-encoding: [chunked] x-ms-version: ['2017-04-17'] @@ -940,9 +965,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -951,12 +976,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:46:01 GMT'] + date: ['Mon, 14 May 2018 23:36:01 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdBVU5HT1JXWVBBR1VRMlVFSDc3VllFWFc3QkRNVTcyWjdWSnxDOEZGRDEyMEQyOTc4OThCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc1S0hBQlRHWUxTSTJaU0lVRDNMSENNM1IzUUE3Rk5PWlZJTXxFRkVDMzNBNkIxMTc0ODE3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_update_storage_account_with_assigned_identity.yaml b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_update_storage_account_with_assigned_identity.yaml index 7b6d705f6c1..c8d2916548e 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_update_storage_account_with_assigned_identity.yaml +++ b/src/storage-preview/azext_storage_preview/tests/latest/recordings/test_update_storage_account_with_assigned_identity.yaml @@ -1,7 +1,7 @@ interactions: - request: body: '{"location": "southcentralus", "tags": {"product": "azurecli", "cause": - "automation", "date": "2018-05-01T21:51:44Z"}}' + "automation", "date": "2018-05-14T23:41:20Z"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -9,24 +9,24 @@ interactions: Connection: [keep-alive] Content-Length: ['118'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:51:44Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:41:20Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:45 GMT'] + date: ['Mon, 14 May 2018 23:41:21 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: null @@ -36,19 +36,19 @@ interactions: CommandName: [storage account create] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 response: - body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-01T21:51:44Z"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"southcentralus","tags":{"product":"azurecli","cause":"automation","date":"2018-05-14T23:41:20Z"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['392'] content-type: [application/json; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:45 GMT'] + date: ['Mon, 14 May 2018 23:41:21 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -65,26 +65,26 @@ interactions: Connection: [keep-alive] Content-Length: ['133'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: body: {string: ''} headers: cache-control: [no-cache] content-length: ['0'] content-type: [text/plain; charset=utf-8] - date: ['Tue, 01 May 2018 21:51:47 GMT'] + date: ['Mon, 14 May 2018 23:41:23 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/1157a6d0-1a72-479b-bdb7-5a1b7bb482ed?monitor=true&api-version=2017-10-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f2459c41-3345-409b-933c-44f01c128fab?monitor=true&api-version=2018-02-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: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 202, message: Accepted} - request: body: null @@ -93,19 +93,17 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [storage account create] Connection: [keep-alive] - Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] - accept-language: [en-US] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/1157a6d0-1a72-479b-bdb7-5a1b7bb482ed?monitor=true&api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Storage/locations/southcentralus/asyncoperations/f2459c41-3345-409b-933c-44f01c128fab?monitor=true&api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:47.7085650Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:47.7085650Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:51:47.6460648Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:23.7395951Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:23.7395951Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:41:23.5208666Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1247'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:52:05 GMT'] + date: ['Mon, 14 May 2018 23:41:41 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -123,18 +121,18 @@ interactions: CommandName: [storage account update] Connection: [keep-alive] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:47.7085650Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:47.7085650Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:51:47.6460648Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:23.7395951Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:23.7395951Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:41:23.5208666Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1247'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:52:06 GMT'] + date: ['Mon, 14 May 2018 23:41:42 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -157,18 +155,18 @@ interactions: Connection: [keep-alive] Content-Length: ['366'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 azure-mgmt-storage/1.5.0 Azure-SDK-For-Python AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 azure-mgmt-storage/2.0.0rc1 Azure-SDK-For-Python AZURECLI/2.0.33] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2017-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002?api-version=2018-02-01 response: - body: {string: '{"identity":{"principalId":"e4f48cdc-5905-49fd-98f5-13ef0b6cbff9","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:47.7085650Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-01T21:51:47.7085650Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-01T21:51:47.6460648Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} + body: {string: '{"identity":{"principalId":"8c91883e-ac4e-459b-9b7b-ca6faf7c1504","tenantId":"72f988bf-86f1-41af-91ab-2d7cd011db47","type":"SystemAssigned"},"sku":{"name":"Standard_LRS","tier":"Standard"},"kind":"Storage","id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Storage/storageAccounts/cli000002","name":"cli000002","type":"Microsoft.Storage/storageAccounts","location":"southcentralus","tags":{},"properties":{"networkAcls":{"bypass":"AzureServices","virtualNetworkRules":[],"ipRules":[],"defaultAction":"Allow"},"trustedDirectories":["72f988bf-86f1-41af-91ab-2d7cd011db47"],"supportsHttpsTrafficOnly":false,"encryption":{"services":{"file":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:23.7395951Z"},"blob":{"enabled":true,"lastEnabledTime":"2018-05-14T23:41:23.7395951Z"}},"keySource":"Microsoft.Storage"},"provisioningState":"Succeeded","creationTime":"2018-05-14T23:41:23.5208666Z","primaryEndpoints":{"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":"southcentralus","statusOfPrimary":"available"}}'} headers: cache-control: [no-cache] content-length: ['1387'] content-type: [application/json] - date: ['Tue, 01 May 2018 21:52:09 GMT'] + date: ['Mon, 14 May 2018 23:41:46 GMT'] expires: ['-1'] pragma: [no-cache] server: ['Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 @@ -177,7 +175,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 200, message: OK} - request: body: null @@ -188,9 +186,9 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] Content-Type: [application/json; charset=utf-8] - User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.26 - msrest_azure/0.4.25 resourcemanagementclient/1.2.1 Azure-SDK-For-Python - AZURECLI/2.0.32] + User-Agent: [python/3.6.2 (Windows-10-10.0.16299-SP0) requests/2.18.4 msrest/0.4.29 + msrest_azure/0.4.29 resourcemanagementclient/1.2.1 Azure-SDK-For-Python + AZURECLI/2.0.33] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2017-05-10 @@ -199,12 +197,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 01 May 2018 21:52:10 GMT'] + date: ['Mon, 14 May 2018 23:41:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdDVkdPMk1FWkZVRkpHWjRFVE82R1lQNldIUks1R0RDRTZWT3wwN0RDNUFFOTU1NTdFMjRBLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHS0ZJQUhMRk1CN1RQT1dUTVo1RkVETlhHVlFWNEJHRU9aWXxFQzU3OUU3Njk3MjIwNDYwLVNPVVRIQ0VOVFJBTFVTIiwiam9iTG9jYXRpb24iOiJzb3V0aGNlbnRyYWx1cyJ9?api-version=2017-05-10'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_immutability_policy.py b/src/storage-preview/azext_storage_preview/tests/latest/test_immutability_policy.py new file mode 100644 index 00000000000..7bf00838856 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_immutability_policy.py @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import (ScenarioTest, JMESPathCheck, ResourceGroupPreparer, StorageAccountPreparer) +from msrestazure.azure_exceptions import CloudError + + +class StorageImmutabilityPolicy(ScenarioTest): + @ResourceGroupPreparer(location='eastus2euap') + @StorageAccountPreparer(location='eastus2euap') + def test_storage_immutability_policy(self, resource_group, storage_account): + container_name = 'container1' + self.cmd('storage container create --account-name {} -n {}'.format(storage_account, container_name)) + + self.cmd('az storage container immutability-policy create --account-name {} -c {} -g {} --period 1'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck('immutabilityPeriodSinceCreationInDays', 1)]) + + policy_etag = self.cmd('az storage container immutability-policy show --account-name {} -c {} -g {}'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck('immutabilityPeriodSinceCreationInDays', 1)]).get_output_in_json().get('etag') + + self.cmd('az storage container immutability-policy delete --account-name {} -c {} -g {} --if-match {}'.format( + storage_account, container_name, resource_group, repr(policy_etag))) + + self.cmd('az storage container immutability-policy show --account-name {} -c {} -g {}'.format( + storage_account, container_name, resource_group)) + + self.cmd('az storage container immutability-policy create --account-name {} -c {} -g {} --period 1'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck('immutabilityPeriodSinceCreationInDays', 1)]) + + policy_etag = self.cmd('az storage container immutability-policy show --account-name {} -c {} -g {}'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck('immutabilityPeriodSinceCreationInDays', 1)]).get_output_in_json().get('etag') + + self.cmd('az storage container immutability-policy lock --account-name {} -c {} -g {} --if-match {}'.format( + storage_account, container_name, resource_group, repr(policy_etag))) + + policy_etag = self.cmd('az storage container immutability-policy show --account-name {} -c {} -g {}'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck('immutabilityPeriodSinceCreationInDays', 1)]).get_output_in_json().get('etag') + + # cannot delete locked policy + with self.assertRaises(CloudError): + self.cmd('az storage container immutability-policy delete --account-name {} -c {} -g {} ' + '--if-match {}'.format(storage_account, container_name, resource_group, repr(policy_etag))) + + self.cmd('az storage container immutability-policy extend --period 2 ' + '--account-name {} -c {} -g {} --if-match {}'.format( + storage_account, container_name, resource_group, repr(policy_etag)), checks=[ + JMESPathCheck('immutabilityPeriodSinceCreationInDays', 2)]) diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_legal_hold.py b/src/storage-preview/azext_storage_preview/tests/latest/test_legal_hold.py new file mode 100644 index 00000000000..31f5f42d467 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_legal_hold.py @@ -0,0 +1,27 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import (ScenarioTest, JMESPathCheck, ResourceGroupPreparer, StorageAccountPreparer) + + +class StorageLegalHold(ScenarioTest): + @ResourceGroupPreparer(location='eastus2euap') + @StorageAccountPreparer(location='eastus2euap') + def test_storage_legal_hold(self, resource_group, storage_account): + container_name = 'container1' + self.cmd('storage container create --account-name {} -n {}'.format(storage_account, container_name)) + + self.cmd('storage container legal-hold show --account-name {} -c {} -g {}'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck("tags", [])]) + + result = self.cmd('storage container legal-hold set --account-name {} -c {} -g {} --tags tag1 tag2'.format( + storage_account, container_name, resource_group)).get_output_in_json() + self.assertIn("tag1", result.get("tags")) + self.assertIn("tag2", result.get("tags")) + + self.cmd('storage container legal-hold clear --account-name {} -c {} -g {} --tags tag1 tag2'.format( + storage_account, container_name, resource_group), checks=[ + JMESPathCheck("tags", [])]) diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_account_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_account_scenarios.py index 3f7735de44a..2be318d5190 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_account_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_account_scenarios.py @@ -6,11 +6,12 @@ StorageAccountPreparer, api_version_constraint) from azure.cli.core.profiles import ResourceType from .storage_test_util import StorageScenarioMixin +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageAccountTests(StorageScenarioMixin, ScenarioTest): - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2017-06-01') + @api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2017-06-01') @ResourceGroupPreparer(name_prefix='cli_test_storage_service_endpoints') @StorageAccountPreparer() def test_storage_account_service_endpoints(self, resource_group, storage_account): @@ -58,7 +59,7 @@ def test_storage_account_service_endpoints(self, resource_group, storage_account JMESPathCheck('length(virtualNetworkRules)', 0) ]) - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2017-06-01') + @api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2017-06-01') @ResourceGroupPreparer(location='southcentralus') def test_create_storage_account_with_assigned_identity(self, resource_group): name = self.create_random_name(prefix='cli', length=24) @@ -69,7 +70,7 @@ def test_create_storage_account_with_assigned_identity(self, resource_group): self.assertTrue(result['identity']['principalId']) self.assertTrue(result['identity']['tenantId']) - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2017-06-01') + @api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2017-06-01') @ResourceGroupPreparer(location='southcentralus') def test_update_storage_account_with_assigned_identity(self, resource_group): name = self.create_random_name(prefix='cli', length=24) @@ -127,7 +128,7 @@ def test_create_storage_account(self, resource_group, location): self.cmd('storage account check-name --name {}'.format(name), checks=JMESPathCheck('nameAvailable', True)) - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2017-10-01') + @api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2017-10-01') @ResourceGroupPreparer(parameter_name_for_location='location', location='southcentralus') def test_create_storage_account_v2(self, resource_group, location): self.kwargs.update({ @@ -143,7 +144,7 @@ def test_create_storage_account_v2(self, resource_group, location): JMESPathCheck('reason', 'AlreadyExists') ]) - @api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-01-01') + @api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-01-01') @ResourceGroupPreparer(location='southcentralus') def test_storage_create_default_sku(self, resource_group): name = self.create_random_name(prefix='cli', length=24) @@ -152,6 +153,7 @@ def test_storage_create_default_sku(self, resource_group): def test_show_usage(self): self.cmd('storage account show-usage', checks=JMESPathCheck('name.value', 'StorageAccounts')) + self.cmd('storage account show-usage -l centraluseuap', checks=JMESPathCheck('name.value', 'StorageAccounts')) @ResourceGroupPreparer() @StorageAccountPreparer() @@ -254,7 +256,7 @@ def test_customer_managed_key(self, resource_group, storage_account): '--encryption-key-version {ver} ') -@api_version_constraint(ResourceType.MGMT_STORAGE, max_api='2016-01-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, max_api='2016-01-01') class StorageAccountTestsForStack(StorageScenarioMixin, ScenarioTest): @ResourceGroupPreparer(parameter_name_for_location='location', name_prefix='cli_test_storage_stack_scenario', location='local', dev_setting_location='local') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_acl_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_acl_scenarios.py index d30e7a77d22..da25346b26d 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_acl_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_acl_scenarios.py @@ -7,9 +7,10 @@ api_version_constraint) from azure.cli.core.profiles import ResourceType from .storage_test_util import StorageScenarioMixin +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageAccessControlListTests(StorageScenarioMixin, ScenarioTest): @ResourceGroupPreparer() @StorageAccountPreparer() diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_live_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_live_scenarios.py index b470b851333..4edc2d63d26 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_live_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_live_scenarios.py @@ -7,9 +7,10 @@ from azure.cli.testsdk import (LiveScenarioTest, ResourceGroupPreparer, StorageAccountPreparer, JMESPathCheck, api_version_constraint) from azure.cli.core.profiles import ResourceType +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageBlobUploadLiveTests(LiveScenarioTest): @ResourceGroupPreparer() @StorageAccountPreparer() diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_scenarios.py index 09c945bf8ad..502e6058cdb 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_blob_scenarios.py @@ -14,9 +14,10 @@ from ..._client_factory import NO_CREDENTIALS_ERROR_MESSAGE from .storage_test_util import StorageScenarioMixin +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageBlobUploadTests(StorageScenarioMixin, ScenarioTest): @ResourceGroupPreparer() @StorageAccountPreparer(parameter_name='source_account') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_cors_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_cors_scenarios.py index 45fddc486d8..4e82c74bab9 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_cors_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_cors_scenarios.py @@ -6,9 +6,10 @@ from azure.cli.testsdk import (ScenarioTest, JMESPathCheck, ResourceGroupPreparer, StorageAccountPreparer, api_version_constraint) from azure.cli.core.profiles import ResourceType +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageCorsTests(ScenarioTest): @ResourceGroupPreparer() @StorageAccountPreparer(parameter_name='account') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_queue_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_queue_scenarios.py index be4926b6de5..8d94ec3fbde 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_queue_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_queue_scenarios.py @@ -7,9 +7,10 @@ from azure.cli.testsdk import (ScenarioTest, ResourceGroupPreparer, StorageAccountPreparer, api_version_constraint, JMESPathCheck, JMESPathCheckExists, NoneCheck) from azure.cli.core.profiles import ResourceType +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageQueueScenarioTests(ScenarioTest): @ResourceGroupPreparer() @StorageAccountPreparer(sku='Standard_RAGRS') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_table_scenarios.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_table_scenarios.py index c91c7adb33c..39b5afd5c7b 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_table_scenarios.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_table_scenarios.py @@ -7,9 +7,10 @@ JMESPathCheck, NoneCheck, api_version_constraint) from azure.cli.core.profiles import ResourceType from .storage_test_util import StorageScenarioMixin +from ...profiles import CUSTOM_MGMT_STORAGE -@api_version_constraint(ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class StorageTableScenarioTests(StorageScenarioMixin, ScenarioTest): @ResourceGroupPreparer() @StorageAccountPreparer(sku='Standard_RAGRS') diff --git a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_validators.py b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_validators.py index 2f119e748ca..3acfa9e23fb 100644 --- a/src/storage-preview/azext_storage_preview/tests/latest/test_storage_validators.py +++ b/src/storage-preview/azext_storage_preview/tests/latest/test_storage_validators.py @@ -19,7 +19,7 @@ from azure.cli.testsdk import api_version_constraint from ..._validators import (get_source_file_or_blob_service_client, validate_encryption_source, validate_encryption_services) -from ...profiles import CUSTOM_DATA_STORAGE +from ...profiles import CUSTOM_DATA_STORAGE, CUSTOM_MGMT_STORAGE class MockCLI(CLI): @@ -157,7 +157,7 @@ def test_storage_get_char_options_validator(self): self.assertEqual(result, set('ab')) -@api_version_constraint(resource_type=ResourceType.MGMT_STORAGE, min_api='2016-12-01') +@api_version_constraint(resource_type=CUSTOM_MGMT_STORAGE, min_api='2016-12-01') class TestEncryptionValidators(unittest.TestCase): def setUp(self): self.cli = MockCLI() diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/__init__.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/__init__.py new file mode 100644 index 00000000000..65d9ded91f5 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/__init__.py @@ -0,0 +1,17 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .storage_management_client import StorageManagementClient +from .version import VERSION + +__all__ = ['StorageManagementClient'] + +__version__ = VERSION diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/models.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/models.py new file mode 100644 index 00000000000..e262ee6ffb2 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/models.py @@ -0,0 +1,7 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- +from .v2018_02_01.models import * \ No newline at end of file diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/storage_management_client.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/storage_management_client.py new file mode 100644 index 00000000000..f276d8582ea --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/storage_management_client.py @@ -0,0 +1,243 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import SDKClient +from msrest import Serializer, Deserializer +from msrestazure import AzureConfiguration + +from azure.profiles import KnownProfiles, ProfileDefinition +from azure.profiles.multiapiclient import MultiApiClientMixin +from .version import VERSION + + +class StorageManagementClientConfiguration(AzureConfiguration): + """Configuration for StorageManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Gets subscription credentials which uniquely + identify the Microsoft Azure subscription. The subscription ID forms part + of the URI for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(StorageManagementClientConfiguration, self).__init__(base_url) + + self.add_user_agent('azure-mgmt-storage/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id + + +class StorageManagementClient(MultiApiClientMixin, SDKClient): + """The Azure Storage Management API. + + This ready contains multiple API versions, to help you deal with all Azure clouds + (Azure Stack, Azure Government, Azure China, etc.). + By default, uses latest API version available on public Azure. + For production, you should stick a particular api-version and/or profile. + The profile sets a mapping between the operation group and an API version. + The api-version parameter sets the default API version if the operation + group is not described in the profile. + + :ivar config: Configuration for client. + :vartype config: StorageManagementClientConfiguration + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str api_version: API version to use if no profile is provided, or if + missing in profile. + :param str base_url: Service URL + :param profile: A profile definition, from KnownProfiles to dict. + :type profile: azure.profiles.KnownProfiles + """ + + DEFAULT_API_VERSION='2018-02-01' + _PROFILE_TAG = "azure.mgmt.storage.StorageManagementClient" + LATEST_PROFILE = ProfileDefinition({ + _PROFILE_TAG: { + None: DEFAULT_API_VERSION + }}, + _PROFILE_TAG + " latest" + ) + + def __init__(self, credentials, subscription_id, api_version=None, base_url=None, profile=KnownProfiles.default): + self.config = StorageManagementClientConfiguration(credentials, subscription_id, base_url) + super(StorageManagementClient, self).__init__( + credentials, + self.config, + api_version=api_version, + profile=profile + ) + +############ Generated from here ############ + + @classmethod + def _models_dict(cls, api_version): + return {k: v for k, v in cls.models(api_version).__dict__.items() if isinstance(v, type)} + + @classmethod + def models(cls, api_version=DEFAULT_API_VERSION): + """Module depends on the API version: + + * 2015-06-15: :mod:`v2015_06_15.models` + * 2016-01-01: :mod:`v2016_01_01.models` + * 2016-12-01: :mod:`v2016_12_01.models` + * 2017-06-01: :mod:`v2017_06_01.models` + * 2017-10-01: :mod:`v2017_10_01.models` + * 2018-02-01: :mod:`v2018_02_01.models` + """ + if api_version == '2015-06-15': + from .v2015_06_15 import models + return models + elif api_version == '2016-01-01': + from .v2016_01_01 import models + return models + elif api_version == '2016-12-01': + from .v2016_12_01 import models + return models + elif api_version == '2017-06-01': + from .v2017_06_01 import models + return models + elif api_version == '2017-10-01': + from .v2017_10_01 import models + return models + elif api_version == '2018-02-01': + from .v2018_02_01 import models + return models + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + + @property + def blob_containers(self): + """Instance depends on the API version: + + * 2018-02-01: :class:`BlobContainersOperations` + """ + api_version = self._get_api_version('blob_containers') + if api_version == '2018-02-01': + from .v2018_02_01.operations import BlobContainersOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def operations(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`Operations` + * 2017-10-01: :class:`Operations` + * 2018-02-01: :class:`Operations` + """ + api_version = self._get_api_version('operations') + if api_version == '2017-06-01': + from .v2017_06_01.operations import Operations as OperationClass + elif api_version == '2017-10-01': + from .v2017_10_01.operations import Operations as OperationClass + elif api_version == '2018-02-01': + from .v2018_02_01.operations import Operations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def skus(self): + """Instance depends on the API version: + + * 2017-06-01: :class:`SkusOperations` + * 2017-10-01: :class:`SkusOperations` + * 2018-02-01: :class:`SkusOperations` + """ + api_version = self._get_api_version('skus') + if api_version == '2017-06-01': + from .v2017_06_01.operations import SkusOperations as OperationClass + elif api_version == '2017-10-01': + from .v2017_10_01.operations import SkusOperations as OperationClass + elif api_version == '2018-02-01': + from .v2018_02_01.operations import SkusOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def storage_accounts(self): + """Instance depends on the API version: + + * 2015-06-15: :class:`StorageAccountsOperations` + * 2016-01-01: :class:`StorageAccountsOperations` + * 2016-12-01: :class:`StorageAccountsOperations` + * 2017-06-01: :class:`StorageAccountsOperations` + * 2017-10-01: :class:`StorageAccountsOperations` + * 2018-02-01: :class:`StorageAccountsOperations` + """ + api_version = self._get_api_version('storage_accounts') + if api_version == '2015-06-15': + from .v2015_06_15.operations import StorageAccountsOperations as OperationClass + elif api_version == '2016-01-01': + from .v2016_01_01.operations import StorageAccountsOperations as OperationClass + elif api_version == '2016-12-01': + from .v2016_12_01.operations import StorageAccountsOperations as OperationClass + elif api_version == '2017-06-01': + from .v2017_06_01.operations import StorageAccountsOperations as OperationClass + elif api_version == '2017-10-01': + from .v2017_10_01.operations import StorageAccountsOperations as OperationClass + elif api_version == '2018-02-01': + from .v2018_02_01.operations import StorageAccountsOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) + + @property + def usage(self): + """Instance depends on the API version: + + * 2015-06-15: :class:`UsageOperations` + * 2016-01-01: :class:`UsageOperations` + * 2016-12-01: :class:`UsageOperations` + * 2017-06-01: :class:`UsageOperations` + * 2017-10-01: :class:`UsageOperations` + * 2018-02-01: :class:`UsageOperations` + """ + api_version = self._get_api_version('usage') + if api_version == '2015-06-15': + from .v2015_06_15.operations import UsageOperations as OperationClass + elif api_version == '2016-01-01': + from .v2016_01_01.operations import UsageOperations as OperationClass + elif api_version == '2016-12-01': + from .v2016_12_01.operations import UsageOperations as OperationClass + elif api_version == '2017-06-01': + from .v2017_06_01.operations import UsageOperations as OperationClass + elif api_version == '2017-10-01': + from .v2017_10_01.operations import UsageOperations as OperationClass + elif api_version == '2018-02-01': + from .v2018_02_01.operations import UsageOperations as OperationClass + else: + raise NotImplementedError("APIVersion {} is not available".format(api_version)) + return OperationClass(self._client, self.config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version))) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/__init__.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/__init__.py new file mode 100644 index 00000000000..0854715e0c1 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .storage_management_client import StorageManagementClient +from .version import VERSION + +__all__ = ['StorageManagementClient'] + +__version__ = VERSION + diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/__init__.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/__init__.py new file mode 100644 index 00000000000..010d2c21291 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/__init__.py @@ -0,0 +1,213 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +try: + from .operation_display_py3 import OperationDisplay + from .dimension_py3 import Dimension + from .metric_specification_py3 import MetricSpecification + from .service_specification_py3 import ServiceSpecification + from .operation_py3 import Operation + from .storage_account_check_name_availability_parameters_py3 import StorageAccountCheckNameAvailabilityParameters + from .sku_capability_py3 import SKUCapability + from .restriction_py3 import Restriction + from .sku_py3 import Sku + from .check_name_availability_result_py3 import CheckNameAvailabilityResult + from .custom_domain_py3 import CustomDomain + from .encryption_service_py3 import EncryptionService + from .encryption_services_py3 import EncryptionServices + from .key_vault_properties_py3 import KeyVaultProperties + from .encryption_py3 import Encryption + from .virtual_network_rule_py3 import VirtualNetworkRule + from .ip_rule_py3 import IPRule + from .network_rule_set_py3 import NetworkRuleSet + from .identity_py3 import Identity + from .storage_account_create_parameters_py3 import StorageAccountCreateParameters + from .endpoints_py3 import Endpoints + from .storage_account_py3 import StorageAccount + from .storage_account_key_py3 import StorageAccountKey + from .storage_account_list_keys_result_py3 import StorageAccountListKeysResult + from .storage_account_regenerate_key_parameters_py3 import StorageAccountRegenerateKeyParameters + from .storage_account_update_parameters_py3 import StorageAccountUpdateParameters + from .usage_name_py3 import UsageName + from .usage_py3 import Usage + from .account_sas_parameters_py3 import AccountSasParameters + from .list_account_sas_response_py3 import ListAccountSasResponse + from .service_sas_parameters_py3 import ServiceSasParameters + from .list_service_sas_response_py3 import ListServiceSasResponse + from .proxy_resource_py3 import ProxyResource + from .azure_entity_resource_py3 import AzureEntityResource + from .resource_py3 import Resource + from .tracked_resource_py3 import TrackedResource + from .update_history_property_py3 import UpdateHistoryProperty + from .immutability_policy_properties_py3 import ImmutabilityPolicyProperties + from .tag_property_py3 import TagProperty + from .legal_hold_properties_py3 import LegalHoldProperties + from .blob_container_py3 import BlobContainer + from .immutability_policy_py3 import ImmutabilityPolicy + from .legal_hold_py3 import LegalHold + from .list_container_item_py3 import ListContainerItem + from .list_container_items_py3 import ListContainerItems +except (SyntaxError, ImportError): + from .operation_display import OperationDisplay + from .dimension import Dimension + from .metric_specification import MetricSpecification + from .service_specification import ServiceSpecification + from .operation import Operation + from .storage_account_check_name_availability_parameters import StorageAccountCheckNameAvailabilityParameters + from .sku_capability import SKUCapability + from .restriction import Restriction + from .sku import Sku + from .check_name_availability_result import CheckNameAvailabilityResult + from .custom_domain import CustomDomain + from .encryption_service import EncryptionService + from .encryption_services import EncryptionServices + from .key_vault_properties import KeyVaultProperties + from .encryption import Encryption + from .virtual_network_rule import VirtualNetworkRule + from .ip_rule import IPRule + from .network_rule_set import NetworkRuleSet + from .identity import Identity + from .storage_account_create_parameters import StorageAccountCreateParameters + from .endpoints import Endpoints + from .storage_account import StorageAccount + from .storage_account_key import StorageAccountKey + from .storage_account_list_keys_result import StorageAccountListKeysResult + from .storage_account_regenerate_key_parameters import StorageAccountRegenerateKeyParameters + from .storage_account_update_parameters import StorageAccountUpdateParameters + from .usage_name import UsageName + from .usage import Usage + from .account_sas_parameters import AccountSasParameters + from .list_account_sas_response import ListAccountSasResponse + from .service_sas_parameters import ServiceSasParameters + from .list_service_sas_response import ListServiceSasResponse + from .proxy_resource import ProxyResource + from .azure_entity_resource import AzureEntityResource + from .resource import Resource + from .tracked_resource import TrackedResource + from .update_history_property import UpdateHistoryProperty + from .immutability_policy_properties import ImmutabilityPolicyProperties + from .tag_property import TagProperty + from .legal_hold_properties import LegalHoldProperties + from .blob_container import BlobContainer + from .immutability_policy import ImmutabilityPolicy + from .legal_hold import LegalHold + from .list_container_item import ListContainerItem + from .list_container_items import ListContainerItems +from .operation_paged import OperationPaged +from .sku_paged import SkuPaged +from .storage_account_paged import StorageAccountPaged +from .usage_paged import UsagePaged +from .storage_management_client_enums import ( + ReasonCode, + SkuName, + SkuTier, + Kind, + Reason, + KeySource, + Action, + State, + Bypass, + DefaultAction, + AccessTier, + ProvisioningState, + AccountStatus, + KeyPermission, + UsageUnit, + Services, + SignedResourceTypes, + Permissions, + HttpProtocol, + SignedResource, + PublicAccess, + LeaseStatus, + LeaseState, + LeaseDuration, + ImmutabilityPolicyState, + ImmutabilityPolicyUpdateType, +) + +__all__ = [ + 'OperationDisplay', + 'Dimension', + 'MetricSpecification', + 'ServiceSpecification', + 'Operation', + 'StorageAccountCheckNameAvailabilityParameters', + 'SKUCapability', + 'Restriction', + 'Sku', + 'CheckNameAvailabilityResult', + 'CustomDomain', + 'EncryptionService', + 'EncryptionServices', + 'KeyVaultProperties', + 'Encryption', + 'VirtualNetworkRule', + 'IPRule', + 'NetworkRuleSet', + 'Identity', + 'StorageAccountCreateParameters', + 'Endpoints', + 'StorageAccount', + 'StorageAccountKey', + 'StorageAccountListKeysResult', + 'StorageAccountRegenerateKeyParameters', + 'StorageAccountUpdateParameters', + 'UsageName', + 'Usage', + 'AccountSasParameters', + 'ListAccountSasResponse', + 'ServiceSasParameters', + 'ListServiceSasResponse', + 'ProxyResource', + 'AzureEntityResource', + 'Resource', + 'TrackedResource', + 'UpdateHistoryProperty', + 'ImmutabilityPolicyProperties', + 'TagProperty', + 'LegalHoldProperties', + 'BlobContainer', + 'ImmutabilityPolicy', + 'LegalHold', + 'ListContainerItem', + 'ListContainerItems', + 'OperationPaged', + 'SkuPaged', + 'StorageAccountPaged', + 'UsagePaged', + 'ReasonCode', + 'SkuName', + 'SkuTier', + 'Kind', + 'Reason', + 'KeySource', + 'Action', + 'State', + 'Bypass', + 'DefaultAction', + 'AccessTier', + 'ProvisioningState', + 'AccountStatus', + 'KeyPermission', + 'UsageUnit', + 'Services', + 'SignedResourceTypes', + 'Permissions', + 'HttpProtocol', + 'SignedResource', + 'PublicAccess', + 'LeaseStatus', + 'LeaseState', + 'LeaseDuration', + 'ImmutabilityPolicyState', + 'ImmutabilityPolicyUpdateType', +] diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/account_sas_parameters.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/account_sas_parameters.py new file mode 100644 index 00000000000..7acf3ff04e9 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/account_sas_parameters.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AccountSasParameters(Model): + """The parameters to list SAS credentials of a storage account. + + All required parameters must be populated in order to send to Azure. + + :param services: Required. The signed services accessible with the account + SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). + Possible values include: 'b', 'q', 't', 'f' + :type services: str or ~azure.mgmt.storage.v2018_02_01.models.Services + :param resource_types: Required. The signed resource types that are + accessible with the account SAS. Service (s): Access to service-level + APIs; Container (c): Access to container-level APIs; Object (o): Access to + object-level APIs for blobs, queue messages, table entities, and files. + Possible values include: 's', 'c', 'o' + :type resource_types: str or + ~azure.mgmt.storage.v2018_02_01.models.SignedResourceTypes + :param permissions: Required. The signed permissions for the account SAS. + Possible values include: Read (r), Write (w), Delete (d), List (l), Add + (a), Create (c), Update (u) and Process (p). Possible values include: 'r', + 'd', 'w', 'l', 'a', 'c', 'u', 'p' + :type permissions: str or + ~azure.mgmt.storage.v2018_02_01.models.Permissions + :param ip_address_or_range: An IP address or a range of IP addresses from + which to accept requests. + :type ip_address_or_range: str + :param protocols: The protocol permitted for a request made with the + account SAS. Possible values include: 'https,http', 'https' + :type protocols: str or + ~azure.mgmt.storage.v2018_02_01.models.HttpProtocol + :param shared_access_start_time: The time at which the SAS becomes valid. + :type shared_access_start_time: datetime + :param shared_access_expiry_time: Required. The time at which the shared + access signature becomes invalid. + :type shared_access_expiry_time: datetime + :param key_to_sign: The key to sign the account SAS token with. + :type key_to_sign: str + """ + + _validation = { + 'services': {'required': True}, + 'resource_types': {'required': True}, + 'permissions': {'required': True}, + 'shared_access_expiry_time': {'required': True}, + } + + _attribute_map = { + 'services': {'key': 'signedServices', 'type': 'str'}, + 'resource_types': {'key': 'signedResourceTypes', 'type': 'str'}, + 'permissions': {'key': 'signedPermission', 'type': 'str'}, + 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, + 'protocols': {'key': 'signedProtocol', 'type': 'HttpProtocol'}, + 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, + 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, + 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AccountSasParameters, self).__init__(**kwargs) + self.services = kwargs.get('services', None) + self.resource_types = kwargs.get('resource_types', None) + self.permissions = kwargs.get('permissions', None) + self.ip_address_or_range = kwargs.get('ip_address_or_range', None) + self.protocols = kwargs.get('protocols', None) + self.shared_access_start_time = kwargs.get('shared_access_start_time', None) + self.shared_access_expiry_time = kwargs.get('shared_access_expiry_time', None) + self.key_to_sign = kwargs.get('key_to_sign', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/account_sas_parameters_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/account_sas_parameters_py3.py new file mode 100644 index 00000000000..3d0bb4cd3ad --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/account_sas_parameters_py3.py @@ -0,0 +1,80 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class AccountSasParameters(Model): + """The parameters to list SAS credentials of a storage account. + + All required parameters must be populated in order to send to Azure. + + :param services: Required. The signed services accessible with the account + SAS. Possible values include: Blob (b), Queue (q), Table (t), File (f). + Possible values include: 'b', 'q', 't', 'f' + :type services: str or ~azure.mgmt.storage.v2018_02_01.models.Services + :param resource_types: Required. The signed resource types that are + accessible with the account SAS. Service (s): Access to service-level + APIs; Container (c): Access to container-level APIs; Object (o): Access to + object-level APIs for blobs, queue messages, table entities, and files. + Possible values include: 's', 'c', 'o' + :type resource_types: str or + ~azure.mgmt.storage.v2018_02_01.models.SignedResourceTypes + :param permissions: Required. The signed permissions for the account SAS. + Possible values include: Read (r), Write (w), Delete (d), List (l), Add + (a), Create (c), Update (u) and Process (p). Possible values include: 'r', + 'd', 'w', 'l', 'a', 'c', 'u', 'p' + :type permissions: str or + ~azure.mgmt.storage.v2018_02_01.models.Permissions + :param ip_address_or_range: An IP address or a range of IP addresses from + which to accept requests. + :type ip_address_or_range: str + :param protocols: The protocol permitted for a request made with the + account SAS. Possible values include: 'https,http', 'https' + :type protocols: str or + ~azure.mgmt.storage.v2018_02_01.models.HttpProtocol + :param shared_access_start_time: The time at which the SAS becomes valid. + :type shared_access_start_time: datetime + :param shared_access_expiry_time: Required. The time at which the shared + access signature becomes invalid. + :type shared_access_expiry_time: datetime + :param key_to_sign: The key to sign the account SAS token with. + :type key_to_sign: str + """ + + _validation = { + 'services': {'required': True}, + 'resource_types': {'required': True}, + 'permissions': {'required': True}, + 'shared_access_expiry_time': {'required': True}, + } + + _attribute_map = { + 'services': {'key': 'signedServices', 'type': 'str'}, + 'resource_types': {'key': 'signedResourceTypes', 'type': 'str'}, + 'permissions': {'key': 'signedPermission', 'type': 'str'}, + 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, + 'protocols': {'key': 'signedProtocol', 'type': 'HttpProtocol'}, + 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, + 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, + 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, + } + + def __init__(self, *, services, resource_types, permissions, shared_access_expiry_time, ip_address_or_range: str=None, protocols=None, shared_access_start_time=None, key_to_sign: str=None, **kwargs) -> None: + super(AccountSasParameters, self).__init__(**kwargs) + self.services = services + self.resource_types = resource_types + self.permissions = permissions + self.ip_address_or_range = ip_address_or_range + self.protocols = protocols + self.shared_access_start_time = shared_access_start_time + self.shared_access_expiry_time = shared_access_expiry_time + self.key_to_sign = key_to_sign diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/azure_entity_resource.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/azure_entity_resource.py new file mode 100644 index 00000000000..3bffaab8d35 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/azure_entity_resource.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class AzureEntityResource(Resource): + """The resource model definition for a Azure Resource Manager resource with an + etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(AzureEntityResource, self).__init__(**kwargs) + self.etag = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/azure_entity_resource_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/azure_entity_resource_py3.py new file mode 100644 index 00000000000..d3f80d87498 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/azure_entity_resource_py3.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource_py3 import Resource + + +class AzureEntityResource(Resource): + """The resource model definition for a Azure Resource Manager resource with an + etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(AzureEntityResource, self).__init__(**kwargs) + self.etag = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/blob_container.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/blob_container.py new file mode 100644 index 00000000000..96909e68f45 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/blob_container.py @@ -0,0 +1,119 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_entity_resource import AzureEntityResource + + +class BlobContainer(AzureEntityResource): + """Properties of the blob container, including Id, resource name, resource + type, Etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param public_access: Specifies whether data in the container may be + accessed publicly and the level of access. Possible values include: + 'Container', 'Blob', 'None' + :type public_access: str or + ~azure.mgmt.storage.v2018_02_01.models.PublicAccess + :ivar last_modified_time: Returns the date and time the container was last + modified. + :vartype last_modified_time: datetime + :ivar lease_status: The lease status of the container. Possible values + include: 'Locked', 'Unlocked' + :vartype lease_status: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseStatus + :ivar lease_state: Lease state of the container. Possible values include: + 'Available', 'Leased', 'Expired', 'Breaking', 'Broken' + :vartype lease_state: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseState + :ivar lease_duration: Specifies whether the lease on a container is of + infinite or fixed duration, only when the container is leased. Possible + values include: 'Infinite', 'Fixed' + :vartype lease_duration: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseDuration + :param metadata: A name-value pair to associate with the container as + metadata. + :type metadata: dict[str, str] + :ivar immutability_policy: The ImmutabilityPolicy property of the + container. + :vartype immutability_policy: + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyProperties + :ivar legal_hold: The LegalHold property of the container. + :vartype legal_hold: + ~azure.mgmt.storage.v2018_02_01.models.LegalHoldProperties + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :ivar has_immutability_policy: The hasImmutabilityPolicy public property + is set to true by SRP if ImmutabilityPolicy has been created for this + container. The hasImmutabilityPolicy public property is set to false by + SRP if ImmutabilityPolicy has not been created for this container. + :vartype has_immutability_policy: bool + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'last_modified_time': {'readonly': True}, + 'lease_status': {'readonly': True}, + 'lease_state': {'readonly': True}, + 'lease_duration': {'readonly': True}, + 'immutability_policy': {'readonly': True}, + 'legal_hold': {'readonly': True}, + 'has_legal_hold': {'readonly': True}, + 'has_immutability_policy': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'public_access': {'key': 'properties.publicAccess', 'type': 'PublicAccess'}, + 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, + 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, + 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, + 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, + 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, + 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, + 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, + 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(BlobContainer, self).__init__(**kwargs) + self.public_access = kwargs.get('public_access', None) + self.last_modified_time = None + self.lease_status = None + self.lease_state = None + self.lease_duration = None + self.metadata = kwargs.get('metadata', None) + self.immutability_policy = None + self.legal_hold = None + self.has_legal_hold = None + self.has_immutability_policy = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/blob_container_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/blob_container_py3.py new file mode 100644 index 00000000000..2866795ab51 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/blob_container_py3.py @@ -0,0 +1,119 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_entity_resource_py3 import AzureEntityResource + + +class BlobContainer(AzureEntityResource): + """Properties of the blob container, including Id, resource name, resource + type, Etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param public_access: Specifies whether data in the container may be + accessed publicly and the level of access. Possible values include: + 'Container', 'Blob', 'None' + :type public_access: str or + ~azure.mgmt.storage.v2018_02_01.models.PublicAccess + :ivar last_modified_time: Returns the date and time the container was last + modified. + :vartype last_modified_time: datetime + :ivar lease_status: The lease status of the container. Possible values + include: 'Locked', 'Unlocked' + :vartype lease_status: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseStatus + :ivar lease_state: Lease state of the container. Possible values include: + 'Available', 'Leased', 'Expired', 'Breaking', 'Broken' + :vartype lease_state: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseState + :ivar lease_duration: Specifies whether the lease on a container is of + infinite or fixed duration, only when the container is leased. Possible + values include: 'Infinite', 'Fixed' + :vartype lease_duration: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseDuration + :param metadata: A name-value pair to associate with the container as + metadata. + :type metadata: dict[str, str] + :ivar immutability_policy: The ImmutabilityPolicy property of the + container. + :vartype immutability_policy: + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyProperties + :ivar legal_hold: The LegalHold property of the container. + :vartype legal_hold: + ~azure.mgmt.storage.v2018_02_01.models.LegalHoldProperties + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :ivar has_immutability_policy: The hasImmutabilityPolicy public property + is set to true by SRP if ImmutabilityPolicy has been created for this + container. The hasImmutabilityPolicy public property is set to false by + SRP if ImmutabilityPolicy has not been created for this container. + :vartype has_immutability_policy: bool + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'last_modified_time': {'readonly': True}, + 'lease_status': {'readonly': True}, + 'lease_state': {'readonly': True}, + 'lease_duration': {'readonly': True}, + 'immutability_policy': {'readonly': True}, + 'legal_hold': {'readonly': True}, + 'has_legal_hold': {'readonly': True}, + 'has_immutability_policy': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'public_access': {'key': 'properties.publicAccess', 'type': 'PublicAccess'}, + 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, + 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, + 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, + 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, + 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, + 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, + 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, + 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, + } + + def __init__(self, *, public_access=None, metadata=None, **kwargs) -> None: + super(BlobContainer, self).__init__(**kwargs) + self.public_access = public_access + self.last_modified_time = None + self.lease_status = None + self.lease_state = None + self.lease_duration = None + self.metadata = metadata + self.immutability_policy = None + self.legal_hold = None + self.has_legal_hold = None + self.has_immutability_policy = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/check_name_availability_result.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/check_name_availability_result.py new file mode 100644 index 00000000000..d4fdcfdf858 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/check_name_availability_result.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CheckNameAvailabilityResult(Model): + """The CheckNameAvailability operation response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name_available: Gets a boolean value that indicates whether the name + is available for you to use. If true, the name is available. If false, the + name has already been taken or is invalid and cannot be used. + :vartype name_available: bool + :ivar reason: Gets the reason that a storage account name could not be + used. The Reason element is only returned if NameAvailable is false. + Possible values include: 'AccountNameInvalid', 'AlreadyExists' + :vartype reason: str or ~azure.mgmt.storage.v2018_02_01.models.Reason + :ivar message: Gets an error message explaining the Reason value in more + detail. + :vartype message: str + """ + + _validation = { + 'name_available': {'readonly': True}, + 'reason': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'Reason'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CheckNameAvailabilityResult, self).__init__(**kwargs) + self.name_available = None + self.reason = None + self.message = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/check_name_availability_result_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/check_name_availability_result_py3.py new file mode 100644 index 00000000000..41a2fada1f8 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/check_name_availability_result_py3.py @@ -0,0 +1,50 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CheckNameAvailabilityResult(Model): + """The CheckNameAvailability operation response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name_available: Gets a boolean value that indicates whether the name + is available for you to use. If true, the name is available. If false, the + name has already been taken or is invalid and cannot be used. + :vartype name_available: bool + :ivar reason: Gets the reason that a storage account name could not be + used. The Reason element is only returned if NameAvailable is false. + Possible values include: 'AccountNameInvalid', 'AlreadyExists' + :vartype reason: str or ~azure.mgmt.storage.v2018_02_01.models.Reason + :ivar message: Gets an error message explaining the Reason value in more + detail. + :vartype message: str + """ + + _validation = { + 'name_available': {'readonly': True}, + 'reason': {'readonly': True}, + 'message': {'readonly': True}, + } + + _attribute_map = { + 'name_available': {'key': 'nameAvailable', 'type': 'bool'}, + 'reason': {'key': 'reason', 'type': 'Reason'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(CheckNameAvailabilityResult, self).__init__(**kwargs) + self.name_available = None + self.reason = None + self.message = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/custom_domain.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/custom_domain.py new file mode 100644 index 00000000000..585480d7321 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/custom_domain.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CustomDomain(Model): + """The custom domain assigned to this storage account. This can be set via + Update. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Gets or sets the custom domain name assigned to the + storage account. Name is the CNAME source. + :type name: str + :param use_sub_domain: Indicates whether indirect CName validation is + enabled. Default value is false. This should only be set on updates. + :type use_sub_domain: bool + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'use_sub_domain': {'key': 'useSubDomain', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(CustomDomain, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.use_sub_domain = kwargs.get('use_sub_domain', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/custom_domain_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/custom_domain_py3.py new file mode 100644 index 00000000000..4c6fe3f83e3 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/custom_domain_py3.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CustomDomain(Model): + """The custom domain assigned to this storage account. This can be set via + Update. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Gets or sets the custom domain name assigned to the + storage account. Name is the CNAME source. + :type name: str + :param use_sub_domain: Indicates whether indirect CName validation is + enabled. Default value is false. This should only be set on updates. + :type use_sub_domain: bool + """ + + _validation = { + 'name': {'required': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'use_sub_domain': {'key': 'useSubDomain', 'type': 'bool'}, + } + + def __init__(self, *, name: str, use_sub_domain: bool=None, **kwargs) -> None: + super(CustomDomain, self).__init__(**kwargs) + self.name = name + self.use_sub_domain = use_sub_domain diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/dimension.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/dimension.py new file mode 100644 index 00000000000..0a0cdaf75da --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/dimension.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Dimension(Model): + """Dimension of blobs, possiblly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Dimension, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/dimension_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/dimension_py3.py new file mode 100644 index 00000000000..6845aa528b4 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/dimension_py3.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Dimension(Model): + """Dimension of blobs, possiblly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, **kwargs) -> None: + super(Dimension, self).__init__(**kwargs) + self.name = name + self.display_name = display_name diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption.py new file mode 100644 index 00000000000..c9fcc801ead --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Encryption(Model): + """The encryption settings on the storage account. + + All required parameters must be populated in order to send to Azure. + + :param services: List of services which support encryption. + :type services: ~azure.mgmt.storage.v2018_02_01.models.EncryptionServices + :param key_source: Required. The encryption keySource (provider). Possible + values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. + Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'. + Default value: "Microsoft.Storage" . + :type key_source: str or ~azure.mgmt.storage.v2018_02_01.models.KeySource + :param key_vault_properties: Properties provided by key vault. + :type key_vault_properties: + ~azure.mgmt.storage.v2018_02_01.models.KeyVaultProperties + """ + + _validation = { + 'key_source': {'required': True}, + } + + _attribute_map = { + 'services': {'key': 'services', 'type': 'EncryptionServices'}, + 'key_source': {'key': 'keySource', 'type': 'str'}, + 'key_vault_properties': {'key': 'keyvaultproperties', 'type': 'KeyVaultProperties'}, + } + + def __init__(self, **kwargs): + super(Encryption, self).__init__(**kwargs) + self.services = kwargs.get('services', None) + self.key_source = kwargs.get('key_source', "Microsoft.Storage") + self.key_vault_properties = kwargs.get('key_vault_properties', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_py3.py new file mode 100644 index 00000000000..d4f941b70bf --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_py3.py @@ -0,0 +1,46 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Encryption(Model): + """The encryption settings on the storage account. + + All required parameters must be populated in order to send to Azure. + + :param services: List of services which support encryption. + :type services: ~azure.mgmt.storage.v2018_02_01.models.EncryptionServices + :param key_source: Required. The encryption keySource (provider). Possible + values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault. + Possible values include: 'Microsoft.Storage', 'Microsoft.Keyvault'. + Default value: "Microsoft.Storage" . + :type key_source: str or ~azure.mgmt.storage.v2018_02_01.models.KeySource + :param key_vault_properties: Properties provided by key vault. + :type key_vault_properties: + ~azure.mgmt.storage.v2018_02_01.models.KeyVaultProperties + """ + + _validation = { + 'key_source': {'required': True}, + } + + _attribute_map = { + 'services': {'key': 'services', 'type': 'EncryptionServices'}, + 'key_source': {'key': 'keySource', 'type': 'str'}, + 'key_vault_properties': {'key': 'keyvaultproperties', 'type': 'KeyVaultProperties'}, + } + + def __init__(self, *, services=None, key_source="Microsoft.Storage", key_vault_properties=None, **kwargs) -> None: + super(Encryption, self).__init__(**kwargs) + self.services = services + self.key_source = key_source + self.key_vault_properties = key_vault_properties diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_service.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_service.py new file mode 100644 index 00000000000..3a020c468f6 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_service.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EncryptionService(Model): + """A service that allows server-side encryption to be used. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param enabled: A boolean indicating whether or not the service encrypts + the data as it is stored. + :type enabled: bool + :ivar last_enabled_time: Gets a rough estimate of the date/time when the + encryption was last enabled by the user. Only returned when encryption is + enabled. There might be some unencrypted blobs which were written after + this time, as it is just a rough estimate. + :vartype last_enabled_time: datetime + """ + + _validation = { + 'last_enabled_time': {'readonly': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, + } + + def __init__(self, **kwargs): + super(EncryptionService, self).__init__(**kwargs) + self.enabled = kwargs.get('enabled', None) + self.last_enabled_time = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_service_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_service_py3.py new file mode 100644 index 00000000000..0566050c615 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_service_py3.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EncryptionService(Model): + """A service that allows server-side encryption to be used. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param enabled: A boolean indicating whether or not the service encrypts + the data as it is stored. + :type enabled: bool + :ivar last_enabled_time: Gets a rough estimate of the date/time when the + encryption was last enabled by the user. Only returned when encryption is + enabled. There might be some unencrypted blobs which were written after + this time, as it is just a rough estimate. + :vartype last_enabled_time: datetime + """ + + _validation = { + 'last_enabled_time': {'readonly': True}, + } + + _attribute_map = { + 'enabled': {'key': 'enabled', 'type': 'bool'}, + 'last_enabled_time': {'key': 'lastEnabledTime', 'type': 'iso-8601'}, + } + + def __init__(self, *, enabled: bool=None, **kwargs) -> None: + super(EncryptionService, self).__init__(**kwargs) + self.enabled = enabled + self.last_enabled_time = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_services.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_services.py new file mode 100644 index 00000000000..e47d51e5e2e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_services.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EncryptionServices(Model): + """A list of services that support encryption. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param blob: The encryption function of the blob storage service. + :type blob: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + :param file: The encryption function of the file storage service. + :type file: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + :ivar table: The encryption function of the table storage service. + :vartype table: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + :ivar queue: The encryption function of the queue storage service. + :vartype queue: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + """ + + _validation = { + 'table': {'readonly': True}, + 'queue': {'readonly': True}, + } + + _attribute_map = { + 'blob': {'key': 'blob', 'type': 'EncryptionService'}, + 'file': {'key': 'file', 'type': 'EncryptionService'}, + 'table': {'key': 'table', 'type': 'EncryptionService'}, + 'queue': {'key': 'queue', 'type': 'EncryptionService'}, + } + + def __init__(self, **kwargs): + super(EncryptionServices, self).__init__(**kwargs) + self.blob = kwargs.get('blob', None) + self.file = kwargs.get('file', None) + self.table = None + self.queue = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_services_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_services_py3.py new file mode 100644 index 00000000000..02f2f95c73e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/encryption_services_py3.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class EncryptionServices(Model): + """A list of services that support encryption. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param blob: The encryption function of the blob storage service. + :type blob: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + :param file: The encryption function of the file storage service. + :type file: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + :ivar table: The encryption function of the table storage service. + :vartype table: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + :ivar queue: The encryption function of the queue storage service. + :vartype queue: ~azure.mgmt.storage.v2018_02_01.models.EncryptionService + """ + + _validation = { + 'table': {'readonly': True}, + 'queue': {'readonly': True}, + } + + _attribute_map = { + 'blob': {'key': 'blob', 'type': 'EncryptionService'}, + 'file': {'key': 'file', 'type': 'EncryptionService'}, + 'table': {'key': 'table', 'type': 'EncryptionService'}, + 'queue': {'key': 'queue', 'type': 'EncryptionService'}, + } + + def __init__(self, *, blob=None, file=None, **kwargs) -> None: + super(EncryptionServices, self).__init__(**kwargs) + self.blob = blob + self.file = file + self.table = None + self.queue = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/endpoints.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/endpoints.py new file mode 100644 index 00000000000..ec345fceac4 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/endpoints.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Endpoints(Model): + """The URIs that are used to perform a retrieval of a public blob, queue, or + table object. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar blob: Gets the blob endpoint. + :vartype blob: str + :ivar queue: Gets the queue endpoint. + :vartype queue: str + :ivar table: Gets the table endpoint. + :vartype table: str + :ivar file: Gets the file endpoint. + :vartype file: str + """ + + _validation = { + 'blob': {'readonly': True}, + 'queue': {'readonly': True}, + 'table': {'readonly': True}, + 'file': {'readonly': True}, + } + + _attribute_map = { + 'blob': {'key': 'blob', 'type': 'str'}, + 'queue': {'key': 'queue', 'type': 'str'}, + 'table': {'key': 'table', 'type': 'str'}, + 'file': {'key': 'file', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Endpoints, self).__init__(**kwargs) + self.blob = None + self.queue = None + self.table = None + self.file = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/endpoints_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/endpoints_py3.py new file mode 100644 index 00000000000..a186e9c8d6a --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/endpoints_py3.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Endpoints(Model): + """The URIs that are used to perform a retrieval of a public blob, queue, or + table object. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar blob: Gets the blob endpoint. + :vartype blob: str + :ivar queue: Gets the queue endpoint. + :vartype queue: str + :ivar table: Gets the table endpoint. + :vartype table: str + :ivar file: Gets the file endpoint. + :vartype file: str + """ + + _validation = { + 'blob': {'readonly': True}, + 'queue': {'readonly': True}, + 'table': {'readonly': True}, + 'file': {'readonly': True}, + } + + _attribute_map = { + 'blob': {'key': 'blob', 'type': 'str'}, + 'queue': {'key': 'queue', 'type': 'str'}, + 'table': {'key': 'table', 'type': 'str'}, + 'file': {'key': 'file', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(Endpoints, self).__init__(**kwargs) + self.blob = None + self.queue = None + self.table = None + self.file = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/identity.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/identity.py new file mode 100644 index 00000000000..f526b986fc7 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/identity.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Identity(Model): + """Identity for the resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar principal_id: The principal ID of resource identity. + :vartype principal_id: str + :ivar tenant_id: The tenant ID of resource. + :vartype tenant_id: str + :ivar type: Required. The identity type. Default value: "SystemAssigned" . + :vartype type: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'type': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + type = "SystemAssigned" + + def __init__(self, **kwargs): + super(Identity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/identity_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/identity_py3.py new file mode 100644 index 00000000000..22d25fdd85b --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/identity_py3.py @@ -0,0 +1,48 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Identity(Model): + """Identity for the resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar principal_id: The principal ID of resource identity. + :vartype principal_id: str + :ivar tenant_id: The tenant ID of resource. + :vartype tenant_id: str + :ivar type: Required. The identity type. Default value: "SystemAssigned" . + :vartype type: str + """ + + _validation = { + 'principal_id': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'type': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'principal_id': {'key': 'principalId', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + type = "SystemAssigned" + + def __init__(self, **kwargs) -> None: + super(Identity, self).__init__(**kwargs) + self.principal_id = None + self.tenant_id = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy.py new file mode 100644 index 00000000000..2b8eb01dea0 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_entity_resource import AzureEntityResource + + +class ImmutabilityPolicy(AzureEntityResource): + """The ImmutabilityPolicy property of a blob container, including Id, resource + name, resource type, Etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param immutability_period_since_creation_in_days: Required. The + immutability period for the blobs in the container since the policy + creation, in days. + :type immutability_period_since_creation_in_days: int + :ivar state: The ImmutabilityPolicy state of a blob container, possible + values include: Locked and Unlocked. Possible values include: 'Locked', + 'Unlocked' + :vartype state: str or + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'immutability_period_since_creation_in_days': {'required': True}, + 'state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ImmutabilityPolicy, self).__init__(**kwargs) + self.immutability_period_since_creation_in_days = kwargs.get('immutability_period_since_creation_in_days', None) + self.state = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_properties.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_properties.py new file mode 100644 index 00000000000..60d6e13f0c0 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_properties.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ImmutabilityPolicyProperties(Model): + """The properties of an ImmutabilityPolicy of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param immutability_period_since_creation_in_days: Required. The + immutability period for the blobs in the container since the policy + creation, in days. + :type immutability_period_since_creation_in_days: int + :ivar state: The ImmutabilityPolicy state of a blob container, possible + values include: Locked and Unlocked. Possible values include: 'Locked', + 'Unlocked' + :vartype state: str or + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyState + :ivar etag: ImmutabilityPolicy Etag. + :vartype etag: str + :ivar update_history: The ImmutabilityPolicy update history of the blob + container. + :vartype update_history: + list[~azure.mgmt.storage.v2018_02_01.models.UpdateHistoryProperty] + """ + + _validation = { + 'immutability_period_since_creation_in_days': {'required': True}, + 'state': {'readonly': True}, + 'etag': {'readonly': True}, + 'update_history': {'readonly': True}, + } + + _attribute_map = { + 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'update_history': {'key': 'updateHistory', 'type': '[UpdateHistoryProperty]'}, + } + + def __init__(self, **kwargs): + super(ImmutabilityPolicyProperties, self).__init__(**kwargs) + self.immutability_period_since_creation_in_days = kwargs.get('immutability_period_since_creation_in_days', None) + self.state = None + self.etag = None + self.update_history = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_properties_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_properties_py3.py new file mode 100644 index 00000000000..3f0434d3c7c --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_properties_py3.py @@ -0,0 +1,59 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ImmutabilityPolicyProperties(Model): + """The properties of an ImmutabilityPolicy of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param immutability_period_since_creation_in_days: Required. The + immutability period for the blobs in the container since the policy + creation, in days. + :type immutability_period_since_creation_in_days: int + :ivar state: The ImmutabilityPolicy state of a blob container, possible + values include: Locked and Unlocked. Possible values include: 'Locked', + 'Unlocked' + :vartype state: str or + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyState + :ivar etag: ImmutabilityPolicy Etag. + :vartype etag: str + :ivar update_history: The ImmutabilityPolicy update history of the blob + container. + :vartype update_history: + list[~azure.mgmt.storage.v2018_02_01.models.UpdateHistoryProperty] + """ + + _validation = { + 'immutability_period_since_creation_in_days': {'required': True}, + 'state': {'readonly': True}, + 'etag': {'readonly': True}, + 'update_history': {'readonly': True}, + } + + _attribute_map = { + 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'update_history': {'key': 'updateHistory', 'type': '[UpdateHistoryProperty]'}, + } + + def __init__(self, *, immutability_period_since_creation_in_days: int, **kwargs) -> None: + super(ImmutabilityPolicyProperties, self).__init__(**kwargs) + self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days + self.state = None + self.etag = None + self.update_history = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_py3.py new file mode 100644 index 00000000000..443d619aebb --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/immutability_policy_py3.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_entity_resource_py3 import AzureEntityResource + + +class ImmutabilityPolicy(AzureEntityResource): + """The ImmutabilityPolicy property of a blob container, including Id, resource + name, resource type, Etag. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param immutability_period_since_creation_in_days: Required. The + immutability period for the blobs in the container since the policy + creation, in days. + :type immutability_period_since_creation_in_days: int + :ivar state: The ImmutabilityPolicy state of a blob container, possible + values include: Locked and Unlocked. Possible values include: 'Locked', + 'Unlocked' + :vartype state: str or + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyState + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'immutability_period_since_creation_in_days': {'required': True}, + 'state': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'immutability_period_since_creation_in_days': {'key': 'properties.immutabilityPeriodSinceCreationInDays', 'type': 'int'}, + 'state': {'key': 'properties.state', 'type': 'str'}, + } + + def __init__(self, *, immutability_period_since_creation_in_days: int, **kwargs) -> None: + super(ImmutabilityPolicy, self).__init__(**kwargs) + self.immutability_period_since_creation_in_days = immutability_period_since_creation_in_days + self.state = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/ip_rule.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/ip_rule.py new file mode 100644 index 00000000000..cd2416118e5 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/ip_rule.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class IPRule(Model): + """IP rule with specific IP or IP range in CIDR format. + + All required parameters must be populated in order to send to Azure. + + :param ip_address_or_range: Required. Specifies the IP or IP range in CIDR + format. Only IPV4 address is allowed. + :type ip_address_or_range: str + :param action: The action of IP ACL rule. Possible values include: + 'Allow'. Default value: "Allow" . + :type action: str or ~azure.mgmt.storage.v2018_02_01.models.Action + """ + + _validation = { + 'ip_address_or_range': {'required': True}, + } + + _attribute_map = { + 'ip_address_or_range': {'key': 'value', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'Action'}, + } + + def __init__(self, **kwargs): + super(IPRule, self).__init__(**kwargs) + self.ip_address_or_range = kwargs.get('ip_address_or_range', None) + self.action = kwargs.get('action', "Allow") diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/ip_rule_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/ip_rule_py3.py new file mode 100644 index 00000000000..34516b5233c --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/ip_rule_py3.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class IPRule(Model): + """IP rule with specific IP or IP range in CIDR format. + + All required parameters must be populated in order to send to Azure. + + :param ip_address_or_range: Required. Specifies the IP or IP range in CIDR + format. Only IPV4 address is allowed. + :type ip_address_or_range: str + :param action: The action of IP ACL rule. Possible values include: + 'Allow'. Default value: "Allow" . + :type action: str or ~azure.mgmt.storage.v2018_02_01.models.Action + """ + + _validation = { + 'ip_address_or_range': {'required': True}, + } + + _attribute_map = { + 'ip_address_or_range': {'key': 'value', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'Action'}, + } + + def __init__(self, *, ip_address_or_range: str, action="Allow", **kwargs) -> None: + super(IPRule, self).__init__(**kwargs) + self.ip_address_or_range = ip_address_or_range + self.action = action diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/key_vault_properties.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/key_vault_properties.py new file mode 100644 index 00000000000..44eaf379f6f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/key_vault_properties.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class KeyVaultProperties(Model): + """Properties of key vault. + + :param key_name: The name of KeyVault key. + :type key_name: str + :param key_version: The version of KeyVault key. + :type key_version: str + :param key_vault_uri: The Uri of KeyVault. + :type key_vault_uri: str + """ + + _attribute_map = { + 'key_name': {'key': 'keyname', 'type': 'str'}, + 'key_version': {'key': 'keyversion', 'type': 'str'}, + 'key_vault_uri': {'key': 'keyvaulturi', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(KeyVaultProperties, self).__init__(**kwargs) + self.key_name = kwargs.get('key_name', None) + self.key_version = kwargs.get('key_version', None) + self.key_vault_uri = kwargs.get('key_vault_uri', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/key_vault_properties_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/key_vault_properties_py3.py new file mode 100644 index 00000000000..9e6350eec89 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/key_vault_properties_py3.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class KeyVaultProperties(Model): + """Properties of key vault. + + :param key_name: The name of KeyVault key. + :type key_name: str + :param key_version: The version of KeyVault key. + :type key_version: str + :param key_vault_uri: The Uri of KeyVault. + :type key_vault_uri: str + """ + + _attribute_map = { + 'key_name': {'key': 'keyname', 'type': 'str'}, + 'key_version': {'key': 'keyversion', 'type': 'str'}, + 'key_vault_uri': {'key': 'keyvaulturi', 'type': 'str'}, + } + + def __init__(self, *, key_name: str=None, key_version: str=None, key_vault_uri: str=None, **kwargs) -> None: + super(KeyVaultProperties, self).__init__(**kwargs) + self.key_name = key_name + self.key_version = key_version + self.key_vault_uri = key_vault_uri diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold.py new file mode 100644 index 00000000000..4eb93df1d9f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class LegalHold(Model): + """The LegalHold property of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :param tags: Required. Each tag should be 3 to 23 alphanumeric characters + and is normalized to lower case at SRP. + :type tags: list[str] + """ + + _validation = { + 'has_legal_hold': {'readonly': True}, + 'tags': {'required': True}, + } + + _attribute_map = { + 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, + 'tags': {'key': 'tags', 'type': '[str]'}, + } + + def __init__(self, **kwargs): + super(LegalHold, self).__init__(**kwargs) + self.has_legal_hold = None + self.tags = kwargs.get('tags', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_properties.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_properties.py new file mode 100644 index 00000000000..1c018f0b094 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_properties.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class LegalHoldProperties(Model): + """The LegalHold property of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :param tags: The list of LegalHold tags of a blob container. + :type tags: list[~azure.mgmt.storage.v2018_02_01.models.TagProperty] + """ + + _validation = { + 'has_legal_hold': {'readonly': True}, + } + + _attribute_map = { + 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, + 'tags': {'key': 'tags', 'type': '[TagProperty]'}, + } + + def __init__(self, **kwargs): + super(LegalHoldProperties, self).__init__(**kwargs) + self.has_legal_hold = None + self.tags = kwargs.get('tags', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_properties_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_properties_py3.py new file mode 100644 index 00000000000..5dd782fdd09 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_properties_py3.py @@ -0,0 +1,43 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class LegalHoldProperties(Model): + """The LegalHold property of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :param tags: The list of LegalHold tags of a blob container. + :type tags: list[~azure.mgmt.storage.v2018_02_01.models.TagProperty] + """ + + _validation = { + 'has_legal_hold': {'readonly': True}, + } + + _attribute_map = { + 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, + 'tags': {'key': 'tags', 'type': '[TagProperty]'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(LegalHoldProperties, self).__init__(**kwargs) + self.has_legal_hold = None + self.tags = tags diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_py3.py new file mode 100644 index 00000000000..a4bc196cb60 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/legal_hold_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class LegalHold(Model): + """The LegalHold property of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :param tags: Required. Each tag should be 3 to 23 alphanumeric characters + and is normalized to lower case at SRP. + :type tags: list[str] + """ + + _validation = { + 'has_legal_hold': {'readonly': True}, + 'tags': {'required': True}, + } + + _attribute_map = { + 'has_legal_hold': {'key': 'hasLegalHold', 'type': 'bool'}, + 'tags': {'key': 'tags', 'type': '[str]'}, + } + + def __init__(self, *, tags, **kwargs) -> None: + super(LegalHold, self).__init__(**kwargs) + self.has_legal_hold = None + self.tags = tags diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_account_sas_response.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_account_sas_response.py new file mode 100644 index 00000000000..a56e959a34b --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_account_sas_response.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ListAccountSasResponse(Model): + """The List SAS credentials operation response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar account_sas_token: List SAS credentials of storage account. + :vartype account_sas_token: str + """ + + _validation = { + 'account_sas_token': {'readonly': True}, + } + + _attribute_map = { + 'account_sas_token': {'key': 'accountSasToken', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ListAccountSasResponse, self).__init__(**kwargs) + self.account_sas_token = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_account_sas_response_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_account_sas_response_py3.py new file mode 100644 index 00000000000..b8b9a314d9f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_account_sas_response_py3.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ListAccountSasResponse(Model): + """The List SAS credentials operation response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar account_sas_token: List SAS credentials of storage account. + :vartype account_sas_token: str + """ + + _validation = { + 'account_sas_token': {'readonly': True}, + } + + _attribute_map = { + 'account_sas_token': {'key': 'accountSasToken', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(ListAccountSasResponse, self).__init__(**kwargs) + self.account_sas_token = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_item.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_item.py new file mode 100644 index 00000000000..f6a50512740 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_item.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_entity_resource import AzureEntityResource + + +class ListContainerItem(AzureEntityResource): + """The blob container properties be listed out. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param public_access: Specifies whether data in the container may be + accessed publicly and the level of access. Possible values include: + 'Container', 'Blob', 'None' + :type public_access: str or + ~azure.mgmt.storage.v2018_02_01.models.PublicAccess + :ivar last_modified_time: Returns the date and time the container was last + modified. + :vartype last_modified_time: datetime + :ivar lease_status: The lease status of the container. Possible values + include: 'Locked', 'Unlocked' + :vartype lease_status: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseStatus + :ivar lease_state: Lease state of the container. Possible values include: + 'Available', 'Leased', 'Expired', 'Breaking', 'Broken' + :vartype lease_state: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseState + :ivar lease_duration: Specifies whether the lease on a container is of + infinite or fixed duration, only when the container is leased. Possible + values include: 'Infinite', 'Fixed' + :vartype lease_duration: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseDuration + :param metadata: A name-value pair to associate with the container as + metadata. + :type metadata: dict[str, str] + :ivar immutability_policy: The ImmutabilityPolicy property of the + container. + :vartype immutability_policy: + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyProperties + :ivar legal_hold: The LegalHold property of the container. + :vartype legal_hold: + ~azure.mgmt.storage.v2018_02_01.models.LegalHoldProperties + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :ivar has_immutability_policy: The hasImmutabilityPolicy public property + is set to true by SRP if ImmutabilityPolicy has been created for this + container. The hasImmutabilityPolicy public property is set to false by + SRP if ImmutabilityPolicy has not been created for this container. + :vartype has_immutability_policy: bool + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'last_modified_time': {'readonly': True}, + 'lease_status': {'readonly': True}, + 'lease_state': {'readonly': True}, + 'lease_duration': {'readonly': True}, + 'immutability_policy': {'readonly': True}, + 'legal_hold': {'readonly': True}, + 'has_legal_hold': {'readonly': True}, + 'has_immutability_policy': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'public_access': {'key': 'properties.publicAccess', 'type': 'PublicAccess'}, + 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, + 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, + 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, + 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, + 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, + 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, + 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, + 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(ListContainerItem, self).__init__(**kwargs) + self.public_access = kwargs.get('public_access', None) + self.last_modified_time = None + self.lease_status = None + self.lease_state = None + self.lease_duration = None + self.metadata = kwargs.get('metadata', None) + self.immutability_policy = None + self.legal_hold = None + self.has_legal_hold = None + self.has_immutability_policy = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_item_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_item_py3.py new file mode 100644 index 00000000000..2acbd2044e8 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_item_py3.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_entity_resource_py3 import AzureEntityResource + + +class ListContainerItem(AzureEntityResource): + """The blob container properties be listed out. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :ivar etag: Resource Etag. + :vartype etag: str + :param public_access: Specifies whether data in the container may be + accessed publicly and the level of access. Possible values include: + 'Container', 'Blob', 'None' + :type public_access: str or + ~azure.mgmt.storage.v2018_02_01.models.PublicAccess + :ivar last_modified_time: Returns the date and time the container was last + modified. + :vartype last_modified_time: datetime + :ivar lease_status: The lease status of the container. Possible values + include: 'Locked', 'Unlocked' + :vartype lease_status: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseStatus + :ivar lease_state: Lease state of the container. Possible values include: + 'Available', 'Leased', 'Expired', 'Breaking', 'Broken' + :vartype lease_state: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseState + :ivar lease_duration: Specifies whether the lease on a container is of + infinite or fixed duration, only when the container is leased. Possible + values include: 'Infinite', 'Fixed' + :vartype lease_duration: str or + ~azure.mgmt.storage.v2018_02_01.models.LeaseDuration + :param metadata: A name-value pair to associate with the container as + metadata. + :type metadata: dict[str, str] + :ivar immutability_policy: The ImmutabilityPolicy property of the + container. + :vartype immutability_policy: + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyProperties + :ivar legal_hold: The LegalHold property of the container. + :vartype legal_hold: + ~azure.mgmt.storage.v2018_02_01.models.LegalHoldProperties + :ivar has_legal_hold: The hasLegalHold public property is set to true by + SRP if there are at least one existing tag. The hasLegalHold public + property is set to false by SRP if all existing legal hold tags are + cleared out. There can be a maximum of 1000 blob containers with + hasLegalHold=true for a given account. + :vartype has_legal_hold: bool + :ivar has_immutability_policy: The hasImmutabilityPolicy public property + is set to true by SRP if ImmutabilityPolicy has been created for this + container. The hasImmutabilityPolicy public property is set to false by + SRP if ImmutabilityPolicy has not been created for this container. + :vartype has_immutability_policy: bool + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'etag': {'readonly': True}, + 'last_modified_time': {'readonly': True}, + 'lease_status': {'readonly': True}, + 'lease_state': {'readonly': True}, + 'lease_duration': {'readonly': True}, + 'immutability_policy': {'readonly': True}, + 'legal_hold': {'readonly': True}, + 'has_legal_hold': {'readonly': True}, + 'has_immutability_policy': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + 'public_access': {'key': 'properties.publicAccess', 'type': 'PublicAccess'}, + 'last_modified_time': {'key': 'properties.lastModifiedTime', 'type': 'iso-8601'}, + 'lease_status': {'key': 'properties.leaseStatus', 'type': 'str'}, + 'lease_state': {'key': 'properties.leaseState', 'type': 'str'}, + 'lease_duration': {'key': 'properties.leaseDuration', 'type': 'str'}, + 'metadata': {'key': 'properties.metadata', 'type': '{str}'}, + 'immutability_policy': {'key': 'properties.immutabilityPolicy', 'type': 'ImmutabilityPolicyProperties'}, + 'legal_hold': {'key': 'properties.legalHold', 'type': 'LegalHoldProperties'}, + 'has_legal_hold': {'key': 'properties.hasLegalHold', 'type': 'bool'}, + 'has_immutability_policy': {'key': 'properties.hasImmutabilityPolicy', 'type': 'bool'}, + } + + def __init__(self, *, public_access=None, metadata=None, **kwargs) -> None: + super(ListContainerItem, self).__init__(**kwargs) + self.public_access = public_access + self.last_modified_time = None + self.lease_status = None + self.lease_state = None + self.lease_duration = None + self.metadata = metadata + self.immutability_policy = None + self.legal_hold = None + self.has_legal_hold = None + self.has_immutability_policy = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_items.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_items.py new file mode 100644 index 00000000000..84fd5aa0330 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_items.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ListContainerItems(Model): + """The list of blob containers. + + :param value: The list of blob containers. + :type value: + list[~azure.mgmt.storage.v2018_02_01.models.ListContainerItem] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ListContainerItem]'}, + } + + def __init__(self, **kwargs): + super(ListContainerItems, self).__init__(**kwargs) + self.value = kwargs.get('value', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_items_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_items_py3.py new file mode 100644 index 00000000000..a9ad58faf3d --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_container_items_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ListContainerItems(Model): + """The list of blob containers. + + :param value: The list of blob containers. + :type value: + list[~azure.mgmt.storage.v2018_02_01.models.ListContainerItem] + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ListContainerItem]'}, + } + + def __init__(self, *, value=None, **kwargs) -> None: + super(ListContainerItems, self).__init__(**kwargs) + self.value = value diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_service_sas_response.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_service_sas_response.py new file mode 100644 index 00000000000..800c0298af6 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_service_sas_response.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ListServiceSasResponse(Model): + """The List service SAS credentials operation response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar service_sas_token: List service SAS credentials of speicific + resource. + :vartype service_sas_token: str + """ + + _validation = { + 'service_sas_token': {'readonly': True}, + } + + _attribute_map = { + 'service_sas_token': {'key': 'serviceSasToken', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ListServiceSasResponse, self).__init__(**kwargs) + self.service_sas_token = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_service_sas_response_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_service_sas_response_py3.py new file mode 100644 index 00000000000..cffd962e204 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/list_service_sas_response_py3.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ListServiceSasResponse(Model): + """The List service SAS credentials operation response. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar service_sas_token: List service SAS credentials of speicific + resource. + :vartype service_sas_token: str + """ + + _validation = { + 'service_sas_token': {'readonly': True}, + } + + _attribute_map = { + 'service_sas_token': {'key': 'serviceSasToken', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(ListServiceSasResponse, self).__init__(**kwargs) + self.service_sas_token = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/metric_specification.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/metric_specification.py new file mode 100644 index 00000000000..79d318a4166 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/metric_specification.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.storage.v2018_02_01.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MetricSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.dimensions = kwargs.get('dimensions', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/metric_specification_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/metric_specification_py3.py new file mode 100644 index 00000000000..b0d40efc543 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/metric_specification_py3.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.storage.v2018_02_01.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, display_description: str=None, unit: str=None, dimensions=None, aggregation_type: str=None, fill_gap_with_zero: bool=None, category: str=None, resource_id_dimension_name_override: str=None, **kwargs) -> None: + super(MetricSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.dimensions = dimensions + self.aggregation_type = aggregation_type + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/network_rule_set.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/network_rule_set.py new file mode 100644 index 00000000000..c9a546c136e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/network_rule_set.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetworkRuleSet(Model): + """Network rule set. + + All required parameters must be populated in order to send to Azure. + + :param bypass: Specifies whether traffic is bypassed for + Logging/Metrics/AzureServices. Possible values are any combination of + Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None + to bypass none of those traffics. Possible values include: 'None', + 'Logging', 'Metrics', 'AzureServices'. Default value: "AzureServices" . + :type bypass: str or ~azure.mgmt.storage.v2018_02_01.models.Bypass + :param virtual_network_rules: Sets the virtual network rules + :type virtual_network_rules: + list[~azure.mgmt.storage.v2018_02_01.models.VirtualNetworkRule] + :param ip_rules: Sets the IP ACL rules + :type ip_rules: list[~azure.mgmt.storage.v2018_02_01.models.IPRule] + :param default_action: Required. Specifies the default action of allow or + deny when no other rules match. Possible values include: 'Allow', 'Deny'. + Default value: "Allow" . + :type default_action: str or + ~azure.mgmt.storage.v2018_02_01.models.DefaultAction + """ + + _validation = { + 'default_action': {'required': True}, + } + + _attribute_map = { + 'bypass': {'key': 'bypass', 'type': 'str'}, + 'virtual_network_rules': {'key': 'virtualNetworkRules', 'type': '[VirtualNetworkRule]'}, + 'ip_rules': {'key': 'ipRules', 'type': '[IPRule]'}, + 'default_action': {'key': 'defaultAction', 'type': 'DefaultAction'}, + } + + def __init__(self, **kwargs): + super(NetworkRuleSet, self).__init__(**kwargs) + self.bypass = kwargs.get('bypass', "AzureServices") + self.virtual_network_rules = kwargs.get('virtual_network_rules', None) + self.ip_rules = kwargs.get('ip_rules', None) + self.default_action = kwargs.get('default_action', "Allow") diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/network_rule_set_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/network_rule_set_py3.py new file mode 100644 index 00000000000..58b08a0e141 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/network_rule_set_py3.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetworkRuleSet(Model): + """Network rule set. + + All required parameters must be populated in order to send to Azure. + + :param bypass: Specifies whether traffic is bypassed for + Logging/Metrics/AzureServices. Possible values are any combination of + Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None + to bypass none of those traffics. Possible values include: 'None', + 'Logging', 'Metrics', 'AzureServices'. Default value: "AzureServices" . + :type bypass: str or ~azure.mgmt.storage.v2018_02_01.models.Bypass + :param virtual_network_rules: Sets the virtual network rules + :type virtual_network_rules: + list[~azure.mgmt.storage.v2018_02_01.models.VirtualNetworkRule] + :param ip_rules: Sets the IP ACL rules + :type ip_rules: list[~azure.mgmt.storage.v2018_02_01.models.IPRule] + :param default_action: Required. Specifies the default action of allow or + deny when no other rules match. Possible values include: 'Allow', 'Deny'. + Default value: "Allow" . + :type default_action: str or + ~azure.mgmt.storage.v2018_02_01.models.DefaultAction + """ + + _validation = { + 'default_action': {'required': True}, + } + + _attribute_map = { + 'bypass': {'key': 'bypass', 'type': 'str'}, + 'virtual_network_rules': {'key': 'virtualNetworkRules', 'type': '[VirtualNetworkRule]'}, + 'ip_rules': {'key': 'ipRules', 'type': '[IPRule]'}, + 'default_action': {'key': 'defaultAction', 'type': 'DefaultAction'}, + } + + def __init__(self, *, bypass="AzureServices", virtual_network_rules=None, ip_rules=None, default_action="Allow", **kwargs) -> None: + super(NetworkRuleSet, self).__init__(**kwargs) + self.bypass = bypass + self.virtual_network_rules = virtual_network_rules + self.ip_rules = ip_rules + self.default_action = default_action diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation.py new file mode 100644 index 00000000000..37982657dc4 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """Storage REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.storage.v2018_02_01.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.storage.v2018_02_01.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.service_specification = kwargs.get('service_specification', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_display.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_display.py new file mode 100644 index 00000000000..12d72186c4f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_display.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft Storage. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_display_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_display_py3.py new file mode 100644 index 00000000000..632a6393c99 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_display_py3.py @@ -0,0 +1,36 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft Storage. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + } + + def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_paged.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_paged.py new file mode 100644 index 00000000000..826e80757e1 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class OperationPaged(Paged): + """ + A paging container for iterating over a list of :class:`Operation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Operation]'} + } + + def __init__(self, *args, **kwargs): + + super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_py3.py new file mode 100644 index 00000000000..8e12d0d37ab --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/operation_py3.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """Storage REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.storage.v2018_02_01.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.storage.v2018_02_01.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, *, name: str=None, display=None, origin: str=None, service_specification=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.service_specification = service_specification diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/proxy_resource.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/proxy_resource.py new file mode 100644 index 00000000000..0de8fb6bd42 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/proxy_resource.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have + everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ProxyResource, self).__init__(**kwargs) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/proxy_resource_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/proxy_resource_py3.py new file mode 100644 index 00000000000..2e8391f912d --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/proxy_resource_py3.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource_py3 import Resource + + +class ProxyResource(Resource): + """The resource model definition for a ARM proxy resource. It will have + everything other than required location and tags. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(ProxyResource, self).__init__(**kwargs) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/resource.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/resource.py new file mode 100644 index 00000000000..9333a2ac49e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/resource.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Resource(Model): + """Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/resource_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/resource_py3.py new file mode 100644 index 00000000000..370e6c50658 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/resource_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Resource(Model): + """Resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(Resource, self).__init__(**kwargs) + self.id = None + self.name = None + self.type = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/restriction.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/restriction.py new file mode 100644 index 00000000000..9201ec225a1 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/restriction.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Restriction(Model): + """The restriction because of which SKU cannot be used. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar type: The type of restrictions. As of now only possible value for + this is location. + :vartype type: str + :ivar values: The value of restrictions. If the restriction type is set to + location. This would be different locations where the SKU is restricted. + :vartype values: list[str] + :param reason_code: The reason for the restriction. As of now this can be + “QuotaId” or “NotAvailableForSubscription”. Quota Id is set when the SKU + has requiredQuotas parameter as the subscription does not belong to that + quota. The “NotAvailableForSubscription” is related to capacity at DC. + Possible values include: 'QuotaId', 'NotAvailableForSubscription' + :type reason_code: str or + ~azure.mgmt.storage.v2018_02_01.models.ReasonCode + """ + + _validation = { + 'type': {'readonly': True}, + 'values': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'values': {'key': 'values', 'type': '[str]'}, + 'reason_code': {'key': 'reasonCode', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Restriction, self).__init__(**kwargs) + self.type = None + self.values = None + self.reason_code = kwargs.get('reason_code', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/restriction_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/restriction_py3.py new file mode 100644 index 00000000000..e081f446828 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/restriction_py3.py @@ -0,0 +1,51 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Restriction(Model): + """The restriction because of which SKU cannot be used. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar type: The type of restrictions. As of now only possible value for + this is location. + :vartype type: str + :ivar values: The value of restrictions. If the restriction type is set to + location. This would be different locations where the SKU is restricted. + :vartype values: list[str] + :param reason_code: The reason for the restriction. As of now this can be + “QuotaId” or “NotAvailableForSubscription”. Quota Id is set when the SKU + has requiredQuotas parameter as the subscription does not belong to that + quota. The “NotAvailableForSubscription” is related to capacity at DC. + Possible values include: 'QuotaId', 'NotAvailableForSubscription' + :type reason_code: str or + ~azure.mgmt.storage.v2018_02_01.models.ReasonCode + """ + + _validation = { + 'type': {'readonly': True}, + 'values': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'values': {'key': 'values', 'type': '[str]'}, + 'reason_code': {'key': 'reasonCode', 'type': 'str'}, + } + + def __init__(self, *, reason_code=None, **kwargs) -> None: + super(Restriction, self).__init__(**kwargs) + self.type = None + self.values = None + self.reason_code = reason_code diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_sas_parameters.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_sas_parameters.py new file mode 100644 index 00000000000..e5392580934 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_sas_parameters.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSasParameters(Model): + """The parameters to list service SAS credentials of a speicific resource. + + All required parameters must be populated in order to send to Azure. + + :param canonicalized_resource: Required. The canonical path to the signed + resource. + :type canonicalized_resource: str + :param resource: Required. The signed services accessible with the service + SAS. Possible values include: Blob (b), Container (c), File (f), Share + (s). Possible values include: 'b', 'c', 'f', 's' + :type resource: str or + ~azure.mgmt.storage.v2018_02_01.models.SignedResource + :param permissions: The signed permissions for the service SAS. Possible + values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create + (c), Update (u) and Process (p). Possible values include: 'r', 'd', 'w', + 'l', 'a', 'c', 'u', 'p' + :type permissions: str or + ~azure.mgmt.storage.v2018_02_01.models.Permissions + :param ip_address_or_range: An IP address or a range of IP addresses from + which to accept requests. + :type ip_address_or_range: str + :param protocols: The protocol permitted for a request made with the + account SAS. Possible values include: 'https,http', 'https' + :type protocols: str or + ~azure.mgmt.storage.v2018_02_01.models.HttpProtocol + :param shared_access_start_time: The time at which the SAS becomes valid. + :type shared_access_start_time: datetime + :param shared_access_expiry_time: The time at which the shared access + signature becomes invalid. + :type shared_access_expiry_time: datetime + :param identifier: A unique value up to 64 characters in length that + correlates to an access policy specified for the container, queue, or + table. + :type identifier: str + :param partition_key_start: The start of partition key. + :type partition_key_start: str + :param partition_key_end: The end of partition key. + :type partition_key_end: str + :param row_key_start: The start of row key. + :type row_key_start: str + :param row_key_end: The end of row key. + :type row_key_end: str + :param key_to_sign: The key to sign the account SAS token with. + :type key_to_sign: str + :param cache_control: The response header override for cache control. + :type cache_control: str + :param content_disposition: The response header override for content + disposition. + :type content_disposition: str + :param content_encoding: The response header override for content + encoding. + :type content_encoding: str + :param content_language: The response header override for content + language. + :type content_language: str + :param content_type: The response header override for content type. + :type content_type: str + """ + + _validation = { + 'canonicalized_resource': {'required': True}, + 'resource': {'required': True}, + 'identifier': {'max_length': 64}, + } + + _attribute_map = { + 'canonicalized_resource': {'key': 'canonicalizedResource', 'type': 'str'}, + 'resource': {'key': 'signedResource', 'type': 'str'}, + 'permissions': {'key': 'signedPermission', 'type': 'str'}, + 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, + 'protocols': {'key': 'signedProtocol', 'type': 'HttpProtocol'}, + 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, + 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, + 'identifier': {'key': 'signedIdentifier', 'type': 'str'}, + 'partition_key_start': {'key': 'startPk', 'type': 'str'}, + 'partition_key_end': {'key': 'endPk', 'type': 'str'}, + 'row_key_start': {'key': 'startRk', 'type': 'str'}, + 'row_key_end': {'key': 'endRk', 'type': 'str'}, + 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, + 'cache_control': {'key': 'rscc', 'type': 'str'}, + 'content_disposition': {'key': 'rscd', 'type': 'str'}, + 'content_encoding': {'key': 'rsce', 'type': 'str'}, + 'content_language': {'key': 'rscl', 'type': 'str'}, + 'content_type': {'key': 'rsct', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ServiceSasParameters, self).__init__(**kwargs) + self.canonicalized_resource = kwargs.get('canonicalized_resource', None) + self.resource = kwargs.get('resource', None) + self.permissions = kwargs.get('permissions', None) + self.ip_address_or_range = kwargs.get('ip_address_or_range', None) + self.protocols = kwargs.get('protocols', None) + self.shared_access_start_time = kwargs.get('shared_access_start_time', None) + self.shared_access_expiry_time = kwargs.get('shared_access_expiry_time', None) + self.identifier = kwargs.get('identifier', None) + self.partition_key_start = kwargs.get('partition_key_start', None) + self.partition_key_end = kwargs.get('partition_key_end', None) + self.row_key_start = kwargs.get('row_key_start', None) + self.row_key_end = kwargs.get('row_key_end', None) + self.key_to_sign = kwargs.get('key_to_sign', None) + self.cache_control = kwargs.get('cache_control', None) + self.content_disposition = kwargs.get('content_disposition', None) + self.content_encoding = kwargs.get('content_encoding', None) + self.content_language = kwargs.get('content_language', None) + self.content_type = kwargs.get('content_type', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_sas_parameters_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_sas_parameters_py3.py new file mode 100644 index 00000000000..aa7283ec623 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_sas_parameters_py3.py @@ -0,0 +1,121 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSasParameters(Model): + """The parameters to list service SAS credentials of a speicific resource. + + All required parameters must be populated in order to send to Azure. + + :param canonicalized_resource: Required. The canonical path to the signed + resource. + :type canonicalized_resource: str + :param resource: Required. The signed services accessible with the service + SAS. Possible values include: Blob (b), Container (c), File (f), Share + (s). Possible values include: 'b', 'c', 'f', 's' + :type resource: str or + ~azure.mgmt.storage.v2018_02_01.models.SignedResource + :param permissions: The signed permissions for the service SAS. Possible + values include: Read (r), Write (w), Delete (d), List (l), Add (a), Create + (c), Update (u) and Process (p). Possible values include: 'r', 'd', 'w', + 'l', 'a', 'c', 'u', 'p' + :type permissions: str or + ~azure.mgmt.storage.v2018_02_01.models.Permissions + :param ip_address_or_range: An IP address or a range of IP addresses from + which to accept requests. + :type ip_address_or_range: str + :param protocols: The protocol permitted for a request made with the + account SAS. Possible values include: 'https,http', 'https' + :type protocols: str or + ~azure.mgmt.storage.v2018_02_01.models.HttpProtocol + :param shared_access_start_time: The time at which the SAS becomes valid. + :type shared_access_start_time: datetime + :param shared_access_expiry_time: The time at which the shared access + signature becomes invalid. + :type shared_access_expiry_time: datetime + :param identifier: A unique value up to 64 characters in length that + correlates to an access policy specified for the container, queue, or + table. + :type identifier: str + :param partition_key_start: The start of partition key. + :type partition_key_start: str + :param partition_key_end: The end of partition key. + :type partition_key_end: str + :param row_key_start: The start of row key. + :type row_key_start: str + :param row_key_end: The end of row key. + :type row_key_end: str + :param key_to_sign: The key to sign the account SAS token with. + :type key_to_sign: str + :param cache_control: The response header override for cache control. + :type cache_control: str + :param content_disposition: The response header override for content + disposition. + :type content_disposition: str + :param content_encoding: The response header override for content + encoding. + :type content_encoding: str + :param content_language: The response header override for content + language. + :type content_language: str + :param content_type: The response header override for content type. + :type content_type: str + """ + + _validation = { + 'canonicalized_resource': {'required': True}, + 'resource': {'required': True}, + 'identifier': {'max_length': 64}, + } + + _attribute_map = { + 'canonicalized_resource': {'key': 'canonicalizedResource', 'type': 'str'}, + 'resource': {'key': 'signedResource', 'type': 'str'}, + 'permissions': {'key': 'signedPermission', 'type': 'str'}, + 'ip_address_or_range': {'key': 'signedIp', 'type': 'str'}, + 'protocols': {'key': 'signedProtocol', 'type': 'HttpProtocol'}, + 'shared_access_start_time': {'key': 'signedStart', 'type': 'iso-8601'}, + 'shared_access_expiry_time': {'key': 'signedExpiry', 'type': 'iso-8601'}, + 'identifier': {'key': 'signedIdentifier', 'type': 'str'}, + 'partition_key_start': {'key': 'startPk', 'type': 'str'}, + 'partition_key_end': {'key': 'endPk', 'type': 'str'}, + 'row_key_start': {'key': 'startRk', 'type': 'str'}, + 'row_key_end': {'key': 'endRk', 'type': 'str'}, + 'key_to_sign': {'key': 'keyToSign', 'type': 'str'}, + 'cache_control': {'key': 'rscc', 'type': 'str'}, + 'content_disposition': {'key': 'rscd', 'type': 'str'}, + 'content_encoding': {'key': 'rsce', 'type': 'str'}, + 'content_language': {'key': 'rscl', 'type': 'str'}, + 'content_type': {'key': 'rsct', 'type': 'str'}, + } + + def __init__(self, *, canonicalized_resource: str, resource, permissions=None, ip_address_or_range: str=None, protocols=None, shared_access_start_time=None, shared_access_expiry_time=None, identifier: str=None, partition_key_start: str=None, partition_key_end: str=None, row_key_start: str=None, row_key_end: str=None, key_to_sign: str=None, cache_control: str=None, content_disposition: str=None, content_encoding: str=None, content_language: str=None, content_type: str=None, **kwargs) -> None: + super(ServiceSasParameters, self).__init__(**kwargs) + self.canonicalized_resource = canonicalized_resource + self.resource = resource + self.permissions = permissions + self.ip_address_or_range = ip_address_or_range + self.protocols = protocols + self.shared_access_start_time = shared_access_start_time + self.shared_access_expiry_time = shared_access_expiry_time + self.identifier = identifier + self.partition_key_start = partition_key_start + self.partition_key_end = partition_key_end + self.row_key_start = row_key_start + self.row_key_end = row_key_end + self.key_to_sign = key_to_sign + self.cache_control = cache_control + self.content_disposition = content_disposition + self.content_encoding = content_encoding + self.content_language = content_language + self.content_type = content_type diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_specification.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_specification.py new file mode 100644 index 00000000000..a2cdf93ecde --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_specification.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.storage.v2018_02_01.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, **kwargs): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_specification_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_specification_py3.py new file mode 100644 index 00000000000..aadc0db0278 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/service_specification_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.storage.v2018_02_01.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, *, metric_specifications=None, **kwargs) -> None: + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku.py new file mode 100644 index 00000000000..51535cde813 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Sku(Model): + """The SKU of the storage account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Gets or sets the sku name. Required for account + creation; optional for update. Note that in older versions, sku name was + called accountType. Possible values include: 'Standard_LRS', + 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS' + :type name: str or ~azure.mgmt.storage.v2018_02_01.models.SkuName + :ivar tier: Gets the sku tier. This is based on the SKU name. Possible + values include: 'Standard', 'Premium' + :vartype tier: str or ~azure.mgmt.storage.v2018_02_01.models.SkuTier + :ivar resource_type: The type of the resource, usually it is + 'storageAccounts'. + :vartype resource_type: str + :ivar kind: Indicates the type of storage account. Possible values + include: 'Storage', 'StorageV2', 'BlobStorage' + :vartype kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + :ivar locations: The set of locations that the SKU is available. This will + be supported and registered Azure Geo Regions (e.g. West US, East US, + Southeast Asia, etc.). + :vartype locations: list[str] + :ivar capabilities: The capability information in the specified sku, + including file encryption, network acls, change notification, etc. + :vartype capabilities: + list[~azure.mgmt.storage.v2018_02_01.models.SKUCapability] + :param restrictions: The restrictions because of which SKU cannot be used. + This is empty if there are no restrictions. + :type restrictions: + list[~azure.mgmt.storage.v2018_02_01.models.Restriction] + """ + + _validation = { + 'name': {'required': True}, + 'tier': {'readonly': True}, + 'resource_type': {'readonly': True}, + 'kind': {'readonly': True}, + 'locations': {'readonly': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'SkuName'}, + 'tier': {'key': 'tier', 'type': 'SkuTier'}, + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'}, + 'restrictions': {'key': 'restrictions', 'type': '[Restriction]'}, + } + + def __init__(self, **kwargs): + super(Sku, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.tier = None + self.resource_type = None + self.kind = None + self.locations = None + self.capabilities = None + self.restrictions = kwargs.get('restrictions', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_capability.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_capability.py new file mode 100644 index 00000000000..b8fa68ce777 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_capability.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SKUCapability(Model): + """The capability information in the specified sku, including file encryption, + network acls, change notification, etc. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: The name of capability, The capability information in the + specified sku, including file encryption, network acls, change + notification, etc. + :vartype name: str + :ivar value: A string value to indicate states of given capability. + Possibly 'true' or 'false'. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(SKUCapability, self).__init__(**kwargs) + self.name = None + self.value = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_capability_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_capability_py3.py new file mode 100644 index 00000000000..f349a08eda2 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_capability_py3.py @@ -0,0 +1,44 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SKUCapability(Model): + """The capability information in the specified sku, including file encryption, + network acls, change notification, etc. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar name: The name of capability, The capability information in the + specified sku, including file encryption, network acls, change + notification, etc. + :vartype name: str + :ivar value: A string value to indicate states of given capability. + Possibly 'true' or 'false'. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(SKUCapability, self).__init__(**kwargs) + self.name = None + self.value = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_paged.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_paged.py new file mode 100644 index 00000000000..17028976705 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class SkuPaged(Paged): + """ + A paging container for iterating over a list of :class:`Sku ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Sku]'} + } + + def __init__(self, *args, **kwargs): + + super(SkuPaged, self).__init__(*args, **kwargs) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_py3.py new file mode 100644 index 00000000000..de133a47a6f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/sku_py3.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Sku(Model): + """The SKU of the storage account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. Gets or sets the sku name. Required for account + creation; optional for update. Note that in older versions, sku name was + called accountType. Possible values include: 'Standard_LRS', + 'Standard_GRS', 'Standard_RAGRS', 'Standard_ZRS', 'Premium_LRS' + :type name: str or ~azure.mgmt.storage.v2018_02_01.models.SkuName + :ivar tier: Gets the sku tier. This is based on the SKU name. Possible + values include: 'Standard', 'Premium' + :vartype tier: str or ~azure.mgmt.storage.v2018_02_01.models.SkuTier + :ivar resource_type: The type of the resource, usually it is + 'storageAccounts'. + :vartype resource_type: str + :ivar kind: Indicates the type of storage account. Possible values + include: 'Storage', 'StorageV2', 'BlobStorage' + :vartype kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + :ivar locations: The set of locations that the SKU is available. This will + be supported and registered Azure Geo Regions (e.g. West US, East US, + Southeast Asia, etc.). + :vartype locations: list[str] + :ivar capabilities: The capability information in the specified sku, + including file encryption, network acls, change notification, etc. + :vartype capabilities: + list[~azure.mgmt.storage.v2018_02_01.models.SKUCapability] + :param restrictions: The restrictions because of which SKU cannot be used. + This is empty if there are no restrictions. + :type restrictions: + list[~azure.mgmt.storage.v2018_02_01.models.Restriction] + """ + + _validation = { + 'name': {'required': True}, + 'tier': {'readonly': True}, + 'resource_type': {'readonly': True}, + 'kind': {'readonly': True}, + 'locations': {'readonly': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'SkuName'}, + 'tier': {'key': 'tier', 'type': 'SkuTier'}, + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + 'locations': {'key': 'locations', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[SKUCapability]'}, + 'restrictions': {'key': 'restrictions', 'type': '[Restriction]'}, + } + + def __init__(self, *, name, restrictions=None, **kwargs) -> None: + super(Sku, self).__init__(**kwargs) + self.name = name + self.tier = None + self.resource_type = None + self.kind = None + self.locations = None + self.capabilities = None + self.restrictions = restrictions diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account.py new file mode 100644 index 00000000000..5314518db46 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .tracked_resource import TrackedResource + + +class StorageAccount(TrackedResource): + """The storage account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + :ivar sku: Gets the SKU. + :vartype sku: ~azure.mgmt.storage.v2018_02_01.models.Sku + :ivar kind: Gets the Kind. Possible values include: 'Storage', + 'StorageV2', 'BlobStorage' + :vartype kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + :param identity: The identity of the resource. + :type identity: ~azure.mgmt.storage.v2018_02_01.models.Identity + :ivar provisioning_state: Gets the status of the storage account at the + time the operation was called. Possible values include: 'Creating', + 'ResolvingDNS', 'Succeeded' + :vartype provisioning_state: str or + ~azure.mgmt.storage.v2018_02_01.models.ProvisioningState + :ivar primary_endpoints: Gets the URLs that are used to perform a + retrieval of a public blob, queue, or table object. Note that Standard_ZRS + and Premium_LRS accounts only return the blob endpoint. + :vartype primary_endpoints: + ~azure.mgmt.storage.v2018_02_01.models.Endpoints + :ivar primary_location: Gets the location of the primary data center for + the storage account. + :vartype primary_location: str + :ivar status_of_primary: Gets the status indicating whether the primary + location of the storage account is available or unavailable. Possible + values include: 'available', 'unavailable' + :vartype status_of_primary: str or + ~azure.mgmt.storage.v2018_02_01.models.AccountStatus + :ivar last_geo_failover_time: Gets the timestamp of the most recent + instance of a failover to the secondary location. Only the most recent + timestamp is retained. This element is not returned if there has never + been a failover instance. Only available if the accountType is + Standard_GRS or Standard_RAGRS. + :vartype last_geo_failover_time: datetime + :ivar secondary_location: Gets the location of the geo-replicated + secondary for the storage account. Only available if the accountType is + Standard_GRS or Standard_RAGRS. + :vartype secondary_location: str + :ivar status_of_secondary: Gets the status indicating whether the + secondary location of the storage account is available or unavailable. + Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible + values include: 'available', 'unavailable' + :vartype status_of_secondary: str or + ~azure.mgmt.storage.v2018_02_01.models.AccountStatus + :ivar creation_time: Gets the creation date and time of the storage + account in UTC. + :vartype creation_time: datetime + :ivar custom_domain: Gets the custom domain the user assigned to this + storage account. + :vartype custom_domain: + ~azure.mgmt.storage.v2018_02_01.models.CustomDomain + :ivar secondary_endpoints: Gets the URLs that are used to perform a + retrieval of a public blob, queue, or table object from the secondary + location of the storage account. Only available if the SKU name is + Standard_RAGRS. + :vartype secondary_endpoints: + ~azure.mgmt.storage.v2018_02_01.models.Endpoints + :ivar encryption: Gets the encryption settings on the account. If + unspecified, the account is unencrypted. + :vartype encryption: ~azure.mgmt.storage.v2018_02_01.models.Encryption + :ivar access_tier: Required for storage accounts where kind = BlobStorage. + The access tier used for billing. Possible values include: 'Hot', 'Cool' + :vartype access_tier: str or + ~azure.mgmt.storage.v2018_02_01.models.AccessTier + :param enable_https_traffic_only: Allows https traffic only to storage + service if sets to true. Default value: False . + :type enable_https_traffic_only: bool + :ivar network_rule_set: Network rule set + :vartype network_rule_set: + ~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'sku': {'readonly': True}, + 'kind': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'primary_endpoints': {'readonly': True}, + 'primary_location': {'readonly': True}, + 'status_of_primary': {'readonly': True}, + 'last_geo_failover_time': {'readonly': True}, + 'secondary_location': {'readonly': True}, + 'status_of_secondary': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'custom_domain': {'readonly': True}, + 'secondary_endpoints': {'readonly': True}, + 'encryption': {'readonly': True}, + 'access_tier': {'readonly': True}, + 'network_rule_set': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + 'identity': {'key': 'identity', 'type': 'Identity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, + 'primary_endpoints': {'key': 'properties.primaryEndpoints', 'type': 'Endpoints'}, + 'primary_location': {'key': 'properties.primaryLocation', 'type': 'str'}, + 'status_of_primary': {'key': 'properties.statusOfPrimary', 'type': 'AccountStatus'}, + 'last_geo_failover_time': {'key': 'properties.lastGeoFailoverTime', 'type': 'iso-8601'}, + 'secondary_location': {'key': 'properties.secondaryLocation', 'type': 'str'}, + 'status_of_secondary': {'key': 'properties.statusOfSecondary', 'type': 'AccountStatus'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, + 'secondary_endpoints': {'key': 'properties.secondaryEndpoints', 'type': 'Endpoints'}, + 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, + 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, + 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, + 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, + } + + def __init__(self, **kwargs): + super(StorageAccount, self).__init__(**kwargs) + self.sku = None + self.kind = None + self.identity = kwargs.get('identity', None) + self.provisioning_state = None + self.primary_endpoints = None + self.primary_location = None + self.status_of_primary = None + self.last_geo_failover_time = None + self.secondary_location = None + self.status_of_secondary = None + self.creation_time = None + self.custom_domain = None + self.secondary_endpoints = None + self.encryption = None + self.access_tier = None + self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False) + self.network_rule_set = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_check_name_availability_parameters.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_check_name_availability_parameters.py new file mode 100644 index 00000000000..42cf88a074a --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_check_name_availability_parameters.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountCheckNameAvailabilityParameters(Model): + """The parameters used to check the availabity of the storage account name. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The storage account name. + :type name: str + :ivar type: Required. The type of resource, + Microsoft.Storage/storageAccounts. Default value: + "Microsoft.Storage/storageAccounts" . + :vartype type: str + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + type = "Microsoft.Storage/storageAccounts" + + def __init__(self, **kwargs): + super(StorageAccountCheckNameAvailabilityParameters, self).__init__(**kwargs) + self.name = kwargs.get('name', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_check_name_availability_parameters_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_check_name_availability_parameters_py3.py new file mode 100644 index 00000000000..e6f50a45690 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_check_name_availability_parameters_py3.py @@ -0,0 +1,45 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountCheckNameAvailabilityParameters(Model): + """The parameters used to check the availabity of the storage account name. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param name: Required. The storage account name. + :type name: str + :ivar type: Required. The type of resource, + Microsoft.Storage/storageAccounts. Default value: + "Microsoft.Storage/storageAccounts" . + :vartype type: str + """ + + _validation = { + 'name': {'required': True}, + 'type': {'required': True, 'constant': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + } + + type = "Microsoft.Storage/storageAccounts" + + def __init__(self, *, name: str, **kwargs) -> None: + super(StorageAccountCheckNameAvailabilityParameters, self).__init__(**kwargs) + self.name = name diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_create_parameters.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_create_parameters.py new file mode 100644 index 00000000000..5070e2af3b6 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_create_parameters.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountCreateParameters(Model): + """The parameters used when creating a storage account. + + All required parameters must be populated in order to send to Azure. + + :param sku: Required. Required. Gets or sets the sku name. + :type sku: ~azure.mgmt.storage.v2018_02_01.models.Sku + :param kind: Required. Required. Indicates the type of storage account. + Possible values include: 'Storage', 'StorageV2', 'BlobStorage' + :type kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + :param location: Required. Required. Gets or sets the location of the + resource. This will be one of the supported and registered Azure Geo + Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a + resource cannot be changed once it is created, but if an identical geo + region is specified on update, the request will succeed. + :type location: str + :param tags: Gets or sets a list of key value pairs that describe the + resource. These tags can be used for viewing and grouping this resource + (across resource groups). A maximum of 15 tags can be provided for a + resource. Each tag must have a key with a length no greater than 128 + characters and a value with a length no greater than 256 characters. + :type tags: dict[str, str] + :param identity: The identity of the resource. + :type identity: ~azure.mgmt.storage.v2018_02_01.models.Identity + :param custom_domain: User domain assigned to the storage account. Name is + the CNAME source. Only one custom domain is supported per storage account + at this time. To clear the existing custom domain, use an empty string for + the custom domain name property. + :type custom_domain: ~azure.mgmt.storage.v2018_02_01.models.CustomDomain + :param encryption: Provides the encryption settings on the account. If + left unspecified the account encryption settings will remain the same. The + default setting is unencrypted. + :type encryption: ~azure.mgmt.storage.v2018_02_01.models.Encryption + :param network_rule_set: Network rule set + :type network_rule_set: + ~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet + :param access_tier: Required for storage accounts where kind = + BlobStorage. The access tier used for billing. Possible values include: + 'Hot', 'Cool' + :type access_tier: str or + ~azure.mgmt.storage.v2018_02_01.models.AccessTier + :param enable_https_traffic_only: Allows https traffic only to storage + service if sets to true. Default value: False . + :type enable_https_traffic_only: bool + """ + + _validation = { + 'sku': {'required': True}, + 'kind': {'required': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'Identity'}, + 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, + 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, + 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, + 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, + 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, + } + + def __init__(self, **kwargs): + super(StorageAccountCreateParameters, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.kind = kwargs.get('kind', None) + self.location = kwargs.get('location', None) + self.tags = kwargs.get('tags', None) + self.identity = kwargs.get('identity', None) + self.custom_domain = kwargs.get('custom_domain', None) + self.encryption = kwargs.get('encryption', None) + self.network_rule_set = kwargs.get('network_rule_set', None) + self.access_tier = kwargs.get('access_tier', None) + self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_create_parameters_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_create_parameters_py3.py new file mode 100644 index 00000000000..0fe748ef6ee --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_create_parameters_py3.py @@ -0,0 +1,91 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountCreateParameters(Model): + """The parameters used when creating a storage account. + + All required parameters must be populated in order to send to Azure. + + :param sku: Required. Required. Gets or sets the sku name. + :type sku: ~azure.mgmt.storage.v2018_02_01.models.Sku + :param kind: Required. Required. Indicates the type of storage account. + Possible values include: 'Storage', 'StorageV2', 'BlobStorage' + :type kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + :param location: Required. Required. Gets or sets the location of the + resource. This will be one of the supported and registered Azure Geo + Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a + resource cannot be changed once it is created, but if an identical geo + region is specified on update, the request will succeed. + :type location: str + :param tags: Gets or sets a list of key value pairs that describe the + resource. These tags can be used for viewing and grouping this resource + (across resource groups). A maximum of 15 tags can be provided for a + resource. Each tag must have a key with a length no greater than 128 + characters and a value with a length no greater than 256 characters. + :type tags: dict[str, str] + :param identity: The identity of the resource. + :type identity: ~azure.mgmt.storage.v2018_02_01.models.Identity + :param custom_domain: User domain assigned to the storage account. Name is + the CNAME source. Only one custom domain is supported per storage account + at this time. To clear the existing custom domain, use an empty string for + the custom domain name property. + :type custom_domain: ~azure.mgmt.storage.v2018_02_01.models.CustomDomain + :param encryption: Provides the encryption settings on the account. If + left unspecified the account encryption settings will remain the same. The + default setting is unencrypted. + :type encryption: ~azure.mgmt.storage.v2018_02_01.models.Encryption + :param network_rule_set: Network rule set + :type network_rule_set: + ~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet + :param access_tier: Required for storage accounts where kind = + BlobStorage. The access tier used for billing. Possible values include: + 'Hot', 'Cool' + :type access_tier: str or + ~azure.mgmt.storage.v2018_02_01.models.AccessTier + :param enable_https_traffic_only: Allows https traffic only to storage + service if sets to true. Default value: False . + :type enable_https_traffic_only: bool + """ + + _validation = { + 'sku': {'required': True}, + 'kind': {'required': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + 'location': {'key': 'location', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'Identity'}, + 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, + 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, + 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, + 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, + 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, + } + + def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom_domain=None, encryption=None, network_rule_set=None, access_tier=None, enable_https_traffic_only: bool=False, **kwargs) -> None: + super(StorageAccountCreateParameters, self).__init__(**kwargs) + self.sku = sku + self.kind = kind + self.location = location + self.tags = tags + self.identity = identity + self.custom_domain = custom_domain + self.encryption = encryption + self.network_rule_set = network_rule_set + self.access_tier = access_tier + self.enable_https_traffic_only = enable_https_traffic_only diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_key.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_key.py new file mode 100644 index 00000000000..991103a5630 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_key.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountKey(Model): + """An access key for the storage account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar key_name: Name of the key. + :vartype key_name: str + :ivar value: Base 64-encoded value of the key. + :vartype value: str + :ivar permissions: Permissions for the key -- read-only or full + permissions. Possible values include: 'Read', 'Full' + :vartype permissions: str or + ~azure.mgmt.storage.v2018_02_01.models.KeyPermission + """ + + _validation = { + 'key_name': {'readonly': True}, + 'value': {'readonly': True}, + 'permissions': {'readonly': True}, + } + + _attribute_map = { + 'key_name': {'key': 'keyName', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'permissions': {'key': 'permissions', 'type': 'KeyPermission'}, + } + + def __init__(self, **kwargs): + super(StorageAccountKey, self).__init__(**kwargs) + self.key_name = None + self.value = None + self.permissions = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_key_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_key_py3.py new file mode 100644 index 00000000000..3dfbadc6938 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_key_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountKey(Model): + """An access key for the storage account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar key_name: Name of the key. + :vartype key_name: str + :ivar value: Base 64-encoded value of the key. + :vartype value: str + :ivar permissions: Permissions for the key -- read-only or full + permissions. Possible values include: 'Read', 'Full' + :vartype permissions: str or + ~azure.mgmt.storage.v2018_02_01.models.KeyPermission + """ + + _validation = { + 'key_name': {'readonly': True}, + 'value': {'readonly': True}, + 'permissions': {'readonly': True}, + } + + _attribute_map = { + 'key_name': {'key': 'keyName', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + 'permissions': {'key': 'permissions', 'type': 'KeyPermission'}, + } + + def __init__(self, **kwargs) -> None: + super(StorageAccountKey, self).__init__(**kwargs) + self.key_name = None + self.value = None + self.permissions = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_list_keys_result.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_list_keys_result.py new file mode 100644 index 00000000000..7c9a1133e1f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_list_keys_result.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountListKeysResult(Model): + """The response from the ListKeys operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar keys: Gets the list of storage account keys and their properties for + the specified storage account. + :vartype keys: + list[~azure.mgmt.storage.v2018_02_01.models.StorageAccountKey] + """ + + _validation = { + 'keys': {'readonly': True}, + } + + _attribute_map = { + 'keys': {'key': 'keys', 'type': '[StorageAccountKey]'}, + } + + def __init__(self, **kwargs): + super(StorageAccountListKeysResult, self).__init__(**kwargs) + self.keys = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_list_keys_result_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_list_keys_result_py3.py new file mode 100644 index 00000000000..725a2e529a8 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_list_keys_result_py3.py @@ -0,0 +1,37 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountListKeysResult(Model): + """The response from the ListKeys operation. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar keys: Gets the list of storage account keys and their properties for + the specified storage account. + :vartype keys: + list[~azure.mgmt.storage.v2018_02_01.models.StorageAccountKey] + """ + + _validation = { + 'keys': {'readonly': True}, + } + + _attribute_map = { + 'keys': {'key': 'keys', 'type': '[StorageAccountKey]'}, + } + + def __init__(self, **kwargs) -> None: + super(StorageAccountListKeysResult, self).__init__(**kwargs) + self.keys = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_paged.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_paged.py new file mode 100644 index 00000000000..7097a3ea95e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class StorageAccountPaged(Paged): + """ + A paging container for iterating over a list of :class:`StorageAccount ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[StorageAccount]'} + } + + def __init__(self, *args, **kwargs): + + super(StorageAccountPaged, self).__init__(*args, **kwargs) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_py3.py new file mode 100644 index 00000000000..9be641c3525 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_py3.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .tracked_resource_py3 import TrackedResource + + +class StorageAccount(TrackedResource): + """The storage account. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + :ivar sku: Gets the SKU. + :vartype sku: ~azure.mgmt.storage.v2018_02_01.models.Sku + :ivar kind: Gets the Kind. Possible values include: 'Storage', + 'StorageV2', 'BlobStorage' + :vartype kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + :param identity: The identity of the resource. + :type identity: ~azure.mgmt.storage.v2018_02_01.models.Identity + :ivar provisioning_state: Gets the status of the storage account at the + time the operation was called. Possible values include: 'Creating', + 'ResolvingDNS', 'Succeeded' + :vartype provisioning_state: str or + ~azure.mgmt.storage.v2018_02_01.models.ProvisioningState + :ivar primary_endpoints: Gets the URLs that are used to perform a + retrieval of a public blob, queue, or table object. Note that Standard_ZRS + and Premium_LRS accounts only return the blob endpoint. + :vartype primary_endpoints: + ~azure.mgmt.storage.v2018_02_01.models.Endpoints + :ivar primary_location: Gets the location of the primary data center for + the storage account. + :vartype primary_location: str + :ivar status_of_primary: Gets the status indicating whether the primary + location of the storage account is available or unavailable. Possible + values include: 'available', 'unavailable' + :vartype status_of_primary: str or + ~azure.mgmt.storage.v2018_02_01.models.AccountStatus + :ivar last_geo_failover_time: Gets the timestamp of the most recent + instance of a failover to the secondary location. Only the most recent + timestamp is retained. This element is not returned if there has never + been a failover instance. Only available if the accountType is + Standard_GRS or Standard_RAGRS. + :vartype last_geo_failover_time: datetime + :ivar secondary_location: Gets the location of the geo-replicated + secondary for the storage account. Only available if the accountType is + Standard_GRS or Standard_RAGRS. + :vartype secondary_location: str + :ivar status_of_secondary: Gets the status indicating whether the + secondary location of the storage account is available or unavailable. + Only available if the SKU name is Standard_GRS or Standard_RAGRS. Possible + values include: 'available', 'unavailable' + :vartype status_of_secondary: str or + ~azure.mgmt.storage.v2018_02_01.models.AccountStatus + :ivar creation_time: Gets the creation date and time of the storage + account in UTC. + :vartype creation_time: datetime + :ivar custom_domain: Gets the custom domain the user assigned to this + storage account. + :vartype custom_domain: + ~azure.mgmt.storage.v2018_02_01.models.CustomDomain + :ivar secondary_endpoints: Gets the URLs that are used to perform a + retrieval of a public blob, queue, or table object from the secondary + location of the storage account. Only available if the SKU name is + Standard_RAGRS. + :vartype secondary_endpoints: + ~azure.mgmt.storage.v2018_02_01.models.Endpoints + :ivar encryption: Gets the encryption settings on the account. If + unspecified, the account is unencrypted. + :vartype encryption: ~azure.mgmt.storage.v2018_02_01.models.Encryption + :ivar access_tier: Required for storage accounts where kind = BlobStorage. + The access tier used for billing. Possible values include: 'Hot', 'Cool' + :vartype access_tier: str or + ~azure.mgmt.storage.v2018_02_01.models.AccessTier + :param enable_https_traffic_only: Allows https traffic only to storage + service if sets to true. Default value: False . + :type enable_https_traffic_only: bool + :ivar network_rule_set: Network rule set + :vartype network_rule_set: + ~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + 'sku': {'readonly': True}, + 'kind': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + 'primary_endpoints': {'readonly': True}, + 'primary_location': {'readonly': True}, + 'status_of_primary': {'readonly': True}, + 'last_geo_failover_time': {'readonly': True}, + 'secondary_location': {'readonly': True}, + 'status_of_secondary': {'readonly': True}, + 'creation_time': {'readonly': True}, + 'custom_domain': {'readonly': True}, + 'secondary_endpoints': {'readonly': True}, + 'encryption': {'readonly': True}, + 'access_tier': {'readonly': True}, + 'network_rule_set': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + 'identity': {'key': 'identity', 'type': 'Identity'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'ProvisioningState'}, + 'primary_endpoints': {'key': 'properties.primaryEndpoints', 'type': 'Endpoints'}, + 'primary_location': {'key': 'properties.primaryLocation', 'type': 'str'}, + 'status_of_primary': {'key': 'properties.statusOfPrimary', 'type': 'AccountStatus'}, + 'last_geo_failover_time': {'key': 'properties.lastGeoFailoverTime', 'type': 'iso-8601'}, + 'secondary_location': {'key': 'properties.secondaryLocation', 'type': 'str'}, + 'status_of_secondary': {'key': 'properties.statusOfSecondary', 'type': 'AccountStatus'}, + 'creation_time': {'key': 'properties.creationTime', 'type': 'iso-8601'}, + 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, + 'secondary_endpoints': {'key': 'properties.secondaryEndpoints', 'type': 'Endpoints'}, + 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, + 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, + 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, + 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, + } + + def __init__(self, *, location: str, tags=None, identity=None, enable_https_traffic_only: bool=False, **kwargs) -> None: + super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs) + self.sku = None + self.kind = None + self.identity = identity + self.provisioning_state = None + self.primary_endpoints = None + self.primary_location = None + self.status_of_primary = None + self.last_geo_failover_time = None + self.secondary_location = None + self.status_of_secondary = None + self.creation_time = None + self.custom_domain = None + self.secondary_endpoints = None + self.encryption = None + self.access_tier = None + self.enable_https_traffic_only = enable_https_traffic_only + self.network_rule_set = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_regenerate_key_parameters.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_regenerate_key_parameters.py new file mode 100644 index 00000000000..ca7f33b2511 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_regenerate_key_parameters.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountRegenerateKeyParameters(Model): + """The parameters used to regenerate the storage account key. + + All required parameters must be populated in order to send to Azure. + + :param key_name: Required. The name of storage keys that want to be + regenerated, possible vaules are key1, key2. + :type key_name: str + """ + + _validation = { + 'key_name': {'required': True}, + } + + _attribute_map = { + 'key_name': {'key': 'keyName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(StorageAccountRegenerateKeyParameters, self).__init__(**kwargs) + self.key_name = kwargs.get('key_name', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_regenerate_key_parameters_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_regenerate_key_parameters_py3.py new file mode 100644 index 00000000000..42f3c0b2e94 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_regenerate_key_parameters_py3.py @@ -0,0 +1,35 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountRegenerateKeyParameters(Model): + """The parameters used to regenerate the storage account key. + + All required parameters must be populated in order to send to Azure. + + :param key_name: Required. The name of storage keys that want to be + regenerated, possible vaules are key1, key2. + :type key_name: str + """ + + _validation = { + 'key_name': {'required': True}, + } + + _attribute_map = { + 'key_name': {'key': 'keyName', 'type': 'str'}, + } + + def __init__(self, *, key_name: str, **kwargs) -> None: + super(StorageAccountRegenerateKeyParameters, self).__init__(**kwargs) + self.key_name = key_name diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_update_parameters.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_update_parameters.py new file mode 100644 index 00000000000..1bbf8c2f58a --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_update_parameters.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountUpdateParameters(Model): + """The parameters that can be provided when updating the storage account + properties. + + :param sku: Gets or sets the SKU name. Note that the SKU name cannot be + updated to Standard_ZRS or Premium_LRS, nor can accounts of those sku + names be updated to any other value. + :type sku: ~azure.mgmt.storage.v2018_02_01.models.Sku + :param tags: Gets or sets a list of key value pairs that describe the + resource. These tags can be used in viewing and grouping this resource + (across resource groups). A maximum of 15 tags can be provided for a + resource. Each tag must have a key no greater in length than 128 + characters and a value no greater in length than 256 characters. + :type tags: dict[str, str] + :param identity: The identity of the resource. + :type identity: ~azure.mgmt.storage.v2018_02_01.models.Identity + :param custom_domain: Custom domain assigned to the storage account by the + user. Name is the CNAME source. Only one custom domain is supported per + storage account at this time. To clear the existing custom domain, use an + empty string for the custom domain name property. + :type custom_domain: ~azure.mgmt.storage.v2018_02_01.models.CustomDomain + :param encryption: Provides the encryption settings on the account. The + default setting is unencrypted. + :type encryption: ~azure.mgmt.storage.v2018_02_01.models.Encryption + :param access_tier: Required for storage accounts where kind = + BlobStorage. The access tier used for billing. Possible values include: + 'Hot', 'Cool' + :type access_tier: str or + ~azure.mgmt.storage.v2018_02_01.models.AccessTier + :param enable_https_traffic_only: Allows https traffic only to storage + service if sets to true. Default value: False . + :type enable_https_traffic_only: bool + :param network_rule_set: Network rule set + :type network_rule_set: + ~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet + :param kind: Optional. Indicates the type of storage account. Currently + only StorageV2 value supported by server. Possible values include: + 'Storage', 'StorageV2', 'BlobStorage' + :type kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + """ + + _attribute_map = { + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'Identity'}, + 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, + 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, + 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, + 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, + 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + } + + def __init__(self, **kwargs): + super(StorageAccountUpdateParameters, self).__init__(**kwargs) + self.sku = kwargs.get('sku', None) + self.tags = kwargs.get('tags', None) + self.identity = kwargs.get('identity', None) + self.custom_domain = kwargs.get('custom_domain', None) + self.encryption = kwargs.get('encryption', None) + self.access_tier = kwargs.get('access_tier', None) + self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False) + self.network_rule_set = kwargs.get('network_rule_set', None) + self.kind = kwargs.get('kind', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_update_parameters_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_update_parameters_py3.py new file mode 100644 index 00000000000..b361d85fc5f --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_account_update_parameters_py3.py @@ -0,0 +1,78 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class StorageAccountUpdateParameters(Model): + """The parameters that can be provided when updating the storage account + properties. + + :param sku: Gets or sets the SKU name. Note that the SKU name cannot be + updated to Standard_ZRS or Premium_LRS, nor can accounts of those sku + names be updated to any other value. + :type sku: ~azure.mgmt.storage.v2018_02_01.models.Sku + :param tags: Gets or sets a list of key value pairs that describe the + resource. These tags can be used in viewing and grouping this resource + (across resource groups). A maximum of 15 tags can be provided for a + resource. Each tag must have a key no greater in length than 128 + characters and a value no greater in length than 256 characters. + :type tags: dict[str, str] + :param identity: The identity of the resource. + :type identity: ~azure.mgmt.storage.v2018_02_01.models.Identity + :param custom_domain: Custom domain assigned to the storage account by the + user. Name is the CNAME source. Only one custom domain is supported per + storage account at this time. To clear the existing custom domain, use an + empty string for the custom domain name property. + :type custom_domain: ~azure.mgmt.storage.v2018_02_01.models.CustomDomain + :param encryption: Provides the encryption settings on the account. The + default setting is unencrypted. + :type encryption: ~azure.mgmt.storage.v2018_02_01.models.Encryption + :param access_tier: Required for storage accounts where kind = + BlobStorage. The access tier used for billing. Possible values include: + 'Hot', 'Cool' + :type access_tier: str or + ~azure.mgmt.storage.v2018_02_01.models.AccessTier + :param enable_https_traffic_only: Allows https traffic only to storage + service if sets to true. Default value: False . + :type enable_https_traffic_only: bool + :param network_rule_set: Network rule set + :type network_rule_set: + ~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet + :param kind: Optional. Indicates the type of storage account. Currently + only StorageV2 value supported by server. Possible values include: + 'Storage', 'StorageV2', 'BlobStorage' + :type kind: str or ~azure.mgmt.storage.v2018_02_01.models.Kind + """ + + _attribute_map = { + 'sku': {'key': 'sku', 'type': 'Sku'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'identity': {'key': 'identity', 'type': 'Identity'}, + 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, + 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, + 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, + 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, + 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, + 'kind': {'key': 'kind', 'type': 'Kind'}, + } + + def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, encryption=None, access_tier=None, enable_https_traffic_only: bool=False, network_rule_set=None, kind=None, **kwargs) -> None: + super(StorageAccountUpdateParameters, self).__init__(**kwargs) + self.sku = sku + self.tags = tags + self.identity = identity + self.custom_domain = custom_domain + self.encryption = encryption + self.access_tier = access_tier + self.enable_https_traffic_only = enable_https_traffic_only + self.network_rule_set = network_rule_set + self.kind = kind diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_management_client_enums.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_management_client_enums.py new file mode 100644 index 00000000000..a5a7f3c7171 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/storage_management_client_enums.py @@ -0,0 +1,197 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum + + +class ReasonCode(str, Enum): + + quota_id = "QuotaId" + not_available_for_subscription = "NotAvailableForSubscription" + + +class SkuName(str, Enum): + + standard_lrs = "Standard_LRS" + standard_grs = "Standard_GRS" + standard_ragrs = "Standard_RAGRS" + standard_zrs = "Standard_ZRS" + premium_lrs = "Premium_LRS" + + +class SkuTier(str, Enum): + + standard = "Standard" + premium = "Premium" + + +class Kind(str, Enum): + + storage = "Storage" + storage_v2 = "StorageV2" + blob_storage = "BlobStorage" + + +class Reason(str, Enum): + + account_name_invalid = "AccountNameInvalid" + already_exists = "AlreadyExists" + + +class KeySource(str, Enum): + + microsoft_storage = "Microsoft.Storage" + microsoft_keyvault = "Microsoft.Keyvault" + + +class Action(str, Enum): + + allow = "Allow" + + +class State(str, Enum): + + provisioning = "provisioning" + deprovisioning = "deprovisioning" + succeeded = "succeeded" + failed = "failed" + network_source_deleted = "networkSourceDeleted" + + +class Bypass(str, Enum): + + none = "None" + logging = "Logging" + metrics = "Metrics" + azure_services = "AzureServices" + + +class DefaultAction(str, Enum): + + allow = "Allow" + deny = "Deny" + + +class AccessTier(str, Enum): + + hot = "Hot" + cool = "Cool" + + +class ProvisioningState(str, Enum): + + creating = "Creating" + resolving_dns = "ResolvingDNS" + succeeded = "Succeeded" + + +class AccountStatus(str, Enum): + + available = "available" + unavailable = "unavailable" + + +class KeyPermission(str, Enum): + + read = "Read" + full = "Full" + + +class UsageUnit(str, Enum): + + count = "Count" + bytes = "Bytes" + seconds = "Seconds" + percent = "Percent" + counts_per_second = "CountsPerSecond" + bytes_per_second = "BytesPerSecond" + + +class Services(str, Enum): + + b = "b" + q = "q" + t = "t" + f = "f" + + +class SignedResourceTypes(str, Enum): + + s = "s" + c = "c" + o = "o" + + +class Permissions(str, Enum): + + r = "r" + d = "d" + w = "w" + l = "l" + a = "a" + c = "c" + u = "u" + p = "p" + + +class HttpProtocol(str, Enum): + + httpshttp = "https,http" + https = "https" + + +class SignedResource(str, Enum): + + b = "b" + c = "c" + f = "f" + s = "s" + + +class PublicAccess(str, Enum): + + container = "Container" + blob = "Blob" + none = "None" + + +class LeaseStatus(str, Enum): + + locked = "Locked" + unlocked = "Unlocked" + + +class LeaseState(str, Enum): + + available = "Available" + leased = "Leased" + expired = "Expired" + breaking = "Breaking" + broken = "Broken" + + +class LeaseDuration(str, Enum): + + infinite = "Infinite" + fixed = "Fixed" + + +class ImmutabilityPolicyState(str, Enum): + + locked = "Locked" + unlocked = "Unlocked" + + +class ImmutabilityPolicyUpdateType(str, Enum): + + put = "put" + lock = "lock" + extend = "extend" diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tag_property.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tag_property.py new file mode 100644 index 00000000000..3b879061fd2 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tag_property.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class TagProperty(Model): + """A tag of the LegalHold of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar tag: The tag value. + :vartype tag: str + :ivar timestamp: Returns the date and time the tag was added. + :vartype timestamp: datetime + :ivar object_identifier: Returns the Object ID of the user who added the + tag. + :vartype object_identifier: str + :ivar tenant_id: Returns the Tenant ID that issued the token for the user + who added the tag. + :vartype tenant_id: str + :ivar upn: Returns the User Principal Name of the user who added the tag. + :vartype upn: str + """ + + _validation = { + 'tag': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'object_identifier': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'upn': {'readonly': True}, + } + + _attribute_map = { + 'tag': {'key': 'tag', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'upn': {'key': 'upn', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(TagProperty, self).__init__(**kwargs) + self.tag = None + self.timestamp = None + self.object_identifier = None + self.tenant_id = None + self.upn = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tag_property_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tag_property_py3.py new file mode 100644 index 00000000000..22aaf6cb82b --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tag_property_py3.py @@ -0,0 +1,57 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class TagProperty(Model): + """A tag of the LegalHold of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar tag: The tag value. + :vartype tag: str + :ivar timestamp: Returns the date and time the tag was added. + :vartype timestamp: datetime + :ivar object_identifier: Returns the Object ID of the user who added the + tag. + :vartype object_identifier: str + :ivar tenant_id: Returns the Tenant ID that issued the token for the user + who added the tag. + :vartype tenant_id: str + :ivar upn: Returns the User Principal Name of the user who added the tag. + :vartype upn: str + """ + + _validation = { + 'tag': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'object_identifier': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'upn': {'readonly': True}, + } + + _attribute_map = { + 'tag': {'key': 'tag', 'type': 'str'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'upn': {'key': 'upn', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(TagProperty, self).__init__(**kwargs) + self.tag = None + self.timestamp = None + self.object_identifier = None + self.tenant_id = None + self.upn = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tracked_resource.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tracked_resource.py new file mode 100644 index 00000000000..27ab94c7a8d --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tracked_resource.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource import Resource + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(TrackedResource, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) + self.location = kwargs.get('location', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tracked_resource_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tracked_resource_py3.py new file mode 100644 index 00000000000..b28cc185944 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/tracked_resource_py3.py @@ -0,0 +1,55 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .resource_py3 import Resource + + +class TrackedResource(Resource): + """The resource model definition for a ARM tracked top level resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :ivar id: Fully qualified resource Id for the resource. Ex - + /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + :vartype id: str + :ivar name: The name of the resource + :vartype name: str + :ivar type: The type of the resource. Ex- + Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + :vartype type: str + :param tags: Resource tags. + :type tags: dict[str, str] + :param location: Required. The geo-location where the resource lives + :type location: str + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'location': {'required': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': '{str}'}, + 'location': {'key': 'location', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, **kwargs) -> None: + super(TrackedResource, self).__init__(**kwargs) + self.tags = tags + self.location = location diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/update_history_property.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/update_history_property.py new file mode 100644 index 00000000000..e4571320482 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/update_history_property.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UpdateHistoryProperty(Model): + """An update history of the ImmutabilityPolicy of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar update: The ImmutabilityPolicy update type of a blob container, + possible values include: put, lock and extend. Possible values include: + 'put', 'lock', 'extend' + :vartype update: str or + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyUpdateType + :ivar immutability_period_since_creation_in_days: The immutability period + for the blobs in the container since the policy creation, in days. + :vartype immutability_period_since_creation_in_days: int + :ivar timestamp: Returns the date and time the ImmutabilityPolicy was + updated. + :vartype timestamp: datetime + :ivar object_identifier: Returns the Object ID of the user who updated the + ImmutabilityPolicy. + :vartype object_identifier: str + :ivar tenant_id: Returns the Tenant ID that issued the token for the user + who updated the ImmutabilityPolicy. + :vartype tenant_id: str + :ivar upn: Returns the User Principal Name of the user who updated the + ImmutabilityPolicy. + :vartype upn: str + """ + + _validation = { + 'update': {'readonly': True}, + 'immutability_period_since_creation_in_days': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'object_identifier': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'upn': {'readonly': True}, + } + + _attribute_map = { + 'update': {'key': 'update', 'type': 'str'}, + 'immutability_period_since_creation_in_days': {'key': 'immutabilityPeriodSinceCreationInDays', 'type': 'int'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'upn': {'key': 'upn', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(UpdateHistoryProperty, self).__init__(**kwargs) + self.update = None + self.immutability_period_since_creation_in_days = None + self.timestamp = None + self.object_identifier = None + self.tenant_id = None + self.upn = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/update_history_property_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/update_history_property_py3.py new file mode 100644 index 00000000000..b5b4964e9fd --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/update_history_property_py3.py @@ -0,0 +1,68 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UpdateHistoryProperty(Model): + """An update history of the ImmutabilityPolicy of a blob container. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar update: The ImmutabilityPolicy update type of a blob container, + possible values include: put, lock and extend. Possible values include: + 'put', 'lock', 'extend' + :vartype update: str or + ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicyUpdateType + :ivar immutability_period_since_creation_in_days: The immutability period + for the blobs in the container since the policy creation, in days. + :vartype immutability_period_since_creation_in_days: int + :ivar timestamp: Returns the date and time the ImmutabilityPolicy was + updated. + :vartype timestamp: datetime + :ivar object_identifier: Returns the Object ID of the user who updated the + ImmutabilityPolicy. + :vartype object_identifier: str + :ivar tenant_id: Returns the Tenant ID that issued the token for the user + who updated the ImmutabilityPolicy. + :vartype tenant_id: str + :ivar upn: Returns the User Principal Name of the user who updated the + ImmutabilityPolicy. + :vartype upn: str + """ + + _validation = { + 'update': {'readonly': True}, + 'immutability_period_since_creation_in_days': {'readonly': True}, + 'timestamp': {'readonly': True}, + 'object_identifier': {'readonly': True}, + 'tenant_id': {'readonly': True}, + 'upn': {'readonly': True}, + } + + _attribute_map = { + 'update': {'key': 'update', 'type': 'str'}, + 'immutability_period_since_creation_in_days': {'key': 'immutabilityPeriodSinceCreationInDays', 'type': 'int'}, + 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, + 'object_identifier': {'key': 'objectIdentifier', 'type': 'str'}, + 'tenant_id': {'key': 'tenantId', 'type': 'str'}, + 'upn': {'key': 'upn', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(UpdateHistoryProperty, self).__init__(**kwargs) + self.update = None + self.immutability_period_since_creation_in_days = None + self.timestamp = None + self.object_identifier = None + self.tenant_id = None + self.upn = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage.py new file mode 100644 index 00000000000..2668cb716b1 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Usage(Model): + """Describes Storage Resource Usage. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar unit: Gets the unit of measurement. Possible values include: + 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', + 'BytesPerSecond' + :vartype unit: str or ~azure.mgmt.storage.v2018_02_01.models.UsageUnit + :ivar current_value: Gets the current count of the allocated resources in + the subscription. + :vartype current_value: int + :ivar limit: Gets the maximum count of the resources that can be allocated + in the subscription. + :vartype limit: int + :ivar name: Gets the name of the type of usage. + :vartype name: ~azure.mgmt.storage.v2018_02_01.models.UsageName + """ + + _validation = { + 'unit': {'readonly': True}, + 'current_value': {'readonly': True}, + 'limit': {'readonly': True}, + 'name': {'readonly': True}, + } + + _attribute_map = { + 'unit': {'key': 'unit', 'type': 'UsageUnit'}, + 'current_value': {'key': 'currentValue', 'type': 'int'}, + 'limit': {'key': 'limit', 'type': 'int'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + def __init__(self, **kwargs): + super(Usage, self).__init__(**kwargs) + self.unit = None + self.current_value = None + self.limit = None + self.name = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_name.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_name.py new file mode 100644 index 00000000000..e4082bf5238 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_name.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UsageName(Model): + """The usage names that can be used; currently limited to StorageAccount. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar value: Gets a string describing the resource name. + :vartype value: str + :ivar localized_value: Gets a localized string describing the resource + name. + :vartype localized_value: str + """ + + _validation = { + 'value': {'readonly': True}, + 'localized_value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(UsageName, self).__init__(**kwargs) + self.value = None + self.localized_value = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_name_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_name_py3.py new file mode 100644 index 00000000000..f519bb5072b --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_name_py3.py @@ -0,0 +1,41 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class UsageName(Model): + """The usage names that can be used; currently limited to StorageAccount. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar value: Gets a string describing the resource name. + :vartype value: str + :ivar localized_value: Gets a localized string describing the resource + name. + :vartype localized_value: str + """ + + _validation = { + 'value': {'readonly': True}, + 'localized_value': {'readonly': True}, + } + + _attribute_map = { + 'value': {'key': 'value', 'type': 'str'}, + 'localized_value': {'key': 'localizedValue', 'type': 'str'}, + } + + def __init__(self, **kwargs) -> None: + super(UsageName, self).__init__(**kwargs) + self.value = None + self.localized_value = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_paged.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_paged.py new file mode 100644 index 00000000000..b681564312e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class UsagePaged(Paged): + """ + A paging container for iterating over a list of :class:`Usage ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Usage]'} + } + + def __init__(self, *args, **kwargs): + + super(UsagePaged, self).__init__(*args, **kwargs) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_py3.py new file mode 100644 index 00000000000..eb7bbdc2f15 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/usage_py3.py @@ -0,0 +1,54 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Usage(Model): + """Describes Storage Resource Usage. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :ivar unit: Gets the unit of measurement. Possible values include: + 'Count', 'Bytes', 'Seconds', 'Percent', 'CountsPerSecond', + 'BytesPerSecond' + :vartype unit: str or ~azure.mgmt.storage.v2018_02_01.models.UsageUnit + :ivar current_value: Gets the current count of the allocated resources in + the subscription. + :vartype current_value: int + :ivar limit: Gets the maximum count of the resources that can be allocated + in the subscription. + :vartype limit: int + :ivar name: Gets the name of the type of usage. + :vartype name: ~azure.mgmt.storage.v2018_02_01.models.UsageName + """ + + _validation = { + 'unit': {'readonly': True}, + 'current_value': {'readonly': True}, + 'limit': {'readonly': True}, + 'name': {'readonly': True}, + } + + _attribute_map = { + 'unit': {'key': 'unit', 'type': 'UsageUnit'}, + 'current_value': {'key': 'currentValue', 'type': 'int'}, + 'limit': {'key': 'limit', 'type': 'int'}, + 'name': {'key': 'name', 'type': 'UsageName'}, + } + + def __init__(self, **kwargs) -> None: + super(Usage, self).__init__(**kwargs) + self.unit = None + self.current_value = None + self.limit = None + self.name = None diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/virtual_network_rule.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/virtual_network_rule.py new file mode 100644 index 00000000000..f8c08b6000e --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/virtual_network_rule.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualNetworkRule(Model): + """Virtual Network rule. + + All required parameters must be populated in order to send to Azure. + + :param virtual_network_resource_id: Required. Resource ID of a subnet, for + example: + /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + :type virtual_network_resource_id: str + :param action: The action of virtual network rule. Possible values + include: 'Allow'. Default value: "Allow" . + :type action: str or ~azure.mgmt.storage.v2018_02_01.models.Action + :param state: Gets the state of virtual network rule. Possible values + include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', + 'networkSourceDeleted' + :type state: str or ~azure.mgmt.storage.v2018_02_01.models.State + """ + + _validation = { + 'virtual_network_resource_id': {'required': True}, + } + + _attribute_map = { + 'virtual_network_resource_id': {'key': 'id', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'Action'}, + 'state': {'key': 'state', 'type': 'State'}, + } + + def __init__(self, **kwargs): + super(VirtualNetworkRule, self).__init__(**kwargs) + self.virtual_network_resource_id = kwargs.get('virtual_network_resource_id', None) + self.action = kwargs.get('action', "Allow") + self.state = kwargs.get('state', None) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/virtual_network_rule_py3.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/virtual_network_rule_py3.py new file mode 100644 index 00000000000..43673a374a5 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/models/virtual_network_rule_py3.py @@ -0,0 +1,47 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VirtualNetworkRule(Model): + """Virtual Network rule. + + All required parameters must be populated in order to send to Azure. + + :param virtual_network_resource_id: Required. Resource ID of a subnet, for + example: + /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. + :type virtual_network_resource_id: str + :param action: The action of virtual network rule. Possible values + include: 'Allow'. Default value: "Allow" . + :type action: str or ~azure.mgmt.storage.v2018_02_01.models.Action + :param state: Gets the state of virtual network rule. Possible values + include: 'provisioning', 'deprovisioning', 'succeeded', 'failed', + 'networkSourceDeleted' + :type state: str or ~azure.mgmt.storage.v2018_02_01.models.State + """ + + _validation = { + 'virtual_network_resource_id': {'required': True}, + } + + _attribute_map = { + 'virtual_network_resource_id': {'key': 'id', 'type': 'str'}, + 'action': {'key': 'action', 'type': 'Action'}, + 'state': {'key': 'state', 'type': 'State'}, + } + + def __init__(self, *, virtual_network_resource_id: str, action="Allow", state=None, **kwargs) -> None: + super(VirtualNetworkRule, self).__init__(**kwargs) + self.virtual_network_resource_id = virtual_network_resource_id + self.action = action + self.state = state diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/__init__.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/__init__.py new file mode 100644 index 00000000000..b9b73b2babc --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/__init__.py @@ -0,0 +1,24 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .operations import Operations +from .skus_operations import SkusOperations +from .storage_accounts_operations import StorageAccountsOperations +from .usage_operations import UsageOperations +from .blob_containers_operations import BlobContainersOperations + +__all__ = [ + 'Operations', + 'SkusOperations', + 'StorageAccountsOperations', + 'UsageOperations', + 'BlobContainersOperations', +] diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/blob_containers_operations.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/blob_containers_operations.py new file mode 100644 index 00000000000..dcf30438e5b --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/blob_containers_operations.py @@ -0,0 +1,1045 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class BlobContainersOperations(object): + """BlobContainersOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2018-02-01". + :ivar immutability_policy_name: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default'. Constant value: "default". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-02-01" + self.immutability_policy_name = "default" + + self.config = config + + def list( + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): + """Lists all containers and does not support a prefix like data plane. + Also SRP today does not return continuation token. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ListContainerItems or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ListContainerItems or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ListContainerItems', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers'} + + def create( + self, resource_group_name, account_name, container_name, public_access=None, metadata=None, custom_headers=None, raw=False, **operation_config): + """Creates a new container under the specified account as described by + request body. The container resource includes metadata and properties + for that container. It does not include a list of the blobs contained + by the container. . + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param public_access: Specifies whether data in the container may be + accessed publicly and the level of access. Possible values include: + 'Container', 'Blob', 'None' + :type public_access: str or + ~azure.mgmt.storage.v2018_02_01.models.PublicAccess + :param metadata: A name-value pair to associate with the container as + metadata. + :type metadata: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BlobContainer or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + blob_container = models.BlobContainer(public_access=public_access, metadata=metadata) + + # Construct URL + url = self.create.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(blob_container, 'BlobContainer') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [201]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('BlobContainer', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} + + def update( + self, resource_group_name, account_name, container_name, public_access=None, metadata=None, custom_headers=None, raw=False, **operation_config): + """Updates container properties as specified in request body. Properties + not mentioned in the request will be unchanged. Update fails if the + specified container doesn't already exist. . + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param public_access: Specifies whether data in the container may be + accessed publicly and the level of access. Possible values include: + 'Container', 'Blob', 'None' + :type public_access: str or + ~azure.mgmt.storage.v2018_02_01.models.PublicAccess + :param metadata: A name-value pair to associate with the container as + metadata. + :type metadata: dict[str, str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BlobContainer or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + blob_container = models.BlobContainer(public_access=public_access, metadata=metadata) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(blob_container, 'BlobContainer') + + # Construct and send request + request = self._client.patch(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BlobContainer', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} + + def get( + self, resource_group_name, account_name, container_name, custom_headers=None, raw=False, **operation_config): + """Gets properties of a specified container. . + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: BlobContainer or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.BlobContainer or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('BlobContainer', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} + + def delete( + self, resource_group_name, account_name, container_name, custom_headers=None, raw=False, **operation_config): + """Deletes specified container under its account. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}'} + + def set_legal_hold( + self, resource_group_name, account_name, container_name, tags, custom_headers=None, raw=False, **operation_config): + """Sets legal hold tags. Setting the same tag results in an idempotent + operation. SetLegalHold follows an append pattern and does not clear + out the existing tags that are not specified in the request. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param tags: Each tag should be 3 to 23 alphanumeric characters and is + normalized to lower case at SRP. + :type tags: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: LegalHold or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + legal_hold = models.LegalHold(tags=tags) + + # Construct URL + url = self.set_legal_hold.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(legal_hold, 'LegalHold') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('LegalHold', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + set_legal_hold.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/setLegalHold'} + + def clear_legal_hold( + self, resource_group_name, account_name, container_name, tags, custom_headers=None, raw=False, **operation_config): + """Clears legal hold tags. Clearing the same or non-existent tag results + in an idempotent operation. ClearLegalHold clears out only the + specified tags in the request. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param tags: Each tag should be 3 to 23 alphanumeric characters and is + normalized to lower case at SRP. + :type tags: list[str] + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: LegalHold or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.LegalHold or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + legal_hold = models.LegalHold(tags=tags) + + # Construct URL + url = self.clear_legal_hold.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(legal_hold, 'LegalHold') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('LegalHold', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + clear_legal_hold.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/clearLegalHold'} + + def create_or_update_immutability_policy( + self, resource_group_name, account_name, container_name, immutability_period_since_creation_in_days, if_match=None, custom_headers=None, raw=False, **operation_config): + """Creates or updates an unlocked immutability policy. ETag in If-Match is + honored if given but not required for this operation. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param immutability_period_since_creation_in_days: The immutability + period for the blobs in the container since the policy creation, in + days. + :type immutability_period_since_creation_in_days: int + :param if_match: The entity state (ETag) version of the immutability + policy to update. A value of "*" can be used to apply the operation + only if the immutability policy already exists. If omitted, this + operation will always be applied. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ImmutabilityPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = None + if immutability_period_since_creation_in_days is not None: + parameters = models.ImmutabilityPolicy(immutability_period_since_creation_in_days=immutability_period_since_creation_in_days) + + # Construct URL + url = self.create_or_update_immutability_policy.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'immutabilityPolicyName': self._serialize.url("self.immutability_policy_name", self.immutability_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + if parameters is not None: + body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') + else: + body_content = None + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + header_dict = {} + + if response.status_code == 200: + deserialized = self._deserialize('ImmutabilityPolicy', response) + header_dict = { + 'ETag': 'str', + } + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + client_raw_response.add_headers(header_dict) + return client_raw_response + + return deserialized + create_or_update_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} + + def get_immutability_policy( + self, resource_group_name, account_name, container_name, if_match=None, custom_headers=None, raw=False, **operation_config): + """Gets the existing immutability policy along with the corresponding ETag + in response headers and body. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param if_match: The entity state (ETag) version of the immutability + policy to update. A value of "*" can be used to apply the operation + only if the immutability policy already exists. If omitted, this + operation will always be applied. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ImmutabilityPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get_immutability_policy.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'immutabilityPolicyName': self._serialize.url("self.immutability_policy_name", self.immutability_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if if_match is not None: + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + header_dict = {} + + if response.status_code == 200: + deserialized = self._deserialize('ImmutabilityPolicy', response) + header_dict = { + 'ETag': 'str', + } + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + client_raw_response.add_headers(header_dict) + return client_raw_response + + return deserialized + get_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} + + def delete_immutability_policy( + self, resource_group_name, account_name, container_name, if_match, custom_headers=None, raw=False, **operation_config): + """Aborts an unlocked immutability policy. The response of delete has + immutabilityPeriodSinceCreationInDays set to 0. ETag in If-Match is + required for this operation. Deleting a locked immutability policy is + not allowed, only way is to delete the container after deleting all + blobs inside the container. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param if_match: The entity state (ETag) version of the immutability + policy to update. A value of "*" can be used to apply the operation + only if the immutability policy already exists. If omitted, this + operation will always be applied. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ImmutabilityPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.delete_immutability_policy.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'immutabilityPolicyName': self._serialize.url("self.immutability_policy_name", self.immutability_policy_name, 'str'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + header_dict = {} + + if response.status_code == 200: + deserialized = self._deserialize('ImmutabilityPolicy', response) + header_dict = { + 'ETag': 'str', + } + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + client_raw_response.add_headers(header_dict) + return client_raw_response + + return deserialized + delete_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/{immutabilityPolicyName}'} + + def lock_immutability_policy( + self, resource_group_name, account_name, container_name, if_match, custom_headers=None, raw=False, **operation_config): + """Sets the ImmutabilityPolicy to Locked state. The only action allowed on + a Locked policy is ExtendImmutabilityPolicy action. ETag in If-Match is + required for this operation. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param if_match: The entity state (ETag) version of the immutability + policy to update. A value of "*" can be used to apply the operation + only if the immutability policy already exists. If omitted, this + operation will always be applied. + :type if_match: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ImmutabilityPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.lock_immutability_policy.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + header_dict = {} + + if response.status_code == 200: + deserialized = self._deserialize('ImmutabilityPolicy', response) + header_dict = { + 'ETag': 'str', + } + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + client_raw_response.add_headers(header_dict) + return client_raw_response + + return deserialized + lock_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/lock'} + + def extend_immutability_policy( + self, resource_group_name, account_name, container_name, if_match, immutability_period_since_creation_in_days, custom_headers=None, raw=False, **operation_config): + """Extends the immutabilityPeriodSinceCreationInDays of a locked + immutabilityPolicy. The only action allowed on a Locked policy will be + this action. ETag in If-Match is required for this operation. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param container_name: The name of the blob container within the + specified storage account. Blob container names must be between 3 and + 63 characters in length and use numbers, lower-case letters and dash + (-) only. Every dash (-) character must be immediately preceded and + followed by a letter or number. + :type container_name: str + :param if_match: The entity state (ETag) version of the immutability + policy to update. A value of "*" can be used to apply the operation + only if the immutability policy already exists. If omitted, this + operation will always be applied. + :type if_match: str + :param immutability_period_since_creation_in_days: The immutability + period for the blobs in the container since the policy creation, in + days. + :type immutability_period_since_creation_in_days: int + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ImmutabilityPolicy or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ImmutabilityPolicy or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + parameters = None + if immutability_period_since_creation_in_days is not None: + parameters = models.ImmutabilityPolicy(immutability_period_since_creation_in_days=immutability_period_since_creation_in_days) + + # Construct URL + url = self.extend_immutability_policy.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'containerName': self._serialize.url("container_name", container_name, 'str', max_length=63, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + header_parameters['If-Match'] = self._serialize.header("if_match", if_match, 'str') + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + if parameters is not None: + body_content = self._serialize.body(parameters, 'ImmutabilityPolicy') + else: + body_content = None + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + header_dict = {} + + if response.status_code == 200: + deserialized = self._deserialize('ImmutabilityPolicy', response) + header_dict = { + 'ETag': 'str', + } + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + client_raw_response.add_headers(header_dict) + return client_raw_response + + return deserialized + extend_immutability_policy.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/blobServices/default/containers/{containerName}/immutabilityPolicies/default/extend'} diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/operations.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/operations.py new file mode 100644 index 00000000000..c7049ade6b0 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/operations.py @@ -0,0 +1,99 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class Operations(object): + """Operations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2018-02-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-02-01" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Lists all of the available Storage Rest API operations. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Operation + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.OperationPaged[~azure.mgmt.storage.v2018_02_01.models.Operation] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/providers/Microsoft.Storage/operations'} diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/skus_operations.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/skus_operations.py new file mode 100644 index 00000000000..16d00abe29d --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/skus_operations.py @@ -0,0 +1,104 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class SkusOperations(object): + """SkusOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2018-02-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-02-01" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Lists the available SKUs supported by Microsoft.Storage for given + subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Sku + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.SkuPaged[~azure.mgmt.storage.v2018_02_01.models.Sku] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.SkuPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SkuPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus'} diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/storage_accounts_operations.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/storage_accounts_operations.py new file mode 100644 index 00000000000..75e62a80775 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/storage_accounts_operations.py @@ -0,0 +1,845 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class StorageAccountsOperations(object): + """StorageAccountsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2018-02-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-02-01" + + self.config = config + + def check_name_availability( + self, name, custom_headers=None, raw=False, **operation_config): + """Checks that the storage account name is valid and is not already in + use. + + :param name: The storage account name. + :type name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: CheckNameAvailabilityResult or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.CheckNameAvailabilityResult or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + account_name = models.StorageAccountCheckNameAvailabilityParameters(name=name) + + # Construct URL + url = self.check_name_availability.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(account_name, 'StorageAccountCheckNameAvailabilityParameters') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CheckNameAvailabilityResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + check_name_availability.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability'} + + + def _create_initial( + self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'StorageAccountCreateParameters') + + # Construct and send request + request = self._client.put(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200, 202]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create( + self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, polling=True, **operation_config): + """Asynchronously creates a new storage account with the specified + parameters. If an account is already created and a subsequent create + request is issued with different properties, the account properties + will be updated. If an account is already created and a subsequent + create or update request is issued with the exact same set of + properties, the request will succeed. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param parameters: The parameters to provide for the created account. + :type parameters: + ~azure.mgmt.storage.v2018_02_01.models.StorageAccountCreateParameters + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns StorageAccount or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.storage.v2018_02_01.models.StorageAccount] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.storage.v2018_02_01.models.StorageAccount]] + :raises: :class:`CloudError` + """ + raw_result = self._create_initial( + resource_group_name=resource_group_name, + account_name=account_name, + parameters=parameters, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('StorageAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} + + def delete( + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): + """Deletes a storage account in Microsoft Azure. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: None or ClientRawResponse if raw=true + :rtype: None or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200, 204]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} + + def get_properties( + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): + """Returns the properties for the specified storage account including but + not limited to name, SKU name, location, and account status. The + ListKeys operation should be used to retrieve storage keys. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: StorageAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.StorageAccount or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.get_properties.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get_properties.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} + + def update( + self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config): + """The update operation can be used to update the SKU, encryption, access + tier, or tags for a storage account. It can also be used to map the + account to a custom domain. Only one custom domain is supported per + storage account; the replacement/change of custom domain is not + supported. In order to replace an old custom domain, the old value must + be cleared/unregistered before a new value can be set. The update of + multiple properties is supported. This call does not change the storage + keys for the account. If you want to change the storage account keys, + use the regenerate keys operation. The location and name of the storage + account cannot be changed after creation. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param parameters: The parameters to provide for the updated account. + :type parameters: + ~azure.mgmt.storage.v2018_02_01.models.StorageAccountUpdateParameters + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: StorageAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.StorageAccount or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'StorageAccountUpdateParameters') + + # Construct and send request + request = self._client.patch(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('StorageAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}'} + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Lists all the storage accounts available under the subscription. Note + that storage keys are not returned; use the ListKeys operation for + this. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of StorageAccount + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.StorageAccountPaged[~azure.mgmt.storage.v2018_02_01.models.StorageAccount] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.StorageAccountPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.StorageAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts'} + + def list_by_resource_group( + self, resource_group_name, custom_headers=None, raw=False, **operation_config): + """Lists all the storage accounts available under the given resource + group. Note that storage keys are not returned; use the ListKeys + operation for this. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of StorageAccount + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.StorageAccountPaged[~azure.mgmt.storage.v2018_02_01.models.StorageAccount] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list_by_resource_group.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.StorageAccountPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.StorageAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list_by_resource_group.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts'} + + def list_keys( + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): + """Lists the access keys for the specified storage account. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: StorageAccountListKeysResult or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.StorageAccountListKeysResult or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.list_keys.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send(request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountListKeysResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + list_keys.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys'} + + def regenerate_key( + self, resource_group_name, account_name, key_name, custom_headers=None, raw=False, **operation_config): + """Regenerates one of the access keys for the specified storage account. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param key_name: The name of storage keys that want to be regenerated, + possible vaules are key1, key2. + :type key_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: StorageAccountListKeysResult or ClientRawResponse if raw=true + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.StorageAccountListKeysResult or + ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + regenerate_key1 = models.StorageAccountRegenerateKeyParameters(key_name=key_name) + + # Construct URL + url = self.regenerate_key.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(regenerate_key1, 'StorageAccountRegenerateKeyParameters') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('StorageAccountListKeysResult', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + regenerate_key.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/regenerateKey'} + + def list_account_sas( + self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config): + """List SAS credentials of a storage account. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param parameters: The parameters to provide to list SAS credentials + for the storage account. + :type parameters: + ~azure.mgmt.storage.v2018_02_01.models.AccountSasParameters + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ListAccountSasResponse or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ListAccountSasResponse + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.list_account_sas.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'AccountSasParameters') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ListAccountSasResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + list_account_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas'} + + def list_service_sas( + self, resource_group_name, account_name, parameters, custom_headers=None, raw=False, **operation_config): + """List service SAS credentials of a specific resource. + + :param resource_group_name: The name of the resource group within the + user's subscription. The name is case insensitive. + :type resource_group_name: str + :param account_name: The name of the storage account within the + specified resource group. Storage account names must be between 3 and + 24 characters in length and use numbers and lower-case letters only. + :type account_name: str + :param parameters: The parameters to provide to list service SAS + credentials. + :type parameters: + ~azure.mgmt.storage.v2018_02_01.models.ServiceSasParameters + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: ListServiceSasResponse or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.storage.v2018_02_01.models.ListServiceSasResponse + or ~msrest.pipeline.ClientRawResponse + :raises: :class:`CloudError` + """ + # Construct URL + url = self.list_service_sas.metadata['url'] + path_format_arguments = { + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), + 'accountName': self._serialize.url("account_name", account_name, 'str', max_length=24, min_length=3), + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(parameters, 'ServiceSasParameters') + + # Construct and send request + request = self._client.post(url, query_parameters) + response = self._client.send( + request, header_parameters, body_content, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('ListServiceSasResponse', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + list_service_sas.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListServiceSas'} diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/usage_operations.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/usage_operations.py new file mode 100644 index 00000000000..327ed44d1b8 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/operations/usage_operations.py @@ -0,0 +1,173 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrestazure.azure_exceptions import CloudError + +from .. import models + + +class UsageOperations(object): + """UsageOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: The API version to use for this operation. Constant value: "2018-02-01". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2018-02-01" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Gets the current usage count and the limit for the resources under the + subscription. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Usage + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.UsagePaged[~azure.mgmt.storage.v2018_02_01.models.Usage] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1) + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.UsagePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.UsagePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/usages'} + + def list_by_location( + self, location, custom_headers=None, raw=False, **operation_config): + """Gets the current usage count and the limit for the resources of the + location under the subscription. + + :param location: The location of the Azure Storage resource. + :type location: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Usage + :rtype: + ~azure.mgmt.storage.v2018_02_01.models.UsagePaged[~azure.mgmt.storage.v2018_02_01.models.Usage] + :raises: :class:`CloudError` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list_by_location.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str', min_length=1), + 'location': self._serialize.url("location", location, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str', min_length=1) + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters) + response = self._client.send( + request, header_parameters, stream=False, **operation_config) + + if response.status_code not in [200]: + exp = CloudError(response) + exp.request_id = response.headers.get('x-ms-request-id') + raise exp + + return response + + # Deserialize response + deserialized = models.UsagePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.UsagePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list_by_location.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages'} diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/storage_management_client.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/storage_management_client.py new file mode 100644 index 00000000000..a7054239562 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/storage_management_client.py @@ -0,0 +1,101 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import SDKClient +from msrest import Serializer, Deserializer +from msrestazure import AzureConfiguration +from .version import VERSION +from .operations.operations import Operations +from .operations.skus_operations import SkusOperations +from .operations.storage_accounts_operations import StorageAccountsOperations +from .operations.usage_operations import UsageOperations +from .operations.blob_containers_operations import BlobContainersOperations +from . import models + + +class StorageManagementClientConfiguration(AzureConfiguration): + """Configuration for StorageManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(StorageManagementClientConfiguration, self).__init__(base_url) + + self.add_user_agent('azure-mgmt-storage/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id + + +class StorageManagementClient(SDKClient): + """The Azure Storage Management API. + + :ivar config: Configuration for client. + :vartype config: StorageManagementClientConfiguration + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.storage.v2018_02_01.operations.Operations + :ivar skus: Skus operations + :vartype skus: azure.mgmt.storage.v2018_02_01.operations.SkusOperations + :ivar storage_accounts: StorageAccounts operations + :vartype storage_accounts: azure.mgmt.storage.v2018_02_01.operations.StorageAccountsOperations + :ivar usage: Usage operations + :vartype usage: azure.mgmt.storage.v2018_02_01.operations.UsageOperations + :ivar blob_containers: BlobContainers operations + :vartype blob_containers: azure.mgmt.storage.v2018_02_01.operations.BlobContainersOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: The ID of the target subscription. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + self.config = StorageManagementClientConfiguration(credentials, subscription_id, base_url) + super(StorageManagementClient, self).__init__(self.config.credentials, self.config) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self.api_version = '2018-02-01' + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self.config, self._serialize, self._deserialize) + self.skus = SkusOperations( + self._client, self.config, self._serialize, self._deserialize) + self.storage_accounts = StorageAccountsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.usage = UsageOperations( + self._client, self.config, self._serialize, self._deserialize) + self.blob_containers = BlobContainersOperations( + self._client, self.config, self._serialize, self._deserialize) diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/version.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/version.py new file mode 100644 index 00000000000..848a6c9f9e9 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/v2018_02_01/version.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +VERSION = "2018-02-01" + diff --git a/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/version.py b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/version.py new file mode 100644 index 00000000000..7c23b73fa13 --- /dev/null +++ b/src/storage-preview/azext_storage_preview/vendored_sdks/azure_mgmt_storage/version.py @@ -0,0 +1,8 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# -------------------------------------------------------------------------- + +VERSION = "2.0.0rc1" diff --git a/src/storage-preview/setup.py b/src/storage-preview/setup.py index 3b61b551f4b..b4247028aa7 100644 --- a/src/storage-preview/setup.py +++ b/src/storage-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.1.0" +VERSION = "0.1.1" CLASSIFIERS = [ 'Development Status :: 4 - Beta',