From b64c7c28de3b42bbdc3ba29fd84e0f281cb78ce8 Mon Sep 17 00:00:00 2001 From: leonard Date: Tue, 19 Feb 2019 11:07:08 +0000 Subject: [PATCH 01/15] NFSAAS-1708 add initial version of anf cli extension --- src/anf-preview/HISTORY.rst | 8 + src/anf-preview/README.rst | 5 + src/anf-preview/azext_anf_preview/__init__.py | 31 + .../azext_anf_preview/_client_factory.py | 25 + .../azext_anf_preview/_exception_handler.py | 16 + src/anf-preview/azext_anf_preview/_help.py | 435 +++++++++ src/anf-preview/azext_anf_preview/_params.py | 25 + src/anf-preview/azext_anf_preview/commands.py | 87 ++ src/anf-preview/azext_anf_preview/custom.py | 77 ++ .../azext_anf_preview/tests/__init__.py | 4 + .../tests/latest/__init__.py | 4 + .../test_ext_create_delete_account.yaml | 464 ++++++++++ .../test_ext_create_delete_pool.yaml | 533 +++++++++++ .../test_ext_create_delete_volumes.yaml | 723 +++++++++++++++ .../recordings/test_ext_create_snapshots.yaml | 639 +++++++++++++ .../test_ext_get_account_by_name_ext.yaml | 177 ++++ .../recordings/test_ext_get_pool_by_name.yaml | 267 ++++++ .../recordings/test_ext_get_snapshot.yaml | 639 +++++++++++++ .../test_ext_get_volume_by_name.yaml | 609 ++++++++++++ .../test_ext_list_accounts_ext.yaml | 410 ++++++++ .../test_ext_list_mount_targets.yaml | 607 ++++++++++++ .../recordings/test_ext_list_pools.yaml | 501 ++++++++++ .../recordings/test_ext_list_snapshots.yaml | 698 ++++++++++++++ .../recordings/test_ext_list_volumes.yaml | 876 ++++++++++++++++++ .../test_ext_update_account_ext.yaml | 210 +++++ .../recordings/test_ext_update_pool.yaml | 301 ++++++ .../recordings/test_ext_update_volume.yaml | 642 +++++++++++++ .../tests/latest/test_account_commands_ext.py | 73 ++ .../latest/test_mount_target_commands_ext.py | 45 + .../tests/latest/test_pool_commands_ext.py | 85 ++ .../latest/test_snapshot_commands_ext.py | 77 ++ .../tests/latest/test_volume_commands_ext.py | 102 ++ src/anf-preview/setup.cfg | 2 + src/anf-preview/setup.py | 49 + 34 files changed, 9446 insertions(+) create mode 100644 src/anf-preview/HISTORY.rst create mode 100644 src/anf-preview/README.rst create mode 100644 src/anf-preview/azext_anf_preview/__init__.py create mode 100644 src/anf-preview/azext_anf_preview/_client_factory.py create mode 100644 src/anf-preview/azext_anf_preview/_exception_handler.py create mode 100644 src/anf-preview/azext_anf_preview/_help.py create mode 100644 src/anf-preview/azext_anf_preview/_params.py create mode 100644 src/anf-preview/azext_anf_preview/commands.py create mode 100644 src/anf-preview/azext_anf_preview/custom.py create mode 100644 src/anf-preview/azext_anf_preview/tests/__init__.py create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/__init__.py create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py create mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py create mode 100644 src/anf-preview/setup.cfg create mode 100644 src/anf-preview/setup.py diff --git a/src/anf-preview/HISTORY.rst b/src/anf-preview/HISTORY.rst new file mode 100644 index 00000000000..e7f6a722ba4 --- /dev/null +++ b/src/anf-preview/HISTORY.rst @@ -0,0 +1,8 @@ +.. :changelog: + +Release History +=============== + +0.0.1 ++++++ +* Initial release diff --git a/src/anf-preview/README.rst b/src/anf-preview/README.rst new file mode 100644 index 00000000000..ffb074f2f3a --- /dev/null +++ b/src/anf-preview/README.rst @@ -0,0 +1,5 @@ +Microsoft Azure CLI 'Azure NetApp File (ANF)' Command Module +=================================================================== + +This package is for the Azure NetApp File (ANF)' module. +i.e. 'az anf' diff --git a/src/anf-preview/azext_anf_preview/__init__.py b/src/anf-preview/azext_anf_preview/__init__.py new file mode 100644 index 00000000000..390d11444d1 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/__init__.py @@ -0,0 +1,31 @@ +# -------------------------------------------------------------------------------------------- +# 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 import AzCommandsLoader +from ._help import helps # pylint: disable=unused-import + + +class NetAppExtensionCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + netapp_custom = CliCommandType(operations_tmpl='azext_anf_preview.custom#{}') + super(NetAppExtensionCommandsLoader, self).__init__(cli_ctx=cli_ctx, + min_profile='2017-03-10-profile', + custom_command_type=netapp_custom) + + def load_command_table(self, args): + super(NetAppExtensionCommandsLoader, self).load_command_table(args) + from .commands import load_command_table + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + super(NetAppExtensionCommandsLoader, self).load_arguments(command) + from ._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = NetAppExtensionCommandsLoader diff --git a/src/anf-preview/azext_anf_preview/_client_factory.py b/src/anf-preview/azext_anf_preview/_client_factory.py new file mode 100644 index 00000000000..16c410ed77b --- /dev/null +++ b/src/anf-preview/azext_anf_preview/_client_factory.py @@ -0,0 +1,25 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=unused-argument +def cf_netapp(cli_ctx, *kwargs): + from azure.cli.core.commands.client_factory import get_mgmt_service_client + from azure.mgmt.netapp import AzureNetAppFilesManagementClient + return get_mgmt_service_client(cli_ctx, AzureNetAppFilesManagementClient) + +def accounts_mgmt_client_factory(cli_ctx, _): + return cf_netapp(cli_ctx).accounts + +def pools_mgmt_client_factory(cli_ctx, _): + return cf_netapp(cli_ctx).pools + +def volumes_mgmt_client_factory(cli_ctx, _): + return cf_netapp(cli_ctx).volumes + +def mount_targets_mgmt_client_factory(cli_ctx, _): + return cf_netapp(cli_ctx).mount_targets + +def snapshots_mgmt_client_factory(cli_ctx, _): + return cf_netapp(cli_ctx).snapshots diff --git a/src/anf-preview/azext_anf_preview/_exception_handler.py b/src/anf-preview/azext_anf_preview/_exception_handler.py new file mode 100644 index 00000000000..98c5dc0c951 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/_exception_handler.py @@ -0,0 +1,16 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from knack.util import CLIError + +def netapp_exception_handler(ex): + from azure.mgmt.netapp.models import ErrorException + if isinstance(ex, ErrorException): + message = ex + raise CLIError(message) + else: + import sys + from six import reraise + reraise(*sys.exc_info()) diff --git a/src/anf-preview/azext_anf_preview/_help.py b/src/anf-preview/azext_anf_preview/_help.py new file mode 100644 index 00000000000..a8ca8e9fb25 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/_help.py @@ -0,0 +1,435 @@ +# 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 knack.help_files import helps + +# pylint: disable=line-too-long + + +helps['anf'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Resources. +""" + +# account + +helps['anf account'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Account Resources. +""" + +helps['anf account create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) account. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the account + examples: + - name: Create an ANF account + text: > + az anf account create -g group --account-name name -l location +""" + +helps['anf account update'] = """ + type: command + short-summary: Set/modify the tags for a specified ANF account. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the account + examples: + - name: Update the tags of an ANF account + text: > + az anf account update -g group --account-name name --tags 'key[=value] key[=value]' +""" + +helps['anf account delete'] = """ + type: command + short-summary: Delete the specified ANF account. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + examples: + - name: Delete an ANF account + text: > + az anf account delete -g group --account-name name +""" + +helps['anf account list'] = """ + type: command + short-summary: List ANF accounts. + examples: + - name: List ANF accounts within a resource group + text: > + az anf account list -g group +""" + +helps['anf account show'] = """ + type: command + short-summary: Get the specified ANF account. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + examples: + - name: Get an ANF account + text: > + az anf account show -g group --account-name name +""" + +# pools + +helps['anf pool'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Pool Resources. +""" + +helps['anf pool create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) pool. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --size + type: integer + short-summary: The size for the ANF pool. Must be in 4 tebibytes increments, expressed in bytes + - name: --service-level + type: string + short-summary: The service level for the ANF pool ["Standard"|"Premium"|"Extreme"] + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the pool + examples: + - name: Create an ANF pool + text: > + az anf pool create -g group --account-name aname --pool-name pname -l location --size 4398046511104 --service-level "Premium" +""" + +helps['anf pool update'] = """ + type: command + short-summary: Update the tags of the specified ANF pool. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --size + type: integer + short-summary: The size for the ANF pool. Must be in 4 tebibytes increments, expressed in bytes + - name: --service-level + type: string + short-summary: The service level for the ANF pool ["Standard"|"Premium"|"Extreme"] + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the pool + examples: + - name: Update specific values for an ANF pool + text: > + az anf pool update -g group --account-name aname --pool-name pname --service-level "Extreme" --tags 'key[=value] key[=value]' +""" + +helps['anf pool delete'] = """ + type: command + short-summary: Delete the specified ANF pool. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + examples: + - name: Delete an ANF pool + text: > + az anf pool delete -g group --account-name aname --pool-name pname +""" + +helps['anf pool list'] = """ + type: command + short-summary: L:ist the ANF pools for the specified account. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + examples: + - name: List the pools for the ANF account + text: > + az anf pool list -g group -account-name name +""" + +helps['anf pool show'] = """ + type: command + short-summary: Get the specified ANF pool. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + examples: + - name: Get an ANF pool + text: > + az anf pool show -g group --account-name aname --pool-name pname +""" + +# volumes + +helps['anf volume'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Volume Resources. +""" + +helps['anf volume create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) volume. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + - name: --service-level + type: string + short-summary: The service level ["Standard"|"Premium"|"Extreme"] + - name: --usage-threshold + type: int + short-summary: The maximum storage quota allowed for a file system in bytes. Min 100 GiB, max 100TiB" + - name: --creation-token + type: string + short-summary: A unique file path identifier, from 1 to 80 characters + - name: --subnet-id + type: string + short-summary: The subnet identifier + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the volume + examples: + - name: Create an ANF volume + text: > + az anf volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" +""" + +helps['anf volume update'] = """ + type: command + short-summary: Update the specified ANF volume with the values provided. Unspecified values will remain unchanged. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + - name: --service-level + type: string + short-summary: The service level ["Standard"|"Premium"|"Extreme"] + - name: --usage-threshold + type: int + short-summary: The maximum storage quota allowed for a file system in bytes. Min 100 GiB, max 100TiB" + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the volume + examples: + - name: Create an ANF volume + text: > + az anf volume update -g group --account-name aname --pool-name pname --volume-name vname --service-level level --usage-threshold 107374182400 --tags 'key[=value] key[=value]' +""" + +helps['anf volume delete'] = """ + type: command + short-summary: Delete the specified ANF volume. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + examples: + - name: Delete an ANF volume + text: > + az anf volume delete -g group --account-name aname --pool-name pname +""" + +helps['anf volume list'] = """ + type: command + short-summary: List the ANF Pools for the specified account. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + examples: + - name: List the ANF volumes of the pool + text: > + az anf volume list -g group --account-name aname --pool-name pname +""" + +helps['anf volume show'] = """ + type: command + short-summary: Get the specified ANF volume. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF pool + examples: + - name: Returns the properties of the given ANF volume + text: > + az anf volume show -g group --account-name aname --pool-name pname --volume_name vname +""" + +# mounttargets + +helps['anf mount-target'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Mount Target Resources. +""" + +helps['anf mount-target list'] = """ + type: command + short-summary: List the mount targets of an ANF volume. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF pool + examples: + - name: list the mount targets of an ANF volume + text: > + az anf mount-target list -g group --account-name aname --pool-name pname --volume-name vname +""" + +# snapshots + +helps['anf snapshot'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Snapshot Resources. +""" + +helps['anf snapshot create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) snapshot. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + - name: --snapshot-name + type: string + short-summary: The name of the ANF snapshot + - name: --file-system-id + type: string + short-summary: The uuid of the volume + examples: + - name: Create an ANF snapshot + text: > + az anf snapshot create -g group --account-name account-name --pool-name pname --volume-name vname --snapshot-name sname -l location --file-system-id volume-uuid +""" + +helps['anf snapshot delete'] = """ + type: command + short-summary: Delete the specified ANF snapshot. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + - name: --snapshot-name + type: string + short-summary: The name of the ANF snapshot + examples: + - name: Delete an ANF snapshot + text: > + az anf volume delete -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname +""" + +helps['anf snapshot list'] = """ + type: command + short-summary: List the snapshots of an ANF volume. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + examples: + - name: list the snapshots of an ANF volume + text: > + az anf account list -g group --account-name aname --pool-name pname --volume-name vname +""" + +helps['anf snapshot show'] = """ + type: command + short-summary: Get the specified ANF snapshot. + parameters: + - name: --account-name + type: string + short-summary: The name of the ANF account + - name: --pool-name + type: string + short-summary: The name of the ANF pool + - name: --volume-name + type: string + short-summary: The name of the ANF volume + - name: --snapshot-name + type: string + short-summary: The name of the ANF snapshot + examples: + - name: Return the specified ANF snapshot + text: > + az anf snapshot show -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname +""" \ No newline at end of file diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py new file mode 100644 index 00000000000..319b90bde63 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -0,0 +1,25 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long + +def load_arguments(self, _): + with self.argument_context('anf') as c: + c.argument('resource_group', options_list=['--resource-group', '-g'], required=True, help='The name of the resource group') + + with self.argument_context('anf') as c: + c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account') + + with self.argument_context('anf') as c: + c.argument('pool_name', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + + with self.argument_context('anf') as c: + c.argument('volume_name', options_list=['--volume-name', '-v'], required=True, help='The name of the ANF volume') + + with self.argument_context('anf') as c: + c.argument('snapshot_name', options_list=['--snapshot-name', '-s'], required=True, help='The name of the ANF snapshot') + + with self.argument_context('anf') as c: + c.argument('tag', options_list=['--tags'], required=False, help='A list of space separated tags to apply to the account') diff --git a/src/anf-preview/azext_anf_preview/commands.py b/src/anf-preview/azext_anf_preview/commands.py new file mode 100644 index 00000000000..f65b6e45d28 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/commands.py @@ -0,0 +1,87 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long + +from azure.cli.core.commands import CliCommandType +from ._client_factory import ( + accounts_mgmt_client_factory, + pools_mgmt_client_factory, + volumes_mgmt_client_factory, + mount_targets_mgmt_client_factory, + snapshots_mgmt_client_factory) +from ._exception_handler import netapp_exception_handler + + +def load_command_table(self, _): + anf_accounts_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.accounts_operations#AccountsOperations.{}', + client_factory=accounts_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + anf_pools_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.pools_operations#PoolsOperations.{}', + client_factory=pools_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + anf_volumes_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.volumes_operations#VolumesOperations.{}', + client_factory=volumes_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + anf_mount_targets_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.mount_targets_operations#MountTargetsOperations.{}', + client_factory=mount_targets_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + anf_snapshots_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.snapshots_operations#SnapshotsOperations.{}', + client_factory=snapshots_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + with self.command_group('anf account', anf_accounts_sdk) as g: + g.show_command('show', 'get') + g.command('list', 'list') + g.command('delete', 'delete') + g.custom_command('create', 'create_account', client_factory=accounts_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#NetAppAccount') + g.generic_update_command('update', setter_name='update', custom_func_name='update_account', + setter_arg_name='tags', + doc_string_source='azure.mgmt.netapp.models#NetAppAccountPatch') + + with self.command_group('anf pool', anf_pools_sdk) as g: + g.show_command('show', 'get') + g.command('list', 'list') + g.command('delete', 'delete') + g.custom_command('create', 'create_pool', client_factory=pools_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#CapacityPool') + g.generic_update_command('update', setter_name='create_or_update', custom_func_name='update_pool', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#CapacityPool') + + with self.command_group('anf volume', anf_volumes_sdk) as g: + g.show_command('show', 'get') + g.command('list', 'list') + g.command('delete', 'delete') + g.custom_command('create', 'create_volume', client_factory=volumes_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#Volume') + g.generic_update_command('update', setter_name='update', custom_func_name='patch_volume', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#VolumePatch') + + with self.command_group('anf mount-target', anf_mount_targets_sdk) as g: + g.command('list', 'list') + + with self.command_group('anf snapshot', anf_snapshots_sdk) as g: + g.show_command('show', 'get') + g.command('list', 'list') + g.command('delete', 'delete') + g.custom_command('create', 'create_snapshot', client_factory=snapshots_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#Snapshot') diff --git a/src/anf-preview/azext_anf_preview/custom.py b/src/anf-preview/azext_anf_preview/custom.py new file mode 100644 index 00000000000..6dccbf796fc --- /dev/null +++ b/src/anf-preview/azext_anf_preview/custom.py @@ -0,0 +1,77 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long + +from knack.log import get_logger +from azure.mgmt.netapp.models import NetAppAccountPatch, CapacityPool, Volume, VolumePatch, Snapshot + +logger = get_logger(__name__) + + +def generate_tags(tag): + if tag is None: + return None + + tags = {} + tag_list = tag.split(" ") + for tag_item in tag_list: + parts = tag_item.split("=", 1) + if len(parts) == 2: + # two parts, everything after first '=' is the tag's value + tags[parts[0]] = parts[1] + elif len(parts) == 1: + # one part, no tag value + tags[parts[0]] = "" + return tags + +def _update_mapper(existing, new, keys): + for key in keys: + existing_value = getattr(existing, key) + new_value = getattr(new, key) + setattr(new, key, new_value if new_value is not None else existing_value) + +# pylint: disable=unused-argument +def create_account(cmd, client, account_name, resource_group_name, location, tag=None): + return client.create_or_update(resource_group_name, account_name, location, generate_tags(tag)) + +# pylint: disable=unused-argument +def update_account(cmd, instance, tag=None): + params = NetAppAccountPatch(tags=generate_tags(tag)) + return params.tags + +def create_pool(cmd, client, account_name, pool_name, resource_group, location, size, service_level, tag=None): + body = CapacityPool(service_level=service_level, size=int(size), location=location, tags=generate_tags(tag)) + return client.create_or_update(body, resource_group, account_name, pool_name) + +def update_pool(cmd, instance, location=None, size=None, service_level=None, tag=None): + # put operation to update the record + if size != None: + size = int(size) + body = CapacityPool(service_level=service_level, size=size, location=location, tags=generate_tags(tag)) + _update_mapper(instance, body, ['location', 'service_level', 'size', 'tags']) + return body + +def create_volume(cmd, client, account_name, pool_name, volume_name, resource_group_name, location, service_level, creation_token, usage_threshold, subnet_id, tag=None): + body = Volume( + usage_threshold=int(usage_threshold), + creation_token=creation_token, + service_level=service_level, + location=location, + subnet_id=subnet_id, + tags=generate_tags(tag)) + return client.create_or_update(body, resource_group_name, account_name, pool_name, volume_name) + +def patch_volume(cmd, instance, service_level=None, usage_threshold=None, tag=None): + params = VolumePatch( + usage_threshold=None if usage_threshold is None else int(usage_threshold), + service_level=service_level, + tags=generate_tags(tag)) + _update_mapper(instance, params, ['service_level', 'usage_threshold', 'tags']) + return params + +def create_snapshot(cmd, client, account_name, pool_name, volume_name, snapshot_name, file_system_id, resource_group_name, location): + body = Snapshot(location=location, file_system_id=file_system_id) + return client.create(body, resource_group_name, account_name, pool_name, volume_name, snapshot_name) diff --git a/src/anf-preview/azext_anf_preview/tests/__init__.py b/src/anf-preview/azext_anf_preview/tests/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/__init__.py @@ -0,0 +1,4 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- diff --git a/src/anf-preview/azext_anf_preview/tests/latest/__init__.py b/src/anf-preview/azext_anf_preview/tests/latest/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/__init__.py @@ -0,0 +1,4 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml new file mode 100644 index 00000000000..058e721b543 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml @@ -0,0 +1,464 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:38:03Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:38:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:38:07 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: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1", "Tag2": + "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['69'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A11.7270632Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['493'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:38:11 GMT'] + etag: [W/"datetime'2019-02-18T10%3A38%3A11.7270632Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1","name":"20be7cd0-7c24-47fc-80bb-8a556da96de1","status":"Succeeded","startTime":"2019-02-18T10:38:11.6561857Z","endTime":"2019-02-18T10:38:11.9687138Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:38:43 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A12.0172687Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['494'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:38:45 GMT'] + etag: [W/"datetime'2019-02-18T10%3A38%3A12.0172687Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account list] + Connection: [keep-alive] + ParameterSetName: [--resource-group] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A12.0172687Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['506'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:38:46 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--resource-group --account-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:38:47 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc","name":"8c4e4149-1601-4a6f-b090-0f78ee8d8adc","status":"Succeeded","startTime":"2019-02-18T10:38:48.1576906Z","endTime":"2019-02-18T10:38:48.2358286Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:39:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account list] + Connection: [keep-alive] + ParameterSetName: [--resource-group] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:39:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1", "Tag2": + "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['69'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.6043364Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['493'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:39:24 GMT'] + etag: [W/"datetime'2019-02-18T10%3A39%3A24.6043364Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8","name":"716b6f6b-5c57-4dd4-bb2d-b6cc777652e8","status":"Succeeded","startTime":"2019-02-18T10:39:24.5375327Z","endTime":"2019-02-18T10:39:24.8229417Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:39:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.8725281Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['494'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:39:58 GMT'] + etag: [W/"datetime'2019-02-18T10%3A39%3A24.8725281Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account list] + Connection: [keep-alive] + ParameterSetName: [-g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.8725281Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['506'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:39:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:40:02 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b","name":"a3558c25-f5c9-4d1f-b816-eec9ce09653b","status":"Succeeded","startTime":"2019-02-18T10:40:02.6189131Z","endTime":"2019-02-18T10:40:02.6813566Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:40:33 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account list] + Connection: [keep-alive] + ParameterSetName: [-g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:40:35 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:40:39 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdTNU5TVDZXM1JWRUJGRUQyS05TUFNWSVFEWVNQT1pMR1hPNnxGODY4QjU5RDdDNTY1REQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml new file mode 100644 index 00000000000..8962a65d8e5 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml @@ -0,0 +1,533 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:21:24Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:21:24Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:21:28 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: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A21%3A32.868772Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['451'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:21:33 GMT'] + etag: [W/"datetime'2019-02-18T11%3A21%3A32.868772Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50","name":"0f2b4da7-4c4f-4843-be8e-e4123ecadb50","status":"Succeeded","startTime":"2019-02-18T11:21:32.6777633Z","endTime":"2019-02-18T11:21:33.1628308Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:22:05 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A21%3A33.20602Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['451'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:22:06 GMT'] + etag: [W/"datetime'2019-02-18T11%3A21%3A33.20602Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['135'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name -l --service-level + --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A10.8236867Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['583'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:22:11 GMT'] + etag: [W/"datetime'2019-02-18T11%3A22%3A10.8236867Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name -l --service-level + --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30","name":"7445c753-bf80-4421-adaa-436df543fc30","status":"Succeeded","startTime":"2019-02-18T11:22:10.7781818Z","endTime":"2019-02-18T11:22:11.3670102Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:22:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name -l --service-level + --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A11.3981092Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"395085c2-4d08-d931-524b-e51d631ce3c0","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['691'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:22:44 GMT'] + etag: [W/"datetime'2019-02-18T11%3A22%3A11.3981092Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool list] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A11.3981092Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"395085c2-4d08-d931-524b-e51d631ce3c0","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['703'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:22:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--resource-group --account-name --pool-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:22:49 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46","name":"e68ccb42-6b1f-4156-b77e-394354f08c46","status":"Succeeded","startTime":"2019-02-18T11:22:50.1754189Z","endTime":"2019-02-18T11:22:53.4484712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:23:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool list] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:23:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['135'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A23%3A31.0272655Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['583'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:23:30 GMT'] + etag: [W/"datetime'2019-02-18T11%3A23%3A31.0272655Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb","name":"e45c2fbe-d028-41b7-9c4e-b7c3827a78fb","status":"Succeeded","startTime":"2019-02-18T11:23:30.9978684Z","endTime":"2019-02-18T11:23:31.5210997Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:24:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A23%3A31.5536493Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"4f02a259-9a88-11a0-fcaa-7d6a30650316","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['691'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:24:10 GMT'] + etag: [W/"datetime'2019-02-18T11%3A23%3A31.5536493Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:24:08 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609","name":"99f7cff9-e878-485d-b843-acb8d42ee609","status":"Succeeded","startTime":"2019-02-18T11:24:10.3927934Z","endTime":"2019-02-18T11:24:13.737154Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['614'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:24:48 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool list] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:24:53 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:24:51 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdSSDMyRkNCR1RINjVMRFJIQVNPSllMNTVOSlVNU09XVkRZS3wwMDFDNkY5N0FCODNBQTI0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml new file mode 100644 index 00000000000..c8755cdaab4 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml @@ -0,0 +1,723 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:47:26Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:47:26Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47: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: ['1194'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"af1307fd-2557-4b4d-a9e1-82ae14d93857\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"24ae3e0e-3629-4909-aed3-80a4f2472711\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8a545c77-7cca-41c6-b659-bd2093b9ac95?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:36 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8a545c77-7cca-41c6-b659-bd2093b9ac95?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"0b683091-bc7b-4496-a8a7-08f0c74e4698\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"24ae3e0e-3629-4909-aed3-80a4f2472711\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:41 GMT'] + etag: [W/"0b683091-bc7b-4496-a8a7-08f0c74e4698"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"72bbaaf8-ee1b-4a34-9ddb-5ebe90dab17d\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"72bbaaf8-ee1b-4a34-9ddb-5ebe90dab17d\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c64fe84e-b0b8-4f27-a9e5-ff9cb884d005?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c64fe84e-b0b8-4f27-a9e5-ff9cb884d005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:46 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"107889ed-9b42-4472-8d17-008d59a820fb\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"107889ed-9b42-4472-8d17-008d59a820fb\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:47 GMT'] + etag: [W/"107889ed-9b42-4472-8d17-008d59a820fb"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A47%3A52.2554961Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:47:52 GMT'] + etag: [W/"datetime'2019-02-18T15%3A47%3A52.2554961Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042","name":"f7428213-3e4f-4707-877c-4d282f1c1042","status":"Succeeded","startTime":"2019-02-18T15:47:52.1901766Z","endTime":"2019-02-18T15:47:52.5419713Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:48:24 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A47%3A52.5867296Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:48:25 GMT'] + etag: [W/"datetime'2019-02-18T15%3A47%3A52.5867296Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['135'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A48%3A29.4677001Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['583'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:48:29 GMT'] + etag: [W/"datetime'2019-02-18T15%3A48%3A29.4677001Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852","name":"8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852","status":"Succeeded","startTime":"2019-02-18T15:48:29.4093118Z","endTime":"2019-02-18T15:48:29.9093074Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:49:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A48%3A29.9550431Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4b5b9a8-98c9-911b-2d47-9974b6cfcff4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['691'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:49:02 GMT'] + etag: [W/"datetime'2019-02-18T15%3A48%3A29.9550431Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": + "Value1", "Tag2": "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['432'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A07.0861781Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['942'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:49:07 GMT'] + etag: [W/"datetime'2019-02-18T15%3A49%3A07.0861781Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713","name":"1f42b766-03ce-4758-b2aa-cd53d6767713","status":"Creating","startTime":"2019-02-18T15:49:07.0341147Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:49: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-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713","name":"1f42b766-03ce-4758-b2aa-cd53d6767713","status":"Succeeded","startTime":"2019-02-18T15:49:07.0341147Z","endTime":"2019-02-18T15:49:43.8249404Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:50:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A43.8600609Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_45e6d866","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"8138c16c-1474-a3f8-ee68-7dca7a9c6603","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1629'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:50:12 GMT'] + etag: [W/"datetime'2019-02-18T15%3A49%3A43.8600609Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume list] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A43.8600609Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_45e6d866","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"8138c16c-1474-a3f8-ee68-7dca7a9c6603","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1641'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:50:13 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:50:15 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b","name":"89843d02-586d-481f-8084-a4b992f9d10b","status":"Deleting","startTime":"2019-02-18T15:50:16.0903583Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:50:46 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b","name":"89843d02-586d-481f-8084-a4b992f9d10b","status":"Succeeded","startTime":"2019-02-18T15:50:16.0903583Z","endTime":"2019-02-18T15:51:02.8620689Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:51:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume list] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:51:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:51:23 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFRjVZR0w3TVdORVBBQU4zMlo0VUU3T1BCVUxSTUpJSFdJS3wxM0FFNjIwNTgyQ0Y4MDlBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml new file mode 100644 index 00000000000..56ba368a37a --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml @@ -0,0 +1,639 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-19T08:29:43Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-19T08:29:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:29: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: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"89c08c52-1daa-450c-896b-c966230df2d1\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"1123a4ba-3076-4b6b-a547-52a65fff7195\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9b468ab9-72d2-462c-810e-7eb0487105f6?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:29:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9b468ab9-72d2-462c-810e-7eb0487105f6?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:29:57 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"5fa15896-faa8-4530-b3b3-c68e7bcc4da8\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1123a4ba-3076-4b6b-a547-52a65fff7195\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:29:58 GMT'] + etag: [W/"5fa15896-faa8-4530-b3b3-c68e7bcc4da8"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"b0f20c7f-5994-437f-96a4-9041efe148b2\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"b0f20c7f-5994-437f-96a4-9041efe148b2\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9a168aeb-8617-4ec4-9227-60441c94de3c?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:29:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9a168aeb-8617-4ec4-9227-60441c94de3c?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:30:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:30:04 GMT'] + etag: [W/"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-19T08%3A30%3A08.6135132Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:30:08 GMT'] + etag: [W/"datetime'2019-02-19T08%3A30%3A08.6135132Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6","name":"fe7ec669-bbe3-4f44-9f36-e2147c0467c6","status":"Succeeded","startTime":"2019-02-19T08:30:08.5485732Z","endTime":"2019-02-19T08:30:08.8454441Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:30:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-19T08%3A30%3A08.8947128Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:30:41 GMT'] + etag: [W/"datetime'2019-02-19T08%3A30%3A08.8947128Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-19T08%3A30%3A46.165125Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['541'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:30:46 GMT'] + etag: [W/"datetime'2019-02-19T08%3A30%3A46.165125Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8","name":"d509f9e9-f87b-4bf7-9865-1f9e8e4404e8","status":"Succeeded","startTime":"2019-02-19T08:30:46.1034981Z","endTime":"2019-02-19T08:30:46.603486Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['614'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:31:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-19T08%3A30%3A46.6604737Z''\"","location":"westus2","properties":{"poolId":"5ed8a69b-dd0a-7913-f238-fa910a2be9dc","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:31:19 GMT'] + etag: [W/"datetime'2019-02-19T08%3A30%3A46.6604737Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['386'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-19T08%3A31%3A24.7464648Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['901'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:31:25 GMT'] + etag: [W/"datetime'2019-02-19T08%3A31%3A24.7464648Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33","name":"3fda954f-2fb1-4c2e-85d1-a2060160cd33","status":"Creating","startTime":"2019-02-19T08:31:24.7008338Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:31:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33","name":"3fda954f-2fb1-4c2e-85d1-a2060160cd33","status":"Succeeded","startTime":"2019-02-19T08:31:24.7008338Z","endTime":"2019-02-19T08:31:58.4399054Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:32:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-19T08%3A31%3A58.4673619Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_734f79e9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e11875aa-2e99-b243-6921-b175118c8148","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1588'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:32:29 GMT'] + etag: [W/"datetime'2019-02-19T08%3A31%3A58.4673619Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"fileSystemId": "25994a73-19fd-81ff-402b-8b53efaed088"}, + "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot create] + Connection: [keep-alive] + Content-Length: ['95'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -v -s -l --file-system-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/19/2019 + 8:32:36 AM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"edcf9a2f-e443-cd28-80af-d0fbe6f376d6","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","name":"cli-sn-000005","created":"2019-02-19T08:32:34Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['778'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:32:37 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot list] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"edcf9a2f-e443-cd28-80af-d0fbe6f376d6","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","name":"cli-sn-000005","created":"2019-02-19T08:32:34Z"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['760'] + content-type: [application/json; charset=utf-8] + date: ['Tue, 19 Feb 2019 08:32: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-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Tue, 19 Feb 2019 08:32:43 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaTlY0TkxFTk9VNFRSNldWN0ZVQU9VUERYRktXTkwyRk5LQXxBMDM0MEVBQjA1MzcyNDExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml new file mode 100644 index 00000000000..47c1c8d54e6 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml @@ -0,0 +1,177 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:40:39Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:40:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:40:41 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A45.8036481Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:40:46 GMT'] + etag: [W/"datetime'2019-02-18T10%3A40%3A45.8036481Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a","name":"396fdb1b-c90c-4fcc-99e6-0af08e3cc15a","status":"Succeeded","startTime":"2019-02-18T10:40:45.7509094Z","endTime":"2019-02-18T10:40:46.0321063Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:41:16 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A46.0858506Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:41:17 GMT'] + etag: [W/"datetime'2019-02-18T10%3A40%3A46.0858506Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account show] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A46.0858506Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:41:19 GMT'] + etag: [W/"datetime'2019-02-18T10%3A40%3A46.0858506Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:41:24 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdUTFozQ0ZOWFMyTVhRWFNUTEpDM0VSR0ZFUFdSN0dDN09ZTXw3NDI3OEU0Q0M3RjQ0MjI5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml new file mode 100644 index 00000000000..42450aad0d1 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml @@ -0,0 +1,267 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:24:52Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:24:52Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:25:04 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: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A25%3A01.3556436Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:08 GMT'] + etag: [W/"datetime'2019-02-18T11%3A25%3A01.3556436Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296","name":"d5d1096d-7540-49c6-ab1e-094751ccd296","status":"Succeeded","startTime":"2019-02-18T11:25:01.2864478Z","endTime":"2019-02-18T11:25:01.5994236Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:25:33 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A25%3A01.6438767Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:25:35 GMT'] + etag: [W/"datetime'2019-02-18T11%3A25%3A01.6438767Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.0455796Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['542'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:25:40 GMT'] + etag: [W/"datetime'2019-02-18T11%3A25%3A40.0455796Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d","name":"2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d","status":"Succeeded","startTime":"2019-02-18T11:25:40.0034171Z","endTime":"2019-02-18T11:25:40.4878156Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:11 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.5389705Z''\"","location":"westus2","properties":{"poolId":"31afd67a-ef79-ac1f-f279-94a62b8ba6cb","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:13 GMT'] + etag: [W/"datetime'2019-02-18T11%3A25%3A40.5389705Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool show] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.5389705Z''\"","location":"westus2","properties":{"poolId":"31afd67a-ef79-ac1f-f279-94a62b8ba6cb","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:16 GMT'] + etag: [W/"datetime'2019-02-18T11%3A25%3A40.5389705Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:26:21 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdKSVNLSVhIS1RaMjZJSE9XRDRZWjZBVVo2SlkyR1JUVERNWnxCMkRENjRBMEE1RkVCQzc4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml new file mode 100644 index 00000000000..9d3009bbfa3 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml @@ -0,0 +1,639 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T17:32:49Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T17:32:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:52 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'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"19b6d69c-90a7-4714-9c6d-a2d66dfc0823\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"af700cd8-d367-4fef-bb91-f4d9fdce74da\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/575af672-2846-457d-8a4c-21c22e8b4bc2?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:57 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/575af672-2846-457d-8a4c-21c22e8b4bc2?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"ddc2ef48-a3af-4c47-9ef0-0aa197b3b433\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"af700cd8-d367-4fef-bb91-f4d9fdce74da\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:02 GMT'] + etag: [W/"ddc2ef48-a3af-4c47-9ef0-0aa197b3b433"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"6102b6fd-7198-4d2f-bda5-a3e411c2ece9\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6102b6fd-7198-4d2f-bda5-a3e411c2ece9\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0cfb9bb8-ce31-42f7-b832-586b25b0b61f?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:04 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0cfb9bb8-ce31-42f7-b832-586b25b0b61f?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:09 GMT'] + etag: [W/"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A33%3A13.1064602Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:13 GMT'] + etag: [W/"datetime'2019-02-18T17%3A33%3A13.1064602Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d","name":"17cbec5c-3523-4daf-a527-65c049dbec5d","status":"Succeeded","startTime":"2019-02-18T17:33:13.0447208Z","endTime":"2019-02-18T17:33:13.3412628Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:44 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A33%3A13.3846556Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:45 GMT'] + etag: [W/"datetime'2019-02-18T17%3A33%3A13.3846556Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A33%3A50.201569Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['541'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:33:50 GMT'] + etag: [W/"datetime'2019-02-18T17%3A33%3A50.201569Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07","name":"cd927736-223c-453b-bea5-715db2b26b07","status":"Succeeded","startTime":"2019-02-18T17:33:50.150608Z","endTime":"2019-02-18T17:33:50.675525Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['613'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:34:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A33%3A50.7269388Z''\"","location":"westus2","properties":{"poolId":"2f7aa7fa-5f39-d274-9bcb-95fe91a3d003","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:34:23 GMT'] + etag: [W/"datetime'2019-02-18T17%3A33%3A50.7269388Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['386'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A34%3A27.6919569Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['901'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:34:27 GMT'] + etag: [W/"datetime'2019-02-18T17%3A34%3A27.6919569Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7","name":"4e8f08c0-0294-40b5-a200-ec08a702daf7","status":"Creating","startTime":"2019-02-18T17:34:27.6061544Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:34:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7","name":"4e8f08c0-0294-40b5-a200-ec08a702daf7","status":"Succeeded","startTime":"2019-02-18T17:34:27.6061544Z","endTime":"2019-02-18T17:35:02.4238916Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:35:31 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A35%3A02.4564493Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_c9efd4d2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7b3deca9-5443-3d7f-bcea-795dce74edd1","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1588'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:35:32 GMT'] + etag: [W/"datetime'2019-02-18T17%3A35%3A02.4564493Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"fileSystemId": "115efbfb-e873-33b9-b919-834c6512727a"}, + "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot create] + Connection: [keep-alive] + Content-Length: ['95'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -v -s -l --file-system-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 + 5:35:39 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"c77111e4-e39f-2b5d-fa3f-b63d0fdcb1fb","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","name":"cli-sn-000005","created":"2019-02-18T17:35:37Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['778'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:35:40 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot show] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v -s] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"c77111e4-e39f-2b5d-fa3f-b63d0fdcb1fb","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","name":"cli-sn-000005","created":"2019-02-18T17:35:37Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['748'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:35:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 17:35:58 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZWktNS1RLRkNOQkxPUjZNR0ZRNUhLU0pVUFUzSjVIVFA3MnxCOTcxMzlDODBCREFERTlGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml new file mode 100644 index 00000000000..d7715008187 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml @@ -0,0 +1,609 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:39:35Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:39:35Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39: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: ['1198'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"3150f528-b23a-4b13-be25-c6cf8b660573\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"e629c0ca-65c1-4cc9-bc28-16253d7ce317\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/dd844c70-bd44-449b-8b7e-67f902a1c92f?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/dd844c70-bd44-449b-8b7e-67f902a1c92f?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"3961b934-d630-429f-a592-56e690b16585\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"e629c0ca-65c1-4cc9-bc28-16253d7ce317\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:50 GMT'] + etag: [W/"3961b934-d630-429f-a592-56e690b16585"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"f12b03d9-92a4-47dc-ab9f-f44f48e81ee5\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"f12b03d9-92a4-47dc-ab9f-f44f48e81ee5\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/26892b1a-a8d6-470a-a2ac-6bb82bcd1b87?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/26892b1a-a8d6-470a-a2ac-6bb82bcd1b87?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:54 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"ed424d6e-7db0-4004-bfe2-d8a26588e4f0\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"ed424d6e-7db0-4004-bfe2-d8a26588e4f0\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:55 GMT'] + etag: [W/"ed424d6e-7db0-4004-bfe2-d8a26588e4f0"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A40%3A11.9736427Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:40:12 GMT'] + etag: [W/"datetime'2019-02-18T15%3A40%3A11.9736427Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed","name":"bb8d5b96-8370-4d49-a84d-505f588289ed","status":"Succeeded","startTime":"2019-02-18T15:40:11.9254495Z","endTime":"2019-02-18T15:40:12.206722Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:40:44 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A40%3A12.2538407Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:40:44 GMT'] + etag: [W/"datetime'2019-02-18T15%3A40%3A12.2538407Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag2": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['117'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A40%3A49.3311114Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['567'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:40:50 GMT'] + etag: [W/"datetime'2019-02-18T15%3A40%3A49.3311114Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722","name":"fac3401c-5c59-43d7-af62-c7b477390722","status":"Succeeded","startTime":"2019-02-18T15:40:49.2819491Z","endTime":"2019-02-18T15:40:49.7331509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:41:20 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A40%3A49.8384715Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"569187f1-a303-8ecc-5255-fc1cb3d7570e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['675'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:41:22 GMT'] + etag: [W/"datetime'2019-02-18T15%3A40%3A49.8384715Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag2": + "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['414'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A26.2872965Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['926'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:41:26 GMT'] + etag: [W/"datetime'2019-02-18T15%3A41%3A26.2872965Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7","name":"c0419628-1a1e-4062-91fe-b2b74925fcf7","status":"Creating","startTime":"2019-02-18T15:41:26.237872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['636'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:41:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7","name":"c0419628-1a1e-4062-91fe-b2b74925fcf7","status":"Succeeded","startTime":"2019-02-18T15:41:26.237872Z","endTime":"2019-02-18T15:41:59.6095374Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['647'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:29 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A59.6389285Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a97f1600","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cc0e3244-f3d7-9163-4474-b4e916797411","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1613'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:31 GMT'] + etag: [W/"datetime'2019-02-18T15%3A41%3A59.6389285Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume show] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A59.6389285Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a97f1600","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cc0e3244-f3d7-9163-4474-b4e916797411","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1613'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:32 GMT'] + etag: [W/"datetime'2019-02-18T15%3A41%3A59.6389285Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:42:38 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdORFYyMk5SM1pYUVA2T1VTQjNTQUpJR1lFSFUzWEJDUDVGQ3w1RTY0MzAxNzI3QjI2ODJFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml new file mode 100644 index 00000000000..fa0f0b6c3a2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml @@ -0,0 +1,410 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:41:24Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:41:24Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:41:26 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: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['51'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.4848921Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['477'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:41:31 GMT'] + etag: [W/"datetime'2019-02-18T10%3A41%3A31.4848921Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899","name":"0c6cf5ea-072d-4b99-a326-62a8e86b0899","status":"Succeeded","startTime":"2019-02-18T10:41:31.4222551Z","endTime":"2019-02-18T10:41:31.6905701Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:42:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.7450789Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['478'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:42:05 GMT'] + etag: [W/"datetime'2019-02-18T10%3A41%3A31.7450789Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['51'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A07.8019672Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['477'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:42:08 GMT'] + etag: [W/"datetime'2019-02-18T10%3A42%3A07.8019672Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5","name":"cd760995-4feb-4ceb-b64c-a920d2e03ce5","status":"Succeeded","startTime":"2019-02-18T10:42:07.7393921Z","endTime":"2019-02-18T10:42:08.0050354Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:42:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A08.0631554Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['478'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:42:40 GMT'] + etag: [W/"datetime'2019-02-18T10%3A42%3A08.0631554Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account list] + Connection: [keep-alive] + ParameterSetName: [-g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A08.0631554Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.7450789Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['969'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:42:42 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:42:45 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6","name":"4fdce396-5a6e-4e1a-b63e-0f75958daff6","status":"Succeeded","startTime":"2019-02-18T10:42:45.8237546Z","endTime":"2019-02-18T10:42:45.901884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:43:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:43:44 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account delete] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a","name":"ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a","status":"Succeeded","startTime":"2019-02-18T10:43:23.1103364Z","endTime":"2019-02-18T10:43:23.1884346Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:03 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account list] + Connection: [keep-alive] + ParameterSetName: [-g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:44:19 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdCQUpRWlFKRElRT0EyN0hPTllRRkdJQTdKM09YNFZFNFVWTnxCQ0Y3OTBCRDBDQTlFQzNCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml new file mode 100644 index 00000000000..b869780a835 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -0,0 +1,607 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T14:41:08Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T14:41:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:13 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: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"11f7a30f-3f85-439b-b601-6407b888c0d0\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"7d0c1f8d-6a56-48eb-8ed2-3b50dfa2298f\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fbe496c0-df0a-40ca-9d27-114c08c41c5f?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:19 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fbe496c0-df0a-40ca-9d27-114c08c41c5f?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:24 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"5de769da-3f83-4687-b38e-35ffb2d3d28a\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"7d0c1f8d-6a56-48eb-8ed2-3b50dfa2298f\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:25 GMT'] + etag: [W/"5de769da-3f83-4687-b38e-35ffb2d3d28a"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"80563f52-70df-4b79-b894-bc9016bec243\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"80563f52-70df-4b79-b894-bc9016bec243\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ce2fe8ab-dc60-457d-8514-dad397ce7c55?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:26 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ce2fe8ab-dc60-457d-8514-dad397ce7c55?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:31 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"055bfb90-0898-4d04-a1fa-8156c139171b\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"055bfb90-0898-4d04-a1fa-8156c139171b\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:32 GMT'] + etag: [W/"055bfb90-0898-4d04-a1fa-8156c139171b"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T14%3A41%3A37.3054275Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:41:37 GMT'] + etag: [W/"datetime'2019-02-18T14%3A41%3A37.3054275Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5","name":"6552987f-a7a2-4d89-bba9-4135b33881f5","status":"Succeeded","startTime":"2019-02-18T14:41:37.2407999Z","endTime":"2019-02-18T14:41:37.5376351Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:42:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T14%3A41%3A37.584624Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:42:10 GMT'] + etag: [W/"datetime'2019-02-18T14%3A41%3A37.584624Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T14%3A42%3A15.6784362Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['542'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:42:15 GMT'] + etag: [W/"datetime'2019-02-18T14%3A42%3A15.6784362Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce","name":"10760561-e202-48a5-89e8-f62de0fb1fce","status":"Succeeded","startTime":"2019-02-18T14:42:15.609804Z","endTime":"2019-02-18T14:42:16.2034985Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['614'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:42:48 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T14%3A42%3A16.257844Z''\"","location":"westus2","properties":{"poolId":"cb504960-eaf5-066c-eff3-218473557b97","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['649'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:42:48 GMT'] + etag: [W/"datetime'2019-02-18T14%3A42%3A16.257844Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['386'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T14%3A42%3A53.667174Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['900'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:42:53 GMT'] + etag: [W/"datetime'2019-02-18T14%3A42%3A53.667174Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3","name":"04b5bd80-250e-4853-8af1-bf1c76623ab3","status":"Creating","startTime":"2019-02-18T14:42:53.6109052Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:43:26 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3","name":"04b5bd80-250e-4853-8af1-bf1c76623ab3","status":"Succeeded","startTime":"2019-02-18T14:42:53.6109052Z","endTime":"2019-02-18T14:43:33.5920087Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:43:57 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T14%3A43%3A33.6202949Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_25072f96","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"74fda063-3be6-a4a9-b473-4835dfb25e49","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1588'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:43:59 GMT'] + etag: [W/"datetime'2019-02-18T14%3A43%3A33.6202949Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf mount-target list] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/74fda063-3be6-a4a9-b473-4835dfb25e49","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/74fda063-3be6-a4a9-b473-4835dfb25e49","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"74fda063-3be6-a4a9-b473-4835dfb25e49","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['836'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 14:44:02 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 14:44:05 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdPNjdNQUk0WFE0U0hORVpSSFVEWTJIV1JHQVFVRlpKMlNMRHw2RERGQTFEQTUyNDA4MERCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml new file mode 100644 index 00000000000..8121e9f5e36 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml @@ -0,0 +1,501 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:26:20Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:26:20Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:23 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: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A26%3A27.7120965Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:27 GMT'] + etag: [W/"datetime'2019-02-18T11%3A26%3A27.7120965Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b","name":"6ef10aec-a549-42eb-96be-8a4eab10b54b","status":"Succeeded","startTime":"2019-02-18T11:26:27.6410207Z","endTime":"2019-02-18T11:26:27.937925Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:26:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A26%3A27.9953171Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:27:00 GMT'] + etag: [W/"datetime'2019-02-18T11%3A26%3A27.9953171Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['117'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A04.9610324Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['567'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:27:04 GMT'] + etag: [W/"datetime'2019-02-18T11%3A27%3A04.9610324Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd","name":"6d293560-1290-47ad-b80e-1a31ac5b4bcd","status":"Succeeded","startTime":"2019-02-18T11:27:04.9120218Z","endTime":"2019-02-18T11:27:05.3027011Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:27:36 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A05.353336Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2101cb89-bf29-4346-8741-e171d85256df","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['674'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:27:37 GMT'] + etag: [W/"datetime'2019-02-18T11%3A27%3A05.353336Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['117'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.3770448Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['567'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:27:41 GMT'] + etag: [W/"datetime'2019-02-18T11%3A27%3A41.3770448Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373","name":"5890a804-a81d-498c-8647-6c64eee04373","status":"Succeeded","startTime":"2019-02-18T11:27:41.3287534Z","endTime":"2019-02-18T11:27:41.7095827Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:28:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.7603385Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"68f98fd0-6e7d-64ab-ea46-9ec2e221896e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['675'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:28:13 GMT'] + etag: [W/"datetime'2019-02-18T11%3A27%3A41.7603385Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool list] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A05.353336Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2101cb89-bf29-4346-8741-e171d85256df","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.7603385Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"68f98fd0-6e7d-64ab-ea46-9ec2e221896e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1362'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:28:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:28:17 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe","name":"0f5cdcae-6f84-4458-8d8c-6bc56ad735fe","status":"Succeeded","startTime":"2019-02-18T11:28:18.1365561Z","endTime":"2019-02-18T11:28:21.3715564Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:28:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:28:51 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool delete] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5","name":"64c2a9d1-15a7-4e75-a936-26bf0483b4e5","status":"Succeeded","startTime":"2019-02-18T11:28:51.8530756Z","endTime":"2019-02-18T11:28:55.0210196Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:29:23 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool list] + Connection: [keep-alive] + ParameterSetName: [-g -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:29:25 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:29:31 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaSDMzUkdMVU1URERPVU9MQkhaWURQWUU2UTZKUUVJR0ZNVXw4QjEyNUI2MUUyNDFBNTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml new file mode 100644 index 00000000000..17ba5c9feb5 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml @@ -0,0 +1,698 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T17:29:08Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T17:29:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"9d57e938-0f2e-4a36-a3b1-32d7ac8517cf\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"e3264f1a-1039-4ba8-bd2c-e78b2f5c1b18\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/968ec839-0aa1-41af-9724-2a42a6f61bea?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:16 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/968ec839-0aa1-41af-9724-2a42a6f61bea?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:21 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"c3915ec7-1953-42a0-b9b9-5e4302a35bfa\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"e3264f1a-1039-4ba8-bd2c-e78b2f5c1b18\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:21 GMT'] + etag: [W/"c3915ec7-1953-42a0-b9b9-5e4302a35bfa"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"2f9e120f-26b7-4823-bd9a-5eacd26e2c32\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"2f9e120f-26b7-4823-bd9a-5eacd26e2c32\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:22 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"InProgress\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['30'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:39 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"30ef5a50-5dd1-4876-8495-5a66ed863933\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"30ef5a50-5dd1-4876-8495-5a66ed863933\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:39 GMT'] + etag: [W/"30ef5a50-5dd1-4876-8495-5a66ed863933"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A29%3A44.0222612Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:29:44 GMT'] + etag: [W/"datetime'2019-02-18T17%3A29%3A44.0222612Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34","name":"8ee512b1-e332-49e0-baf7-41a975a4bf34","status":"Succeeded","startTime":"2019-02-18T17:29:43.9679791Z","endTime":"2019-02-18T17:29:44.245767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['575'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:30:16 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A29%3A44.2914502Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:30:16 GMT'] + etag: [W/"datetime'2019-02-18T17%3A29%3A44.2914502Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A30%3A21.1313798Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['542'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:30:21 GMT'] + etag: [W/"datetime'2019-02-18T17%3A30%3A21.1313798Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378","name":"8b24eabb-58a7-4bdf-a5f9-db21a8596378","status":"Succeeded","startTime":"2019-02-18T17:30:21.0901729Z","endTime":"2019-02-18T17:30:23.8291697Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:30:52 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A30%3A23.8793144Z''\"","location":"westus2","properties":{"poolId":"7018f347-46eb-4be4-9920-4ce74b0921dc","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:30:54 GMT'] + etag: [W/"datetime'2019-02-18T17%3A30%3A23.8793144Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['386'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A30%3A58.5066863Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['901'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:30:58 GMT'] + etag: [W/"datetime'2019-02-18T17%3A30%3A58.5066863Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","name":"f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","status":"Creating","startTime":"2019-02-18T17:30:58.4559144Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:31:30 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","name":"f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","status":"Succeeded","startTime":"2019-02-18T17:30:58.4559144Z","endTime":"2019-02-18T17:31:34.2869362Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A31%3A34.3229318Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a827ded3","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a972ea79-fdc6-0403-4bad-8f9b955db841","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1588'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:02 GMT'] + etag: [W/"datetime'2019-02-18T17%3A31%3A34.3229318Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"fileSystemId": "f614d1df-17c7-07a3-0314-70d80741f75e"}, + "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot create] + Connection: [keep-alive] + Content-Length: ['95'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -v -s -l --file-system-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 + 5:32:10 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"50e47773-f352-428c-0e2d-a09a4be97cf6","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000005","created":"2019-02-18T17:32:07Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['778'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:10 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"properties": {"fileSystemId": "f614d1df-17c7-07a3-0314-70d80741f75e"}, + "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot create] + Connection: [keep-alive] + Content-Length: ['95'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -v -s -l --file-system-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 + 5:32:17 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"8bdf53ca-d495-9a0a-f306-7bfc1c0c18c2","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000006","created":"2019-02-18T17:32:14Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['778'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:17 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot list] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"50e47773-f352-428c-0e2d-a09a4be97cf6","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000005","created":"2019-02-18T17:32:07Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"8bdf53ca-d495-9a0a-f306-7bfc1c0c18c2","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000006","created":"2019-02-18T17:32:14Z"}}]}'} + headers: + cache-control: [no-cache] + content-length: ['1509'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 17:32:18 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 17:32:23 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaV0dNWVpPVEpYRFhBMjZaTFpGR0lLSTdTNUJVS0w2SDRMNHw1Q0FEOTdCRkI4MDk4NEQyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml new file mode 100644 index 00000000000..2f8c42f648c --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml @@ -0,0 +1,876 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:33:39Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:33:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:33:44 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'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"b2448de7-5479-443f-8674-de1d6139589c\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"dcd7d47a-5923-48cd-b29b-a98385b297b3\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6ad01bd2-d088-44de-ad8a-28e897997b1a?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:33:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6ad01bd2-d088-44de-ad8a-28e897997b1a?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:33:53 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"9259f3fb-351a-4d23-be76-2629e32ead06\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"dcd7d47a-5923-48cd-b29b-a98385b297b3\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:33:54 GMT'] + etag: [W/"9259f3fb-351a-4d23-be76-2629e32ead06"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"0f5d0dc2-3fac-45f9-9527-fa070ccdec6c\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"0f5d0dc2-3fac-45f9-9527-fa070ccdec6c\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cf69824b-7d8a-4d1c-954b-169d62898b1b?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:33:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cf69824b-7d8a-4d1c-954b-169d62898b1b?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:33:59 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"534e2dae-9306-46cf-bc13-f28258570d1a\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"534e2dae-9306-46cf-bc13-f28258570d1a\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:34:00 GMT'] + etag: [W/"534e2dae-9306-46cf-bc13-f28258570d1a"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A34%3A05.7629172Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:34:05 GMT'] + etag: [W/"datetime'2019-02-18T15%3A34%3A05.7629172Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437","name":"252fe15a-f3a6-48e9-8cb6-386461d46437","status":"Succeeded","startTime":"2019-02-18T15:34:05.6653387Z","endTime":"2019-02-18T15:34:05.9926004Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:34:37 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A34%3A06.046117Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:34:38 GMT'] + etag: [W/"datetime'2019-02-18T15%3A34%3A06.046117Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['117'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A34%3A41.9403806Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['567'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:34:42 GMT'] + etag: [W/"datetime'2019-02-18T15%3A34%3A41.9403806Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62","name":"abcadb9d-42ca-46da-bc8e-47dcf7b9eb62","status":"Succeeded","startTime":"2019-02-18T15:34:41.8790307Z","endTime":"2019-02-18T15:34:42.3946184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:35:14 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A34%3A42.4407332Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"6036020d-e40f-f83d-187c-b6778ac38be5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['675'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:35:15 GMT'] + etag: [W/"datetime'2019-02-18T15%3A34%3A42.4407332Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": + "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['414'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A35%3A20.2293301Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['926'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:35:20 GMT'] + etag: [W/"datetime'2019-02-18T15%3A35%3A20.2293301Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844","name":"3ba95aae-8379-442d-b169-e495c9672844","status":"Creating","startTime":"2019-02-18T15:35:20.1693117Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:35:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844","name":"3ba95aae-8379-442d-b169-e495c9672844","status":"Succeeded","startTime":"2019-02-18T15:35:20.1693117Z","endTime":"2019-02-18T15:36:04.1439095Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:36:26 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A04.1822662Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a095199c-aaa6-c16e-ee58-d978cd228698","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1613'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:36:25 GMT'] + etag: [W/"datetime'2019-02-18T15%3A36%3A04.1822662Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000005"}, "tags": {"Tag1": + "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['414'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token + --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A35.8645661Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000005","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['926'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:36:38 GMT'] + etag: [W/"datetime'2019-02-18T15%3A36%3A35.8645661Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token + --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef","name":"35ace153-2ecc-45d4-8f3c-721c6ab162ef","status":"Succeeded","startTime":"2019-02-18T15:36:35.7894408Z","endTime":"2019-02-18T15:36:47.9585902Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:38:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token + --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A47.9881109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7b64453-df3f-0152-d323-d33055e23d10","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","startIp":"10.4.0.128","endIp":"10.4.0.191","gateway":"10.4.0.129","netmask":"255.255.255.192","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1621'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:37:46 GMT'] + etag: [W/"datetime'2019-02-18T15%3A36%3A47.9881109Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume list] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A04.1822662Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a095199c-aaa6-c16e-ee58-d978cd228698","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A47.9881109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7b64453-df3f-0152-d323-d33055e23d10","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","startIp":"10.4.0.128","endIp":"10.4.0.191","gateway":"10.4.0.129","netmask":"255.255.255.192","ipAddress":"10.0.0.4"}]}}]}'} + headers: + cache-control: [no-cache] + content-length: ['3247'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:37:15 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:37:27 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574","name":"c7a87853-85fd-49d1-a157-ab62fe51a574","status":"Succeeded","startTime":"2019-02-18T15:37:19.8128409Z","endTime":"2019-02-18T15:37:23.6129913Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:38:00 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:38:07 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15&operationResultResponseType=Location'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-powered-by: [ASP.NET] + status: {code: 202, message: Accepted} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e","name":"0b36e886-8ee4-449b-94fe-fc885b2a410e","status":"Deleting","startTime":"2019-02-18T15:37:56.3799961Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:38:27 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e","name":"0b36e886-8ee4-449b-94fe-fc885b2a410e","status":"Succeeded","startTime":"2019-02-18T15:37:56.3799961Z","endTime":"2019-02-18T15:38:49.33467Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + headers: + cache-control: [no-cache] + content-length: ['646'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:38:58 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume list] + Connection: [keep-alive] + ParameterSetName: [-g -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:39:01 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group delete] + Connection: [keep-alive] + Content-Length: ['0'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:39:04 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMRU9BVkc3SVc0N0tJTFBDTzJTSU1OWDJVUE5KWVBENTdJUnwwQjdEMkIxRTg5RDY4QzIyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml new file mode 100644 index 00000000000..9c1d4633373 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml @@ -0,0 +1,210 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:44:14Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:44:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:16 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: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.2418159Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:21 GMT'] + etag: [W/"datetime'2019-02-18T10%3A44%3A21.2418159Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22","name":"59a2d23a-1820-4e6f-8319-b07f36843d22","status":"Succeeded","startTime":"2019-02-18T10:44:21.1971999Z","endTime":"2019-02-18T10:44:21.4784512Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:52 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.5310226Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:55 GMT'] + etag: [W/"datetime'2019-02-18T10%3A44%3A21.5310226Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account update] + Connection: [keep-alive] + ParameterSetName: [-g -a --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.5310226Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:44:57 GMT'] + etag: [W/"datetime'2019-02-18T10%3A44%3A21.5310226Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account update] + Connection: [keep-alive] + Content-Length: ['28'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A45%3A00.0196504Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['478'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 10:45:01 GMT'] + etag: [W/"datetime'2019-02-18T10%3A45%3A00.0196504Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + 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'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 10:45:04 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdSVkg2U1RDNEJENzZZM1NaNkYzSVBFSk5SQjJFMkZFTlI1NnxCQkUzNDRGMTgwM0NCMjQ2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml new file mode 100644 index 00000000000..175ef2d6276 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml @@ -0,0 +1,301 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:29:31Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:29:31Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:29:34 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'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A29%3A38.4205814Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:29:38 GMT'] + etag: [W/"datetime'2019-02-18T11%3A29%3A38.4205814Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e","name":"41faacdb-a4f1-4868-81e7-3ba68614720e","status":"Succeeded","startTime":"2019-02-18T11:29:38.3591045Z","endTime":"2019-02-18T11:29:38.6359077Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:09 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A29%3A38.6997903Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:11 GMT'] + etag: [W/"datetime'2019-02-18T11%3A29%3A38.6997903Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.4402725Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['542'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:15 GMT'] + etag: [W/"datetime'2019-02-18T11%3A30%3A15.4402725Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89","name":"a73a5a09-b753-45ea-861d-5fd8f8c7ef89","status":"Succeeded","startTime":"2019-02-18T11:30:15.3829537Z","endTime":"2019-02-18T11:30:15.8715498Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:47 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.9386418Z''\"","location":"westus2","properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:53 GMT'] + etag: [W/"datetime'2019-02-18T11%3A30%3A15.9386418Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool update] + Connection: [keep-alive] + ParameterSetName: [-g -a -p --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.9386418Z''\"","location":"westus2","properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:55 GMT'] + etag: [W/"datetime'2019-02-18T11%3A30%3A15.9386418Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"serviceLevel": "Standard", "size": 4398046511104}, + "location": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool update] + Connection: [keep-alive] + Content-Length: ['118'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A58.319083Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['675'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 11:30:58 GMT'] + etag: [W/"datetime'2019-02-18T11%3A30%3A58.319083Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + 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'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 11:31:03 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHNlc2UzJNVFdCS1lHQVJRWUhFR0wyV05KRkhJVjM3STNRMnw0QjYxOEI4OEJGOEY4Q0ExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml new file mode 100644 index 00000000000..dfcc62b98e5 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml @@ -0,0 +1,642 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:42:37Z", + "product": "azurecli", "cause": "automation"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [group create] + Connection: [keep-alive] + Content-Length: ['110'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--location --name --tag] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:42:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42: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: ['1197'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + Content-Length: ['124'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"8a4c31ee-c1dc-4dcc-9631-44763fee1f42\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"c9e380d6-1367-4b1d-af04-a3cdc068a4cf\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/65706dd7-346b-436a-a35a-a08b72d054da?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['805'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/65706dd7-346b-436a-a35a-a08b72d054da?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:49 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet create] + Connection: [keep-alive] + ParameterSetName: [-n -g -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"6f885da8-047e-4b9e-acd6-53e4b39dcb8f\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"c9e380d6-1367-4b1d-af04-a3cdc068a4cf\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['806'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:49 GMT'] + etag: [W/"6f885da8-047e-4b9e-acd6-53e4b39dcb8f"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", + "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + Content-Length: ['158'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"fb36d173-1f55-40b7-ba35-ea15691fa362\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"fb36d173-1f55-40b7-ba35-ea15691fa362\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6e888cb7-7cd7-4ace-8e69-5650f9785e4f?api-version=2018-10-01'] + cache-control: [no-cache] + content-length: ['1274'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:51 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6e888cb7-7cd7-4ace-8e69-5650f9785e4f?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['29'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:55 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [network vnet subnet create] + Connection: [keep-alive] + ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + response: + body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ + /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ + ,\r\n \"etag\": \"W/\\\"0beb6905-473b-48c4-bc0c-8db03a2b16a5\\\"\",\r\n \ + \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ + addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"0beb6905-473b-48c4-bc0c-8db03a2b16a5\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ + \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ + ,\r\n \"Microsoft.Network/virtualNetworks/subnets/join/action\"\ + \r\n ]\r\n },\r\n \"type\": \"Microsoft.Network/virtualNetworks/subnets/delegations\"\ + \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ + \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} + headers: + cache-control: [no-cache] + content-length: ['1275'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:42:55 GMT'] + etag: [W/"0beb6905-473b-48c4-bc0c-8db03a2b16a5"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + Content-Length: ['23'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A43%3A00.0177097Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:43:00 GMT'] + etag: [W/"datetime'2019-02-18T15%3A43%3A00.0177097Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03","name":"1c578b19-626b-4724-ad4f-2eb85d598b03","status":"Succeeded","startTime":"2019-02-18T15:42:59.9746211Z","endTime":"2019-02-18T15:43:00.2348247Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['576'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:43:31 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account create] + Connection: [keep-alive] + ParameterSetName: [-g -a -l] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A43%3A00.2828975Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:43:33 GMT'] + etag: [W/"datetime'2019-02-18T15%3A43%3A00.2828975Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"location": "westus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + Content-Length: ['89'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A43%3A36.6066329Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['542'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:43:36 GMT'] + etag: [W/"datetime'2019-02-18T15%3A43%3A36.6066329Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c","name":"13146883-9787-4299-9473-e3e91b75963c","status":"Succeeded","startTime":"2019-02-18T15:43:36.5595321Z","endTime":"2019-02-18T15:43:37.0595993Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + headers: + cache-control: [no-cache] + content-length: ['615'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:44:08 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool create] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -l --service-level --size] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A43%3A37.1219991Z''\"","location":"westus2","properties":{"poolId":"86ded845-a656-23cb-b92e-065a5ae18c68","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:44:09 GMT'] + etag: [W/"datetime'2019-02-18T15%3A43%3A37.1219991Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + Content-Length: ['386'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A14.3333645Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['901'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:44:14 GMT'] + etag: [W/"datetime'2019-02-18T15%3A44%3A14.3333645Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-powered-by: [ASP.NET] + status: {code: 201, message: Created} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731","name":"5cd5c9e0-6832-412c-a48f-566e33ef5731","status":"Creating","startTime":"2019-02-18T15:44:14.27482Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['635'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:44:45 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731","name":"5cd5c9e0-6832-412c-a48f-566e33ef5731","status":"Succeeded","startTime":"2019-02-18T15:44:14.27482Z","endTime":"2019-02-18T15:44:54.1048589Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['646'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:45:17 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A54.1345691Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1588'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:45:18 GMT'] + etag: [W/"datetime'2019-02-18T15%3A44%3A54.1345691Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume update] + Connection: [keep-alive] + ParameterSetName: [-g -a -p -v --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A54.1345691Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1588'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:45:19 GMT'] + etag: [W/"datetime'2019-02-18T15%3A44%3A54.1345691Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "serviceLevel": + "Standard"}, "tags": {"Tag1": "Value2"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume update] + Connection: [keep-alive] + Content-Length: ['104'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [-g -a -p -v --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A45%3A26.606576Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1613'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 18 Feb 2019 15:45:27 GMT'] + etag: [W/"datetime'2019-02-18T15%3A45%3A26.606576Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-powered-by: [ASP.NET] + 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'] + ParameterSetName: [--name --yes --no-wait] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 18 Feb 2019 15:45:32 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFUERHQjJRUTZMTlBFTkY2UTVBWU1PS0VMV1dNQVBXTlI3TnxBNDBFQUQzMzY5OEUzOEYyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py new file mode 100644 index 00000000000..0975882c108 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py @@ -0,0 +1,73 @@ +# -------------------------------------------------------------------------------------------- +# 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, ResourceGroupPreparer + +# No tidy up of tests required. The resource group is automatically removed + +class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): + @ResourceGroupPreparer() + def test_ext_create_delete_account(self): + account_name = self.create_random_name(prefix='cli', length=24) + tags = 'Tag1=Value1 Tag2=Value2' + + # create and check + account = self.cmd("az anf account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s'" % (account_name, tags)).get_output_in_json() + assert account['name'] == account_name + assert account['tags']['Tag1'] == 'Value1' + assert account['tags']['Tag2'] == 'Value2' + + account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() + assert len(account_list) > 0 + + # delete and recheck + self.cmd("az anf account delete --resource-group {rg} --account-name '%s'" % account_name) + account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() + assert len(account_list) == 0 + + # and again with short forms and also unquoted + account = self.cmd("az anf account create -g {rg} -a %s -l westus2 --tags '%s'" % (account_name, tags)).get_output_in_json() + assert account['name'] == account_name + account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + assert len(account_list) > 0 + + self.cmd("az anf account delete -g {rg} -a %s" % account_name) + account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + assert len(account_list) == 0 + + @ResourceGroupPreparer() + def test_ext_list_accounts_ext(self): + accounts = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] + + for account_name in accounts: + self.cmd("az anf account create -g {rg} -a %s -l 'westus2' --tags 'Tag1=Value1'" % account_name).get_output_in_json() + + account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + assert len(account_list) == 2 + + for account_name in accounts: + self.cmd("az anf account delete -g {rg} -a %s" % account_name) + + account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + assert len(account_list) == 0 + + @ResourceGroupPreparer() + def test_ext_get_account_by_name_ext(self): + account_name = self.create_random_name(prefix='cli', length=24) + account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() + account = self.cmd("az anf account show -g {rg} -a %s" % account_name).get_output_in_json() + assert account['name'] == account_name + + @ResourceGroupPreparer() + def test_ext_update_account_ext(self): + account_name = self.create_random_name(prefix='cli', length=24) + tag = "Tag1=Value1" + + account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() + account = self.cmd("az anf account update -g {rg} -a %s --tags %s" % (account_name, tag)).get_output_in_json() + assert account['name'] == account_name + assert account['tags']['Tag1'] == 'Value1' + + diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py new file mode 100644 index 00000000000..c54fbbec3d8 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------------------------- +# 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, ResourceGroupPreparer + +POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" +VOLUME_DEFAULT="--service-level 'Premium' --usage-threshold 107374182400" + +# No tidy up of tests required. The resource group is automatically removed + +class AzureNetAppFilesExtMountTargetServiceScenarioTest(ScenarioTest): + def setup_vnet(self, rg, vnet_name): + self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) + self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + + def current_subscription(self): + subs = self.cmd("az account show").get_output_in_json() + return subs['id'] + + def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): + vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) + creation_token = volume_name1 + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + tag = "--tags '%s'" % tags if tags != None else "" + + self.setup_vnet('{rg}', vnet_name) + account = self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + pool = self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() + + return volume1 + + @ResourceGroupPreparer() + def test_ext_list_mount_targets(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') + + volume_list = self.cmd("anf mount-target list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + assert len(volume_list) == 1 + + diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py new file mode 100644 index 00000000000..376122b8bea --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py @@ -0,0 +1,85 @@ +# -------------------------------------------------------------------------------------------- +# 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, ResourceGroupPreparer + +POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" + +# No tidy up of tests required. The resource group is automatically removed + +class AzureNetAppFilesExtPoolServiceScenarioTest(ScenarioTest): + @ResourceGroupPreparer() + def test_ext_create_delete_pool(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + tags = "Tag1=Value1 Tag2=Value2" + + account = self.cmd("az anf account create --resource-group {rg} --account-name '%s' -l 'westus2'" % account_name).get_output_in_json() + pool = self.cmd("az anf pool create --resource-group {rg} --account-name %s --pool-name %s -l 'westus2' %s --tags '%s'" % (account_name, pool_name, POOL_DEFAULT, tags)).get_output_in_json() + assert pool['name'] == account_name + '/' + pool_name + assert pool['tags']['Tag1'] == 'Value1' + assert pool['tags']['Tag2'] == 'Value2' + + pool_list = self.cmd("anf pool list --resource-group {rg} --account-name %s" % account_name).get_output_in_json() + assert len(pool_list) == 1 + + self.cmd("az anf pool delete --resource-group {rg} --account-name '%s' --pool-name '%s'" % (account_name, pool_name)) + pool_list = self.cmd("anf pool list --resource-group {rg} --account-name %s" % account_name).get_output_in_json() + assert len(pool_list) == 0 + + # and again with short forms and also unquoted + pool = self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' --service-level 'Premium' --size 4398046511104 --tags '%s'" % (account_name, pool_name, tags)).get_output_in_json() + assert pool['name'] == account_name + '/' + pool_name + assert pool['tags']['Tag1'] == 'Value1' + assert pool['tags']['Tag2'] == 'Value2' + + self.cmd("az anf pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) + pool_list = self.cmd("anf pool list -g {rg} -a %s" % account_name).get_output_in_json() + assert len(pool_list) == 0 + + @ResourceGroupPreparer() + def test_ext_list_pools(self): + account_name = self.create_random_name(prefix='cli', length=24) + pools = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] + self.cmd("az anf account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() + + for pool_name in pools: + self.cmd("az anf pool create -g {rg} -a '%s' -p '%s' -l 'westus2' %s --tags 'Tag1=Value1'" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() + + pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() + assert len(pool_list) == 2 + + for pool_name in pools: + self.cmd("az anf pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) + pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() + assert len(pool_list) == 0 + + @ResourceGroupPreparer() + def test_ext_get_pool_by_name(self): + account_name = self.create_random_name(prefix='cli', length=24) + pool_name = self.create_random_name(prefix='cli', length=24) + self.cmd("az anf account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() + self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() + + pool = self.cmd("az anf pool show -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() + assert pool['name'] == account_name + '/' + pool_name + + @ResourceGroupPreparer() + def test_ext_update_pool(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + tag = "Tag1=Value1" + + account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() + + pool = self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() + + assert pool['name'] == account_name + '/' + pool_name + pool = self.cmd("az anf pool update -g {rg} -a %s -p %s --tags %s --service-level 'Standard'" % (account_name, pool_name, tag)).get_output_in_json() + assert pool['name'] == account_name + '/' + pool_name + assert pool['serviceLevel'] == "Standard" + assert pool['tags']['Tag1'] == 'Value1' + + diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py new file mode 100644 index 00000000000..c499e56af63 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -0,0 +1,77 @@ +# -------------------------------------------------------------------------------------------- +# 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, ResourceGroupPreparer + +POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" +VOLUME_DEFAULT="--service-level 'Premium' --usage-threshold 107374182400" + +# No tidy up of tests required. The resource group is automatically removed + +class AzureNetAppFilesExtSnapshotServiceScenarioTest(ScenarioTest): + def setup_vnet(self, rg, vnet_name): + self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) + self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + + def current_subscription(self): + subs = self.cmd("az account show").get_output_in_json() + return subs['id'] + + def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): + vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) + creation_token = volume_name1 + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + tag = "--tags '%s'" % tags if tags != None else "" + + self.setup_vnet('{rg}', vnet_name) + account = self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + pool = self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() + + return volume1 + + @ResourceGroupPreparer() + def test_ext_create_snapshots(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + snapshot_name = self.create_random_name(prefix='cli-sn-', length=24) + rg = '{rg}' + + volume = self.create_volume(account_name, pool_name, volume_name, rg) + snapshot = self.cmd("az anf snapshot create -g %s -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (rg, account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() + assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name + + snapshot_list = self.cmd("az anf snapshot list --resource-group %s --account-name %s --pool-name %s --volume-name %s" % (rg, account_name, pool_name, volume_name)).get_output_in_json() + assert len(snapshot_list) == 1 + + + @ResourceGroupPreparer() + def test_ext_list_snapshots(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + snapshot_name1 = self.create_random_name(prefix='cli-sn-', length=24) + snapshot_name2 = self.create_random_name(prefix='cli-sn-', length=24) + volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') + snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() + snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() + + snapshot_list = self.cmd("az anf snapshot list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + assert len(snapshot_list) == 2 + + @ResourceGroupPreparer() + def test_ext_get_snapshot(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + snapshot_name = self.create_random_name(prefix='cli-sn-', length=24) + volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') + snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() + + snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() + assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name + + diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py new file mode 100644 index 00000000000..9818b84ffdc --- /dev/null +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -0,0 +1,102 @@ +# -------------------------------------------------------------------------------------------- +# 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, ResourceGroupPreparer + +POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" +VOLUME_DEFAULT="--service-level 'Premium' --usage-threshold 107374182400" + +# No tidy up of tests required. The resource group is automatically removed + +class AzureNetAppFilesExtVolumeServiceScenarioTest(ScenarioTest): + def setup_vnet(self, rg, vnet_name): + self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) + self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + + def current_subscription(self): + subs = self.cmd("az account show").get_output_in_json() + return subs['id'] + + def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, volume_name2=None): + vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) + creation_token = volume_name1 + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + tag = "--tags '%s'" % tags if tags != None else "" + + self.setup_vnet('{rg}', vnet_name) + account = self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + pool = self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() + + if volume_name2: + creation_token = volume_name2 + volume2 = self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() + + return volume1 + + @ResourceGroupPreparer() + def test_ext_create_delete_volumes(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + tags = "Tag1=Value1 Tag2=Value2" + + volume = self.create_volume(account_name, pool_name, volume_name, '{rg}', tags) + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + assert volume['tags']['Tag1'] == 'Value1' + assert volume['tags']['Tag2'] == 'Value2' + + volume_list = self.cmd("anf volume list --resource-group {rg} --account-name %s --pool-name %s" % (account_name, pool_name)).get_output_in_json() + assert len(volume_list) == 1 + + self.cmd("az anf volume delete --resource-group {rg} --account-name %s --pool-name %s --volume-name %s" % (account_name, pool_name, volume_name)) + volume_list = self.cmd("anf volume list -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() + assert len(volume_list) == 0 + + @ResourceGroupPreparer() + def test_ext_list_volumes(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name1 = self.create_random_name(prefix='cli-vol-', length=24) + volume_name2 = self.create_random_name(prefix='cli-vol-', length=24) + tags = "Tag1=Value1" + volume = self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags, volume_name2) + + volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + assert len(volume_list) == 2 + + for volume_name in [volume_name1, volume_name2]: + self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)) + volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + assert len(volume_list) == 0 + + @ResourceGroupPreparer() + def test_ext_get_volume_by_name(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + tags = "Tag2=Value1" + + volume = self.create_volume(account_name, pool_name, volume_name, '{rg}', tags) + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + + volume = self.cmd("az anf volume show -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + assert volume['tags']['Tag2'] == 'Value1' + + @ResourceGroupPreparer() + def test_ext_update_volume(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + volume_name = self.create_random_name(prefix='cli-vol-', length=24) + tags = "Tag1=Value2" + + volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + + volume = self.cmd("az anf volume update -g {rg} -a %s -p %s -v %s --tags %s --service-level 'Standard'" % (account_name, pool_name, volume_name, tags)).get_output_in_json() + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + assert volume['serviceLevel'] == "Standard" + assert volume['tags']['Tag1'] == 'Value2' diff --git a/src/anf-preview/setup.cfg b/src/anf-preview/setup.cfg new file mode 100644 index 00000000000..3c6e79cf31d --- /dev/null +++ b/src/anf-preview/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/src/anf-preview/setup.py b/src/anf-preview/setup.py new file mode 100644 index 00000000000..bccbfb5314a --- /dev/null +++ b/src/anf-preview/setup.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python + +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from codecs import open +from setuptools import setup, find_packages + +VERSION = "0.0.1" + +CLASSIFIERS = [ + 'Development Status :: 4 - Beta', + 'Intended Audience :: Developers', + 'Intended Audience :: System Administrators', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', + 'License :: OSI Approved :: MIT License', +] + +DEPENDENCIES = [ + 'azure-mgmt-netapp==0.1.0', + 'azure-cli-core' +] + +with open('README.rst', 'r', encoding='utf-8') as f: + README = f.read() +with open('HISTORY.rst', 'r', encoding='utf-8') as f: + HISTORY = f.read() + +setup( + name='anf-preview', + version=VERSION, + description='Provides a preview for upcoming Azure NetApp Files (ANF) features.', + long_description='An Azure CLI Extension for Azure NetApp Files (ANF) preview features.', + license='MIT', + author='Microsoft Corporation', + author_email='azpycli@microsoft.com', + url='https://github.com/Azure/azure-cli-extensions/tree/master/src/anf-preview', + classifiers=CLASSIFIERS, + packages=find_packages(exclude=["tests"]), + install_requires=DEPENDENCIES +) From 51733d19894eac4eadcad6f493d4a869ecc3cdd8 Mon Sep 17 00:00:00 2001 From: leonard Date: Tue, 19 Feb 2019 13:37:21 +0000 Subject: [PATCH 02/15] NFSAAS-1708 lint fixes --- src/anf-preview/azext_anf_preview/__init__.py | 2 +- .../azext_anf_preview/_client_factory.py | 7 ++++ .../azext_anf_preview/_exception_handler.py | 1 + src/anf-preview/azext_anf_preview/_help.py | 2 +- src/anf-preview/azext_anf_preview/_params.py | 1 + src/anf-preview/azext_anf_preview/custom.py | 10 +++++- .../tests/latest/test_account_commands_ext.py | 5 ++- .../latest/test_mount_target_commands_ext.py | 19 +++++------ .../tests/latest/test_pool_commands_ext.py | 19 +++++------ .../latest/test_snapshot_commands_ext.py | 32 +++++++++--------- .../tests/latest/test_volume_commands_ext.py | 33 ++++++++++--------- 11 files changed, 72 insertions(+), 59 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/__init__.py b/src/anf-preview/azext_anf_preview/__init__.py index 390d11444d1..110f2921d24 100644 --- a/src/anf-preview/azext_anf_preview/__init__.py +++ b/src/anf-preview/azext_anf_preview/__init__.py @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- from azure.cli.core import AzCommandsLoader -from ._help import helps # pylint: disable=unused-import +from ._help import helps # pylint: disable=unused-import class NetAppExtensionCommandsLoader(AzCommandsLoader): diff --git a/src/anf-preview/azext_anf_preview/_client_factory.py b/src/anf-preview/azext_anf_preview/_client_factory.py index 16c410ed77b..d74f169b31c 100644 --- a/src/anf-preview/azext_anf_preview/_client_factory.py +++ b/src/anf-preview/azext_anf_preview/_client_factory.py @@ -4,22 +4,29 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=unused-argument + + def cf_netapp(cli_ctx, *kwargs): from azure.cli.core.commands.client_factory import get_mgmt_service_client from azure.mgmt.netapp import AzureNetAppFilesManagementClient return get_mgmt_service_client(cli_ctx, AzureNetAppFilesManagementClient) + def accounts_mgmt_client_factory(cli_ctx, _): return cf_netapp(cli_ctx).accounts + def pools_mgmt_client_factory(cli_ctx, _): return cf_netapp(cli_ctx).pools + def volumes_mgmt_client_factory(cli_ctx, _): return cf_netapp(cli_ctx).volumes + def mount_targets_mgmt_client_factory(cli_ctx, _): return cf_netapp(cli_ctx).mount_targets + def snapshots_mgmt_client_factory(cli_ctx, _): return cf_netapp(cli_ctx).snapshots diff --git a/src/anf-preview/azext_anf_preview/_exception_handler.py b/src/anf-preview/azext_anf_preview/_exception_handler.py index 98c5dc0c951..4388088c72e 100644 --- a/src/anf-preview/azext_anf_preview/_exception_handler.py +++ b/src/anf-preview/azext_anf_preview/_exception_handler.py @@ -5,6 +5,7 @@ from knack.util import CLIError + def netapp_exception_handler(ex): from azure.mgmt.netapp.models import ErrorException if isinstance(ex, ErrorException): diff --git a/src/anf-preview/azext_anf_preview/_help.py b/src/anf-preview/azext_anf_preview/_help.py index a8ca8e9fb25..2e9773be86a 100644 --- a/src/anf-preview/azext_anf_preview/_help.py +++ b/src/anf-preview/azext_anf_preview/_help.py @@ -432,4 +432,4 @@ - name: Return the specified ANF snapshot text: > az anf snapshot show -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname -""" \ No newline at end of file +""" diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index 319b90bde63..8d464ca423a 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -5,6 +5,7 @@ # pylint: disable=line-too-long + def load_arguments(self, _): with self.argument_context('anf') as c: c.argument('resource_group', options_list=['--resource-group', '-g'], required=True, help='The name of the resource group') diff --git a/src/anf-preview/azext_anf_preview/custom.py b/src/anf-preview/azext_anf_preview/custom.py index 6dccbf796fc..6050ae5fa02 100644 --- a/src/anf-preview/azext_anf_preview/custom.py +++ b/src/anf-preview/azext_anf_preview/custom.py @@ -27,33 +27,39 @@ def generate_tags(tag): tags[parts[0]] = "" return tags + def _update_mapper(existing, new, keys): for key in keys: existing_value = getattr(existing, key) new_value = getattr(new, key) setattr(new, key, new_value if new_value is not None else existing_value) + # pylint: disable=unused-argument def create_account(cmd, client, account_name, resource_group_name, location, tag=None): return client.create_or_update(resource_group_name, account_name, location, generate_tags(tag)) + # pylint: disable=unused-argument def update_account(cmd, instance, tag=None): params = NetAppAccountPatch(tags=generate_tags(tag)) return params.tags + def create_pool(cmd, client, account_name, pool_name, resource_group, location, size, service_level, tag=None): body = CapacityPool(service_level=service_level, size=int(size), location=location, tags=generate_tags(tag)) return client.create_or_update(body, resource_group, account_name, pool_name) + def update_pool(cmd, instance, location=None, size=None, service_level=None, tag=None): # put operation to update the record - if size != None: + if size is not None: size = int(size) body = CapacityPool(service_level=service_level, size=size, location=location, tags=generate_tags(tag)) _update_mapper(instance, body, ['location', 'service_level', 'size', 'tags']) return body + def create_volume(cmd, client, account_name, pool_name, volume_name, resource_group_name, location, service_level, creation_token, usage_threshold, subnet_id, tag=None): body = Volume( usage_threshold=int(usage_threshold), @@ -64,6 +70,7 @@ def create_volume(cmd, client, account_name, pool_name, volume_name, resource_gr tags=generate_tags(tag)) return client.create_or_update(body, resource_group_name, account_name, pool_name, volume_name) + def patch_volume(cmd, instance, service_level=None, usage_threshold=None, tag=None): params = VolumePatch( usage_threshold=None if usage_threshold is None else int(usage_threshold), @@ -72,6 +79,7 @@ def patch_volume(cmd, instance, service_level=None, usage_threshold=None, tag=No _update_mapper(instance, params, ['service_level', 'usage_threshold', 'tags']) return params + def create_snapshot(cmd, client, account_name, pool_name, volume_name, snapshot_name, file_system_id, resource_group_name, location): body = Snapshot(location=location, file_system_id=file_system_id) return client.create(body, resource_group_name, account_name, pool_name, volume_name, snapshot_name) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py index 0975882c108..8c84e89c6b4 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py @@ -7,6 +7,7 @@ # No tidy up of tests required. The resource group is automatically removed + class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): @ResourceGroupPreparer() def test_ext_create_delete_account(self): @@ -62,12 +63,10 @@ def test_ext_get_account_by_name_ext(self): @ResourceGroupPreparer() def test_ext_update_account_ext(self): - account_name = self.create_random_name(prefix='cli', length=24) + account_name = self.create_random_name(prefix='cli', length=24) tag = "Tag1=Value1" account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() account = self.cmd("az anf account update -g {rg} -a %s --tags %s" % (account_name, tag)).get_output_in_json() assert account['name'] == account_name assert account['tags']['Tag1'] == 'Value1' - - diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py index c54fbbec3d8..f6f7ecf3bd4 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py @@ -5,11 +5,12 @@ from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer -POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" -VOLUME_DEFAULT="--service-level 'Premium' --usage-threshold 107374182400" +POOL_DEFAULT = "--service-level 'Premium' --size 4398046511104" +VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 107374182400" # No tidy up of tests required. The resource group is automatically removed + class AzureNetAppFilesExtMountTargetServiceScenarioTest(ScenarioTest): def setup_vnet(self, rg, vnet_name): self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) @@ -23,23 +24,21 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) - tag = "--tags '%s'" % tags if tags != None else "" + tag = "--tags '%s'" % tags if tags is not None else "" self.setup_vnet('{rg}', vnet_name) - account = self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() - pool = self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() return volume1 @ResourceGroupPreparer() def test_ext_list_mount_targets(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) - volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') + self.create_volume(account_name, pool_name, volume_name, '{rg}') volume_list = self.cmd("anf mount-target list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert len(volume_list) == 1 - - diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py index 376122b8bea..d78462ec9c0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py @@ -5,18 +5,19 @@ from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer -POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" +POOL_DEFAULT = "--service-level 'Premium' --size 4398046511104" # No tidy up of tests required. The resource group is automatically removed + class AzureNetAppFilesExtPoolServiceScenarioTest(ScenarioTest): @ResourceGroupPreparer() def test_ext_create_delete_pool(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) tags = "Tag1=Value1 Tag2=Value2" - account = self.cmd("az anf account create --resource-group {rg} --account-name '%s' -l 'westus2'" % account_name).get_output_in_json() + self.cmd("az anf account create --resource-group {rg} --account-name '%s' -l 'westus2'" % account_name).get_output_in_json() pool = self.cmd("az anf pool create --resource-group {rg} --account-name %s --pool-name %s -l 'westus2' %s --tags '%s'" % (account_name, pool_name, POOL_DEFAULT, tags)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name assert pool['tags']['Tag1'] == 'Value1' @@ -68,18 +69,16 @@ def test_ext_get_pool_by_name(self): @ResourceGroupPreparer() def test_ext_update_pool(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) tag = "Tag1=Value1" - account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() + self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() pool = self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name pool = self.cmd("az anf pool update -g {rg} -a %s -p %s --tags %s --service-level 'Standard'" % (account_name, pool_name, tag)).get_output_in_json() - assert pool['name'] == account_name + '/' + pool_name + assert pool['name'] == account_name + '/' + pool_name assert pool['serviceLevel'] == "Standard" assert pool['tags']['Tag1'] == 'Value1' - - diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index c499e56af63..b655a33787f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -5,11 +5,12 @@ from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer -POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" -VOLUME_DEFAULT="--service-level 'Premium' --usage-threshold 107374182400" +POOL_DEFAULT = "--service-level 'Premium' --size 4398046511104" +VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 107374182400" # No tidy up of tests required. The resource group is automatically removed + class AzureNetAppFilesExtSnapshotServiceScenarioTest(ScenarioTest): def setup_vnet(self, rg, vnet_name): self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) @@ -23,19 +24,19 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) - tag = "--tags '%s'" % tags if tags != None else "" + tag = "--tags '%s'" % tags if tags is not None else "" self.setup_vnet('{rg}', vnet_name) - account = self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() - pool = self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() return volume1 @ResourceGroupPreparer() def test_ext_create_snapshots(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) snapshot_name = self.create_random_name(prefix='cli-sn-', length=24) rg = '{rg}' @@ -47,31 +48,28 @@ def test_ext_create_snapshots(self): snapshot_list = self.cmd("az anf snapshot list --resource-group %s --account-name %s --pool-name %s --volume-name %s" % (rg, account_name, pool_name, volume_name)).get_output_in_json() assert len(snapshot_list) == 1 - @ResourceGroupPreparer() def test_ext_list_snapshots(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) snapshot_name1 = self.create_random_name(prefix='cli-sn-', length=24) snapshot_name2 = self.create_random_name(prefix='cli-sn-', length=24) volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') - snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() - snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() + self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() + self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() snapshot_list = self.cmd("az anf snapshot list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert len(snapshot_list) == 2 @ResourceGroupPreparer() def test_ext_get_snapshot(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) snapshot_name = self.create_random_name(prefix='cli-sn-', length=24) volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() - assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name - - + assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index 9818b84ffdc..6bfc42ab0aa 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -5,11 +5,12 @@ from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer -POOL_DEFAULT="--service-level 'Premium' --size 4398046511104" -VOLUME_DEFAULT="--service-level 'Premium' --usage-threshold 107374182400" +POOL_DEFAULT = "--service-level 'Premium' --size 4398046511104" +VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 107374182400" # No tidy up of tests required. The resource group is automatically removed + class AzureNetAppFilesExtVolumeServiceScenarioTest(ScenarioTest): def setup_vnet(self, rg, vnet_name): self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) @@ -23,23 +24,23 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, vo vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) - tag = "--tags '%s'" % tags if tags != None else "" + tag = "--tags '%s'" % tags if tags is not None else "" self.setup_vnet('{rg}', vnet_name) - account = self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() - pool = self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() if volume_name2: creation_token = volume_name2 - volume2 = self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() + self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() return volume1 @ResourceGroupPreparer() def test_ext_create_delete_volumes(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) tags = "Tag1=Value1 Tag2=Value2" @@ -57,12 +58,12 @@ def test_ext_create_delete_volumes(self): @ResourceGroupPreparer() def test_ext_list_volumes(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name1 = self.create_random_name(prefix='cli-vol-', length=24) volume_name2 = self.create_random_name(prefix='cli-vol-', length=24) tags = "Tag1=Value1" - volume = self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags, volume_name2) + self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags, volume_name2) volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 2 @@ -74,8 +75,8 @@ def test_ext_list_volumes(self): @ResourceGroupPreparer() def test_ext_get_volume_by_name(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) tags = "Tag2=Value1" @@ -88,8 +89,8 @@ def test_ext_get_volume_by_name(self): @ResourceGroupPreparer() def test_ext_update_volume(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name = self.create_random_name(prefix='cli-vol-', length=24) tags = "Tag1=Value2" @@ -97,6 +98,6 @@ def test_ext_update_volume(self): assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name volume = self.cmd("az anf volume update -g {rg} -a %s -p %s -v %s --tags %s --service-level 'Standard'" % (account_name, pool_name, volume_name, tags)).get_output_in_json() - assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name assert volume['serviceLevel'] == "Standard" assert volume['tags']['Tag1'] == 'Value2' From f1781de457f4918d7ee02b6677179cf351700456 Mon Sep 17 00:00:00 2001 From: leonard Date: Tue, 19 Feb 2019 14:02:27 +0000 Subject: [PATCH 03/15] NFSAAS-1708 code owner --- .github/CODEOWNERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 5711c6f78cf..0cad9adbe07 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -58,4 +58,6 @@ /src/aks-preview/ @zqingqing1 -/src/sqlvm-preview/ @yareyes \ No newline at end of file +/src/sqlvm-preview/ @yareyes + +/src/anf-preview/ @williexu From 5d7a03ad36a85e0e5589a9e48aa63a7d06b07fda Mon Sep 17 00:00:00 2001 From: leonard Date: Wed, 20 Feb 2019 15:30:06 +0000 Subject: [PATCH 04/15] NFSAAS-1708 update from review comments --- .github/CODEOWNERS | 2 +- src/anf-preview/HISTORY.rst | 2 +- src/anf-preview/README.md | 33 ++ src/anf-preview/README.rst | 5 - src/anf-preview/azext_anf_preview/_params.py | 32 ++ .../test_ext_create_delete_account.yaml | 112 ++--- .../test_ext_create_delete_pool.yaml | 148 +++--- .../test_ext_create_delete_volumes.yaml | 283 ++++++----- .../recordings/test_ext_create_snapshots.yaml | 211 ++++---- .../test_ext_get_account_by_name_ext.yaml | 78 ++- .../recordings/test_ext_get_pool_by_name.yaml | 106 ++-- .../recordings/test_ext_get_snapshot.yaml | 242 +++++---- .../test_ext_get_volume_by_name.yaml | 273 ++++++----- .../test_ext_list_accounts_ext.yaml | 109 ++--- .../test_ext_list_mount_targets.yaml | 163 +++--- .../recordings/test_ext_list_pools.yaml | 144 +++--- .../recordings/test_ext_list_snapshots.yaml | 271 ++++------ .../recordings/test_ext_list_volumes.yaml | 429 +++++----------- .../test_ext_update_account_ext.yaml | 64 +-- .../recordings/test_ext_update_pool.yaml | 86 ++-- .../recordings/test_ext_update_volume.yaml | 251 +++++----- .../tests/latest/test_account_commands_ext.py | 10 +- .../tests/latest/test_pool_commands_ext.py | 10 +- .../latest/test_snapshot_commands_ext.py | 14 +- .../tests/latest/test_volume_commands_ext.py | 35 +- .../vendored_sdks/__init__.py | 18 + .../azure_net_app_files_management_client.py | 110 +++++ .../vendored_sdks/models/__init__.py | 77 +++ ...e_net_app_files_management_client_enums.py | 19 + .../vendored_sdks/models/capacity_pool.py | 79 +++ .../models/capacity_pool_paged.py | 27 + .../models/capacity_pool_patch.py | 28 ++ .../models/capacity_pool_patch_py3.py | 28 ++ .../vendored_sdks/models/capacity_pool_py3.py | 79 +++ .../vendored_sdks/models/dimension.py | 32 ++ .../vendored_sdks/models/dimension_py3.py | 32 ++ .../vendored_sdks/models/error.py | 52 ++ .../vendored_sdks/models/error_py3.py | 52 ++ .../models/metric_specification.py | 63 +++ .../models/metric_specification_py3.py | 63 +++ .../vendored_sdks/models/mount_target.py | 97 ++++ .../models/mount_target_paged.py | 27 + .../vendored_sdks/models/mount_target_py3.py | 97 ++++ .../vendored_sdks/models/net_app_account.py | 61 +++ .../models/net_app_account_paged.py | 27 + .../models/net_app_account_patch.py | 28 ++ .../models/net_app_account_patch_py3.py | 28 ++ .../models/net_app_account_py3.py | 61 +++ .../vendored_sdks/models/operation.py | 42 ++ .../vendored_sdks/models/operation_display.py | 40 ++ .../models/operation_display_py3.py | 40 ++ .../vendored_sdks/models/operation_paged.py | 27 + .../vendored_sdks/models/operation_py3.py | 42 ++ .../models/service_specification.py | 29 ++ .../models/service_specification_py3.py | 29 ++ .../vendored_sdks/models/snapshot.py | 77 +++ .../vendored_sdks/models/snapshot_paged.py | 27 + .../vendored_sdks/models/snapshot_patch.py | 28 ++ .../models/snapshot_patch_py3.py | 28 ++ .../vendored_sdks/models/snapshot_py3.py | 77 +++ .../vendored_sdks/models/volume.py | 92 ++++ .../vendored_sdks/models/volume_paged.py | 27 + .../vendored_sdks/models/volume_patch.py | 67 +++ .../vendored_sdks/models/volume_patch_py3.py | 67 +++ .../vendored_sdks/models/volume_py3.py | 92 ++++ .../vendored_sdks/operations/__init__.py | 26 + .../operations/accounts_operations.py | 417 ++++++++++++++++ .../operations/mount_targets_operations.py | 112 +++++ .../vendored_sdks/operations/operations.py | 96 ++++ .../operations/pools_operations.py | 432 ++++++++++++++++ .../operations/snapshots_operations.py | 463 ++++++++++++++++++ .../operations/volumes_operations.py | 446 +++++++++++++++++ .../vendored_sdks/version.py | 13 + src/anf-preview/azext_metadata.json | 4 + src/anf-preview/setup.py | 10 +- 75 files changed, 5565 insertions(+), 1583 deletions(-) create mode 100644 src/anf-preview/README.md delete mode 100644 src/anf-preview/README.rst create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py create mode 100644 src/anf-preview/azext_anf_preview/vendored_sdks/version.py create mode 100644 src/anf-preview/azext_metadata.json diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0cad9adbe07..68a421760ea 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -60,4 +60,4 @@ /src/sqlvm-preview/ @yareyes -/src/anf-preview/ @williexu +/src/anf-preview/ @b-lefr diff --git a/src/anf-preview/HISTORY.rst b/src/anf-preview/HISTORY.rst index e7f6a722ba4..12494af638d 100644 --- a/src/anf-preview/HISTORY.rst +++ b/src/anf-preview/HISTORY.rst @@ -3,6 +3,6 @@ Release History =============== -0.0.1 +0.1.0 +++++ * Initial release diff --git a/src/anf-preview/README.md b/src/anf-preview/README.md new file mode 100644 index 00000000000..14046d5520c --- /dev/null +++ b/src/anf-preview/README.md @@ -0,0 +1,33 @@ +# Azure CLI for Azure NetApp Files (ANF) Extension # +This is an extension to azure cli which provides commands to create and manage Azure NetApp File (ANF) storage resources. + +## How to use ## +First, install the extension: +``` +az extension add --name anf-preview +``` + +It can then be used to create volumes and snapshots. The typical sequence would be to first create an account +``` +az anf account create --resource-group rg -n account_name +``` + +Then allocate a storage pool in which volumes can be created +``` +az anf pool create --resource-group rg -a account_name -n pool_name -l location --size 4398046511104 --service-level "Premium" +``` + +Volumes are created within the pool resource +``` +az anf volume create --resource-group rg -a account_name -p pool_name -n volume_name -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" +``` + +Snapshots of volumes can also be created +``` +az anf snapshot create --resource-group rg -a account_name --p pool_name -v vname -n snapshot_name -l location --file-system-id volume-uuid +``` + +These resources can be updated, deleted and listed. See the help to find out more +``` +az anf --help +``` diff --git a/src/anf-preview/README.rst b/src/anf-preview/README.rst deleted file mode 100644 index ffb074f2f3a..00000000000 --- a/src/anf-preview/README.rst +++ /dev/null @@ -1,5 +0,0 @@ -Microsoft Azure CLI 'Azure NetApp File (ANF)' Command Module -=================================================================== - -This package is for the Azure NetApp File (ANF)' module. -i.e. 'az anf' diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index 8d464ca423a..511656f7fa0 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -13,14 +13,46 @@ def load_arguments(self, _): with self.argument_context('anf') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account') + with self.argument_context('anf account') as c: + c.argument('account_name', id_part='name', options_list=['--account-name', '-n', '-a'], required=True, help='The name of the ANF account') + + with self.argument_context('anf account list') as c: + c.argument('account_name', help='The name of the ANF account', id_part=None) + with self.argument_context('anf') as c: c.argument('pool_name', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + with self.argument_context('anf pool') as c: + c.argument('account_name', id_part='name') + c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-n', '-p'], required=True, help='The name of the ANF pool') + + with self.argument_context('anf pool list') as c: + c.argument('account_name', options_list=['--account-name', '-n', '-a'], help='The name of the ANF account', id_part=None) + with self.argument_context('anf') as c: c.argument('volume_name', options_list=['--volume-name', '-v'], required=True, help='The name of the ANF volume') + with self.argument_context('anf volume') as c: + c.argument('account_name', id_part='name') + c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name', '-n', '-v'], required=True, help='The name of the ANF volume') + + with self.argument_context('anf volume list') as c: + c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account', id_part=None) + c.argument('pool_name', options_list=['--pool-name', '-n', '-p'], required=True, help='The name of the ANF pool', id_part=None) + with self.argument_context('anf') as c: c.argument('snapshot_name', options_list=['--snapshot-name', '-s'], required=True, help='The name of the ANF snapshot') + with self.argument_context('anf snapshot') as c: + c.argument('account_name', options_list=['--account-name', '-a'], id_part='name') + c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') + c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name','-v'], required=True, help='The name of the ANF volume') + c.argument('snapshot_name', id_part='child_name_3', options_list=['--snapshot-name', '-n', '-s'], required=True, help='The name of the ANF snapshot') + + with self.argument_context('anf snapshot list') as c: + c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account', id_part=None) + c.argument('volume_name', options_list=['--volume-name', '-n', '-v'], required=True, help='The name of the ANF volume', id_part=None) + with self.argument_context('anf') as c: c.argument('tag', options_list=['--tags'], required=False, help='A list of space separated tags to apply to the account') diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml index 058e721b543..0be78c98f0f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:38:03Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:47:59Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:38:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:47:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:07 GMT'] + date: ['Wed, 20 Feb 2019 13:48:04 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -43,16 +43,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A11.7270632Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.0012757Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:11 GMT'] - etag: [W/"datetime'2019-02-18T10%3A38%3A11.7270632Z'"] + date: ['Wed, 20 Feb 2019 13:48:09 GMT'] + etag: [W/"datetime'2019-02-20T13%3A48%3A09.0012757Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -72,14 +72,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/20be7cd0-7c24-47fc-80bb-8a556da96de1","name":"20be7cd0-7c24-47fc-80bb-8a556da96de1","status":"Succeeded","startTime":"2019-02-18T10:38:11.6561857Z","endTime":"2019-02-18T10:38:11.9687138Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4","name":"bded32a8-2606-4f9f-bc28-5be99ead69c4","status":"Succeeded","startTime":"2019-02-20T13:48:08.9444994Z","endTime":"2019-02-20T13:48:09.2100581Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:43 GMT'] + date: ['Wed, 20 Feb 2019 13:48:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -100,15 +100,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A12.0172687Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.2584581Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:45 GMT'] - etag: [W/"datetime'2019-02-18T10%3A38%3A12.0172687Z'"] + date: ['Wed, 20 Feb 2019 13:48:42 GMT'] + etag: [W/"datetime'2019-02-20T13%3A48%3A09.2584581Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -130,14 +130,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A38%3A12.0172687Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.2584581Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:38:46 GMT'] + date: ['Wed, 20 Feb 2019 13:48:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -160,16 +160,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:38:47 GMT'] + date: ['Wed, 20 Feb 2019 13:48:47 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -188,14 +188,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8c4e4149-1601-4a6f-b090-0f78ee8d8adc","name":"8c4e4149-1601-4a6f-b090-0f78ee8d8adc","status":"Succeeded","startTime":"2019-02-18T10:38:48.1576906Z","endTime":"2019-02-18T10:38:48.2358286Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5","name":"858d1481-f3c5-4479-bed9-2b8e80d576d5","status":"Succeeded","startTime":"2019-02-20T13:48:47.6147485Z","endTime":"2019-02-20T13:48:47.6929132Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:19 GMT'] + date: ['Wed, 20 Feb 2019 13:49:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -217,14 +217,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:20 GMT'] + date: ['Wed, 20 Feb 2019 13:49:19 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -246,16 +246,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.6043364Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.011456Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['493'] + content-length: ['492'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:24 GMT'] - etag: [W/"datetime'2019-02-18T10%3A39%3A24.6043364Z'"] + date: ['Wed, 20 Feb 2019 13:49:24 GMT'] + etag: [W/"datetime'2019-02-20T13%3A49%3A24.011456Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -275,14 +275,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/716b6f6b-5c57-4dd4-bb2d-b6cc777652e8","name":"716b6f6b-5c57-4dd4-bb2d-b6cc777652e8","status":"Succeeded","startTime":"2019-02-18T10:39:24.5375327Z","endTime":"2019-02-18T10:39:24.8229417Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177","name":"dcf71bbb-5ada-400f-9030-7992d6798177","status":"Succeeded","startTime":"2019-02-20T13:49:23.9546463Z","endTime":"2019-02-20T13:49:24.2359049Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:56 GMT'] + date: ['Wed, 20 Feb 2019 13:49:55 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -303,15 +303,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.8725281Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.2866511Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:58 GMT'] - etag: [W/"datetime'2019-02-18T10%3A39%3A24.8725281Z'"] + date: ['Wed, 20 Feb 2019 13:49:57 GMT'] + etag: [W/"datetime'2019-02-20T13%3A49%3A24.2866511Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -333,14 +333,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A39%3A24.8725281Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.2866511Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:39:59 GMT'] + date: ['Wed, 20 Feb 2019 13:49:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -363,16 +363,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:40:02 GMT'] + date: ['Wed, 20 Feb 2019 13:49:59 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -391,14 +391,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3558c25-f5c9-4d1f-b816-eec9ce09653b","name":"a3558c25-f5c9-4d1f-b816-eec9ce09653b","status":"Succeeded","startTime":"2019-02-18T10:40:02.6189131Z","endTime":"2019-02-18T10:40:02.6813566Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81","name":"481b740e-59de-495e-98fb-1ccd0b211e81","status":"Succeeded","startTime":"2019-02-20T13:49:59.7519293Z","endTime":"2019-02-20T13:49:59.8143994Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:33 GMT'] + date: ['Wed, 20 Feb 2019 13:50:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -420,14 +420,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:35 GMT'] + date: ['Wed, 20 Feb 2019 13:50:32 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -447,15 +447,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:40:39 GMT'] + date: ['Wed, 20 Feb 2019 13:50:36 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdTNU5TVDZXM1JWRUJGRUQyS05TUFNWSVFEWVNQT1pMR1hPNnxGODY4QjU5RDdDNTY1REQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNlpRUURLNFo1WjczVzYzTURLQzc1NUlTT0oyTk01WHwwNDMyRjkzMUJBOUM1NTA5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml index 8962a65d8e5..8f257c3ab0e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:21:24Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:55:56Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:21:24Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:55:56Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:21:28 GMT'] + date: ['Wed, 20 Feb 2019 13:56:00 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A21%3A32.868772Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A56%3A04.2170001Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['451'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:21:33 GMT'] - etag: [W/"datetime'2019-02-18T11%3A21%3A32.868772Z'"] + date: ['Wed, 20 Feb 2019 13:56:04 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A04.2170001Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f2b4da7-4c4f-4843-be8e-e4123ecadb50","name":"0f2b4da7-4c4f-4843-be8e-e4123ecadb50","status":"Succeeded","startTime":"2019-02-18T11:21:32.6777633Z","endTime":"2019-02-18T11:21:33.1628308Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b","name":"a03a03bf-5cc2-4f53-bbc3-94cbe140435b","status":"Succeeded","startTime":"2019-02-20T13:56:04.1769689Z","endTime":"2019-02-20T13:56:04.4581488Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:05 GMT'] + date: ['Wed, 20 Feb 2019 13:56:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A21%3A33.20602Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A56%3A04.5082069Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['451'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:06 GMT'] - etag: [W/"datetime'2019-02-18T11%3A21%3A33.20602Z'"] + date: ['Wed, 20 Feb 2019 13:56:37 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A04.5082069Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -133,22 +133,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A10.8236867Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A39.8664454Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:11 GMT'] - etag: [W/"datetime'2019-02-18T11%3A22%3A10.8236867Z'"] + date: ['Wed, 20 Feb 2019 13:56:40 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A39.8664454Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -163,14 +163,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7445c753-bf80-4421-adaa-436df543fc30","name":"7445c753-bf80-4421-adaa-436df543fc30","status":"Succeeded","startTime":"2019-02-18T11:22:10.7781818Z","endTime":"2019-02-18T11:22:11.3670102Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda","name":"e60f8c4f-bdc8-4669-9958-66a808955cda","status":"Succeeded","startTime":"2019-02-20T13:56:39.754507Z","endTime":"2019-02-20T13:56:40.3951529Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:42 GMT'] + date: ['Wed, 20 Feb 2019 13:57:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -192,15 +192,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A11.3981092Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"395085c2-4d08-d931-524b-e51d631ce3c0","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A40.4368539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4a3c77d-1720-489b-5855-a9e520314774","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:44 GMT'] - etag: [W/"datetime'2019-02-18T11%3A22%3A11.3981092Z'"] + date: ['Wed, 20 Feb 2019 13:57:12 GMT'] + etag: [W/"datetime'2019-02-20T13%3A56%3A40.4368539Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -222,14 +222,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A22%3A11.3981092Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"395085c2-4d08-d931-524b-e51d631ce3c0","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A40.4368539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4a3c77d-1720-489b-5855-a9e520314774","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] content-length: ['703'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:22:47 GMT'] + date: ['Wed, 20 Feb 2019 13:57:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -252,16 +252,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:22:49 GMT'] + date: ['Wed, 20 Feb 2019 13:57:17 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -280,14 +280,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e68ccb42-6b1f-4156-b77e-394354f08c46","name":"e68ccb42-6b1f-4156-b77e-394354f08c46","status":"Succeeded","startTime":"2019-02-18T11:22:50.1754189Z","endTime":"2019-02-18T11:22:53.4484712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba","name":"d689093a-285f-4474-b8c8-ff350b0534ba","status":"Succeeded","startTime":"2019-02-20T13:57:17.5366406Z","endTime":"2019-02-20T13:57:20.8212201Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:23:27 GMT'] + date: ['Wed, 20 Feb 2019 13:57:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -309,14 +309,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:23:25 GMT'] + date: ['Wed, 20 Feb 2019 13:57:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -341,22 +341,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A23%3A31.0272655Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A57%3A53.9523303Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:23:30 GMT'] - etag: [W/"datetime'2019-02-18T11%3A23%3A31.0272655Z'"] + date: ['Wed, 20 Feb 2019 13:57:53 GMT'] + etag: [W/"datetime'2019-02-20T13%3A57%3A53.9523303Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -370,14 +370,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e45c2fbe-d028-41b7-9c4e-b7c3827a78fb","name":"e45c2fbe-d028-41b7-9c4e-b7c3827a78fb","status":"Succeeded","startTime":"2019-02-18T11:23:30.9978684Z","endTime":"2019-02-18T11:23:31.5210997Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e","name":"377285bf-3566-48e8-80ed-5b295e3ae19e","status":"Succeeded","startTime":"2019-02-20T13:57:53.8815021Z","endTime":"2019-02-20T13:57:54.2878138Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:25 GMT'] + date: ['Wed, 20 Feb 2019 13:58:25 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -398,15 +398,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A23%3A31.5536493Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"4f02a259-9a88-11a0-fcaa-7d6a30650316","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A57%3A54.335604Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"d8994edb-1b76-29db-cadf-dcdfecb21c74","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['691'] + content-length: ['690'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:10 GMT'] - etag: [W/"datetime'2019-02-18T11%3A23%3A31.5536493Z'"] + date: ['Wed, 20 Feb 2019 13:58:27 GMT'] + etag: [W/"datetime'2019-02-20T13%3A57%3A54.335604Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -429,21 +429,21 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:24:08 GMT'] + date: ['Wed, 20 Feb 2019 13:58:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -457,14 +457,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99f7cff9-e878-485d-b843-acb8d42ee609","name":"99f7cff9-e878-485d-b843-acb8d42ee609","status":"Succeeded","startTime":"2019-02-18T11:24:10.3927934Z","endTime":"2019-02-18T11:24:13.737154Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115","name":"d8484306-8ef9-4c70-8ba4-1382fbac6115","status":"Succeeded","startTime":"2019-02-20T13:58:31.0783282Z","endTime":"2019-02-20T13:58:34.3755461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:48 GMT'] + date: ['Wed, 20 Feb 2019 13:59:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -486,14 +486,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:24:53 GMT'] + date: ['Wed, 20 Feb 2019 13:59:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -516,15 +516,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:24:51 GMT'] + date: ['Wed, 20 Feb 2019 13:59:12 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdSSDMyRkNCR1RINjVMRFJIQVNPSllMNTVOSlVNU09XVkRZS3wwMDFDNkY5N0FCODNBQTI0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQUgyNkFNTEZFR1pVWjYyS1pCNUVMWDVMV0JKS0o1UHxFNUVBMERDNDFCN0ZGNzNFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml index c8755cdaab4..29d42a34f3d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:47:26Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:23:55Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,60 +14,60 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:47:26Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:23:55Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:31 GMT'] + date: ['Wed, 20 Feb 2019 14:24:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"af1307fd-2557-4b4d-a9e1-82ae14d93857\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"55fdd07b-3d8e-4f6a-adf1-7b1c12da5dec\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"24ae3e0e-3629-4909-aed3-80a4f2472711\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"335fe4ca-e7e3-42fb-b8cb-384fc6a3b3eb\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8a545c77-7cca-41c6-b659-bd2093b9ac95?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9c4d472d-249d-4f79-bad7-1e49eb8ca125?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:36 GMT'] + date: ['Wed, 20 Feb 2019 14:24:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8a545c77-7cca-41c6-b659-bd2093b9ac95?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9c4d472d-249d-4f79-bad7-1e49eb8ca125?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:40 GMT'] + date: ['Wed, 20 Feb 2019 14:24:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"0b683091-bc7b-4496-a8a7-08f0c74e4698\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"80e78f6f-4be2-4451-93ee-badf74abac10\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"24ae3e0e-3629-4909-aed3-80a4f2472711\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"335fe4ca-e7e3-42fb-b8cb-384fc6a3b3eb\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:41 GMT'] - etag: [W/"0b683091-bc7b-4496-a8a7-08f0c74e4698"] + date: ['Wed, 20 Feb 2019 14:24:11 GMT'] + etag: [W/"80e78f6f-4be2-4451-93ee-badf74abac10"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"72bbaaf8-ee1b-4a34-9ddb-5ebe90dab17d\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"a9869a98-5f1e-49a1-8e22-733b47d676da\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"72bbaaf8-ee1b-4a34-9ddb-5ebe90dab17d\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"a9869a98-5f1e-49a1-8e22-733b47d676da\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c64fe84e-b0b8-4f27-a9e5-ff9cb884d005?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e0592747-1efd-4774-a7f2-2ec6bba10e29?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:41 GMT'] + date: ['Wed, 20 Feb 2019 14:24:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 201, message: Created} - request: body: null @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/c64fe84e-b0b8-4f27-a9e5-ff9cb884d005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e0592747-1efd-4774-a7f2-2ec6bba10e29?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:46 GMT'] + date: ['Wed, 20 Feb 2019 14:24:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"107889ed-9b42-4472-8d17-008d59a820fb\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"107889ed-9b42-4472-8d17-008d59a820fb\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:47 GMT'] - etag: [W/"107889ed-9b42-4472-8d17-008d59a820fb"] + date: ['Wed, 20 Feb 2019 14:24:16 GMT'] + etag: [W/"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,22 +261,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A47%3A52.2554961Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A24%3A21.7306018Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:47:52 GMT'] - etag: [W/"datetime'2019-02-18T15%3A47%3A52.2554961Z'"] + date: ['Wed, 20 Feb 2019 14:24:22 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A21.7306018Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7428213-3e4f-4707-877c-4d282f1c1042","name":"f7428213-3e4f-4707-877c-4d282f1c1042","status":"Succeeded","startTime":"2019-02-18T15:47:52.1901766Z","endTime":"2019-02-18T15:47:52.5419713Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8","name":"b0cf40c4-58f9-4780-9c5c-468f0cee65f8","status":"Succeeded","startTime":"2019-02-20T14:24:21.6764379Z","endTime":"2019-02-20T14:24:21.957712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:48:24 GMT'] + date: ['Wed, 20 Feb 2019 14:24:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A47%3A52.5867296Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A24%3A22.0067994Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:48:25 GMT'] - etag: [W/"datetime'2019-02-18T15%3A47%3A52.5867296Z'"] + date: ['Wed, 20 Feb 2019 14:24:54 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A22.0067994Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,16 +351,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A48%3A29.4677001Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A24%3A58.0765458Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:48:29 GMT'] - etag: [W/"datetime'2019-02-18T15%3A48%3A29.4677001Z'"] + date: ['Wed, 20 Feb 2019 14:24:57 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A58.0765458Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852","name":"8fe091c9-2eb8-40e2-ad4a-fb2b1c60b852","status":"Succeeded","startTime":"2019-02-18T15:48:29.4093118Z","endTime":"2019-02-18T15:48:29.9093074Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b","name":"4c367fa5-96fd-4ba3-a937-76c44ecdff4b","status":"Succeeded","startTime":"2019-02-20T14:24:58.0145837Z","endTime":"2019-02-20T14:24:58.3895952Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:00 GMT'] + date: ['Wed, 20 Feb 2019 14:25:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A48%3A29.9550431Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4b5b9a8-98c9-911b-2d47-9974b6cfcff4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A24%3A58.4307988Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"fbcb05c6-c0a2-4c23-6129-289c3fa7864b","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:02 GMT'] - etag: [W/"datetime'2019-02-18T15%3A48%3A29.9550431Z'"] + date: ['Wed, 20 Feb 2019 14:25:30 GMT'] + etag: [W/"datetime'2019-02-20T14%3A24%3A58.4307988Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +428,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' headers: @@ -435,7 +436,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['432'] + Content-Length: ['441'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] @@ -443,22 +444,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A07.0861781Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A25%3A33.8770988Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['942'] + content-length: ['951'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:07 GMT'] - etag: [W/"datetime'2019-02-18T15%3A49%3A07.0861781Z'"] + date: ['Wed, 20 Feb 2019 14:25:34 GMT'] + etag: [W/"datetime'2019-02-20T14%3A25%3A33.8770988Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713","name":"1f42b766-03ce-4758-b2aa-cd53d6767713","status":"Creating","startTime":"2019-02-18T15:49:07.0341147Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","name":"d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","status":"Creating","startTime":"2019-02-20T14:25:33.8379972Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:49:38 GMT'] + date: ['Wed, 20 Feb 2019 14:26:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +503,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1f42b766-03ce-4758-b2aa-cd53d6767713","name":"1f42b766-03ce-4758-b2aa-cd53d6767713","status":"Succeeded","startTime":"2019-02-18T15:49:07.0341147Z","endTime":"2019-02-18T15:49:43.8249404Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","name":"d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","status":"Succeeded","startTime":"2019-02-20T14:25:33.8379972Z","endTime":"2019-02-20T14:26:06.6666426Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:10 GMT'] + date: ['Wed, 20 Feb 2019 14:26:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -531,15 +532,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A43.8600609Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_45e6d866","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"8138c16c-1474-a3f8-ee68-7dca7a9c6603","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A26%3A06.7065336Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f7791238","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7df6a4f4-ae97-dd8c-6f7c-132f1d5e81c7","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1629'] + content-length: ['1642'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:12 GMT'] - etag: [W/"datetime'2019-02-18T15%3A49%3A43.8600609Z'"] + date: ['Wed, 20 Feb 2019 14:26:38 GMT'] + etag: [W/"datetime'2019-02-20T14%3A26%3A06.7065336Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -561,14 +562,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A49%3A43.8600609Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_45e6d866","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"8138c16c-1474-a3f8-ee68-7dca7a9c6603","fileSystemId":"b1b57dbd-4c72-f390-021b-75d51544d1d0","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A26%3A06.7065336Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f7791238","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7df6a4f4-ae97-dd8c-6f7c-132f1d5e81c7","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}]}'} headers: cache-control: [no-cache] - content-length: ['1641'] + content-length: ['1654'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:13 GMT'] + date: ['Wed, 20 Feb 2019 14:26:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -591,16 +592,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:50:15 GMT'] + date: ['Wed, 20 Feb 2019 14:26:41 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -619,14 +620,42 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Deleting","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 14:27:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume delete] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b","name":"89843d02-586d-481f-8084-a4b992f9d10b","status":"Deleting","startTime":"2019-02-18T15:50:16.0903583Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Deleting","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:50:46 GMT'] + date: ['Wed, 20 Feb 2019 14:27:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -647,14 +676,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89843d02-586d-481f-8084-a4b992f9d10b","name":"89843d02-586d-481f-8084-a4b992f9d10b","status":"Succeeded","startTime":"2019-02-18T15:50:16.0903583Z","endTime":"2019-02-18T15:51:02.8620689Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Succeeded","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"2019-02-20T14:27:46.7729814Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:51:18 GMT'] + date: ['Wed, 20 Feb 2019 14:28:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -676,14 +705,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:51:20 GMT'] + date: ['Wed, 20 Feb 2019 14:28:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -706,15 +735,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:51:23 GMT'] + date: ['Wed, 20 Feb 2019 14:28:22 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFRjVZR0w3TVdORVBBQU4zMlo0VUU3T1BCVUxSTUpJSFdJS3wxM0FFNjIwNTgyQ0Y4MDlBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNENNTks1UUQyS0dZWkdFUVJITDVaN0dJV0VJMk5TT3w0NDQzMDE4MjA4RTM0RTg5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml index 56ba368a37a..8f6bf656b62 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-19T08:29:43Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:04:53Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,29 +16,29 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-19T08:29:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T15:04:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:48 GMT'] + date: ['Wed, 20 Feb 2019 15:04:56 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"89c08c52-1daa-450c-896b-c966230df2d1\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"fc72d45c-a3a1-4091-857c-bd7828259a3c\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"1123a4ba-3076-4b6b-a547-52a65fff7195\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"1a1d352f-1416-4e34-af81-6093f2e8f92e\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9b468ab9-72d2-462c-810e-7eb0487105f6?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/de65e53b-cc21-4eae-831f-2bd9aee11c1a?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:54 GMT'] + date: ['Wed, 20 Feb 2019 15:05:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9b468ab9-72d2-462c-810e-7eb0487105f6?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/de65e53b-cc21-4eae-831f-2bd9aee11c1a?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:57 GMT'] + date: ['Wed, 20 Feb 2019 15:05:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET @@ -111,21 +111,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"5fa15896-faa8-4530-b3b3-c68e7bcc4da8\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"eab8aa99-2136-4df3-b58f-65c7a8ce2272\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"1123a4ba-3076-4b6b-a547-52a65fff7195\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1a1d352f-1416-4e34-af81-6093f2e8f92e\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:58 GMT'] - etag: [W/"5fa15896-faa8-4530-b3b3-c68e7bcc4da8"] + date: ['Wed, 20 Feb 2019 15:05:10 GMT'] + etag: [W/"eab8aa99-2136-4df3-b58f-65c7a8ce2272"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000007", "properties": {"addressPrefix": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"b0f20c7f-5994-437f-96a4-9041efe148b2\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"5a7a9234-8d37-497a-a403-be66ff4f6de8\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"b0f20c7f-5994-437f-96a4-9041efe148b2\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"5a7a9234-8d37-497a-a403-be66ff4f6de8\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9a168aeb-8617-4ec4-9227-60441c94de3c?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/592a17cf-55d1-4dc9-b901-39f732136160?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:29:59 GMT'] + date: ['Wed, 20 Feb 2019 15:05:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9a168aeb-8617-4ec4-9227-60441c94de3c?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/592a17cf-55d1-4dc9-b901-39f732136160?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:03 GMT'] + date: ['Wed, 20 Feb 2019 15:05:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -216,15 +217,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"be82c6c0-114f-4e77-8929-0f88e38ef419\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"be82c6c0-114f-4e77-8929-0f88e38ef419\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:04 GMT'] - etag: [W/"40c7ec47-ca79-42c8-b658-1cf8e3a87b5b"] + date: ['Wed, 20 Feb 2019 15:05:23 GMT'] + etag: [W/"be82c6c0-114f-4e77-8929-0f88e38ef419"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,14 +263,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-19T08%3A30%3A08.6135132Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A05%3A26.1663938Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:08 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A08.6135132Z'"] + date: ['Wed, 20 Feb 2019 15:05:37 GMT'] + etag: [W/"datetime'2019-02-20T15%3A05%3A26.1663938Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fe7ec669-bbe3-4f44-9f36-e2147c0467c6","name":"fe7ec669-bbe3-4f44-9f36-e2147c0467c6","status":"Succeeded","startTime":"2019-02-19T08:30:08.5485732Z","endTime":"2019-02-19T08:30:08.8454441Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c","name":"33f1b475-00b8-428c-947a-2998ffbb423c","status":"Succeeded","startTime":"2019-02-20T15:05:26.119423Z","endTime":"2019-02-20T15:05:26.4006911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:40 GMT'] + date: ['Wed, 20 Feb 2019 15:06:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-19T08%3A30%3A08.8947128Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A05%3A26.4525968Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:41 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A08.8947128Z'"] + date: ['Wed, 20 Feb 2019 15:06:00 GMT'] + etag: [W/"datetime'2019-02-20T15%3A05%3A26.4525968Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-19T08%3A30%3A46.165125Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A06%3A08.1403511Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:30:46 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A46.165125Z'"] + date: ['Wed, 20 Feb 2019 15:06:42 GMT'] + etag: [W/"datetime'2019-02-20T15%3A06%3A08.1403511Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d509f9e9-f87b-4bf7-9865-1f9e8e4404e8","name":"d509f9e9-f87b-4bf7-9865-1f9e8e4404e8","status":"Succeeded","startTime":"2019-02-19T08:30:46.1034981Z","endTime":"2019-02-19T08:30:46.603486Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed","name":"d88a50db-83b3-4247-bc43-cda287c000ed","status":"Succeeded","startTime":"2019-02-20T15:06:08.0722669Z","endTime":"2019-02-20T15:06:08.4785248Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:18 GMT'] + date: ['Wed, 20 Feb 2019 15:07:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-19T08%3A30%3A46.6604737Z''\"","location":"westus2","properties":{"poolId":"5ed8a69b-dd0a-7913-f238-fa910a2be9dc","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A06%3A08.5336308Z''\"","location":"westus2","properties":{"poolId":"1d265bfa-942e-3e3a-41e2-36ee9f1c5015","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:19 GMT'] - etag: [W/"datetime'2019-02-19T08%3A30%3A46.6604737Z'"] + date: ['Wed, 20 Feb 2019 15:06:55 GMT'] + etag: [W/"datetime'2019-02-20T15%3A06%3A08.5336308Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -444,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-19T08%3A31%3A24.7464648Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A06%3A49.6739958Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:25 GMT'] - etag: [W/"datetime'2019-02-19T08%3A31%3A24.7464648Z'"] + date: ['Wed, 20 Feb 2019 15:07:00 GMT'] + etag: [W/"datetime'2019-02-20T15%3A06%3A49.6739958Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33","name":"3fda954f-2fb1-4c2e-85d1-a2060160cd33","status":"Creating","startTime":"2019-02-19T08:31:24.7008338Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e","name":"9bbbaa39-7396-4ac4-b16a-76270fffa51e","status":"Creating","startTime":"2019-02-20T15:06:49.6074941Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:31:56 GMT'] + date: ['Wed, 20 Feb 2019 15:07:21 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3fda954f-2fb1-4c2e-85d1-a2060160cd33","name":"3fda954f-2fb1-4c2e-85d1-a2060160cd33","status":"Succeeded","startTime":"2019-02-19T08:31:24.7008338Z","endTime":"2019-02-19T08:31:58.4399054Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e","name":"9bbbaa39-7396-4ac4-b16a-76270fffa51e","status":"Succeeded","startTime":"2019-02-20T15:06:49.6074941Z","endTime":"2019-02-20T15:07:24.1418446Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:27 GMT'] + date: ['Wed, 20 Feb 2019 15:07:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-19T08%3A31%3A58.4673619Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_734f79e9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e11875aa-2e99-b243-6921-b175118c8148","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A07%3A24.175617Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f16bcf84","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"d939d933-5caa-59e0-bdab-2913cb3a362e","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1600'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:29 GMT'] - etag: [W/"datetime'2019-02-19T08%3A31%3A58.4673619Z'"] + date: ['Wed, 20 Feb 2019 15:07:54 GMT'] + etag: [W/"datetime'2019-02-20T15%3A07%3A24.175617Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -549,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "25994a73-19fd-81ff-402b-8b53efaed088"}, + body: !!python/unicode '{"properties": {"fileSystemId": "52508b2e-1bff-cca5-22fb-ba855fc11b2d"}, "location": "westus2"}' headers: Accept: [application/json] @@ -565,19 +566,19 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/19/2019 - 8:32:36 AM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"edcf9a2f-e443-cd28-80af-d0fbe6f376d6","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","name":"cli-sn-000005","created":"2019-02-19T08:32:34Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:08:02 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4786e04-3c90-269b-967a-065ed5789cd7","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","name":"cli-sn-000005","created":"2019-02-20T15:08:00Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:37 GMT'] + date: ['Wed, 20 Feb 2019 15:08:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -594,12 +595,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"edcf9a2f-e443-cd28-80af-d0fbe6f376d6","fileSystemId":"25994a73-19fd-81ff-402b-8b53efaed088","name":"cli-sn-000005","created":"2019-02-19T08:32:34Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4786e04-3c90-269b-967a-065ed5789cd7","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","name":"cli-sn-000005","created":"2019-02-20T15:08:00Z"}}]}'} headers: cache-control: [no-cache] content-length: ['760'] content-type: [application/json; charset=utf-8] - date: ['Tue, 19 Feb 2019 08:32:38 GMT'] + date: ['Wed, 20 Feb 2019 15:08:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -628,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Tue, 19 Feb 2019 08:32:43 GMT'] + date: ['Wed, 20 Feb 2019 15:08:08 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaTlY0TkxFTk9VNFRSNldWN0ZVQU9VUERYRktXTkwyRk5LQXxBMDM0MEVBQjA1MzcyNDExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJWUtQM09GRDJOVjJOQllCTFdRSlJCU1lVTk9OSTNHSVBVWnw1ODMzQzY4MkI4RUQ1NDExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml index 47c1c8d54e6..6b9a5af677e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:40:39Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:50:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:40:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:50:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:41 GMT'] + date: ['Wed, 20 Feb 2019 13:50:39 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,16 +42,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A45.8036481Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A43.8673224Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:40:46 GMT'] - etag: [W/"datetime'2019-02-18T10%3A40%3A45.8036481Z'"] + date: ['Wed, 20 Feb 2019 13:50:44 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A43.8673224Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/396fdb1b-c90c-4fcc-99e6-0af08e3cc15a","name":"396fdb1b-c90c-4fcc-99e6-0af08e3cc15a","status":"Succeeded","startTime":"2019-02-18T10:40:45.7509094Z","endTime":"2019-02-18T10:40:46.0321063Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696","name":"1ffd10b7-74e6-404e-a01c-6ef3bd5f1696","status":"Succeeded","startTime":"2019-02-20T13:50:43.7852954Z","endTime":"2019-02-20T13:50:44.0821455Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:16 GMT'] + date: ['Wed, 20 Feb 2019 13:51:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A46.0858506Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:17 GMT'] - etag: [W/"datetime'2019-02-18T10%3A40%3A46.0858506Z'"] + date: ['Wed, 20 Feb 2019 13:51:16 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -129,15 +129,45 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + cache-control: [no-cache] + content-length: ['453'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 13:51:18 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf account show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A40%3A46.0858506Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:19 GMT'] - etag: [W/"datetime'2019-02-18T10%3A40%3A46.0858506Z'"] + date: ['Wed, 20 Feb 2019 13:51:20 GMT'] + etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -160,15 +190,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:41:24 GMT'] + date: ['Wed, 20 Feb 2019 13:51:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdUTFozQ0ZOWFMyTVhRWFNUTEpDM0VSR0ZFUFdSN0dDN09ZTXw3NDI3OEU0Q0M3RjQ0MjI5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSE5PNUhWSFBESUJFSVBZWElXQkJBS0ZKRlBUTE9MSHwxODM0ODQ0QUMxN0E5QjgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml index 42450aad0d1..ba19af9f94d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:24:52Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:59:12Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:24:52Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:59:12Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:04 GMT'] + date: ['Wed, 20 Feb 2019 13:59:15 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,16 +42,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A25%3A01.3556436Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A59%3A18.2454983Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:08 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A01.3556436Z'"] + date: ['Wed, 20 Feb 2019 13:59:18 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A18.2454983Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d5d1096d-7540-49c6-ab1e-094751ccd296","name":"d5d1096d-7540-49c6-ab1e-094751ccd296","status":"Succeeded","startTime":"2019-02-18T11:25:01.2864478Z","endTime":"2019-02-18T11:25:01.5994236Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7","name":"d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7","status":"Succeeded","startTime":"2019-02-20T13:59:18.1974235Z","endTime":"2019-02-20T13:59:18.4786746Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:33 GMT'] + date: ['Wed, 20 Feb 2019 13:59:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A25%3A01.6438767Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A59%3A18.5337034Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:35 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A01.6438767Z'"] + date: ['Wed, 20 Feb 2019 13:59:51 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A18.5337034Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,22 +132,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.0455796Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A54.8086002Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:25:40 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A40.0455796Z'"] + date: ['Wed, 20 Feb 2019 13:59:54 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A54.8086002Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d","name":"2198b038-e4c5-4aa5-a22e-d0dfcbc92d8d","status":"Succeeded","startTime":"2019-02-18T11:25:40.0034171Z","endTime":"2019-02-18T11:25:40.4878156Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24","name":"e4c9c346-4f80-4760-ab53-d0c83c32ef24","status":"Succeeded","startTime":"2019-02-20T13:59:54.7651227Z","endTime":"2019-02-20T13:59:55.2182617Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:11 GMT'] + date: ['Wed, 20 Feb 2019 14:00:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,15 +189,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.5389705Z''\"","location":"westus2","properties":{"poolId":"31afd67a-ef79-ac1f-f279-94a62b8ba6cb","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:13 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A40.5389705Z'"] + date: ['Wed, 20 Feb 2019 14:00:26 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -219,15 +219,45 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['650'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 14:00:29 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf pool show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A25%3A40.5389705Z''\"","location":"westus2","properties":{"poolId":"31afd67a-ef79-ac1f-f279-94a62b8ba6cb","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:16 GMT'] - etag: [W/"datetime'2019-02-18T11%3A25%3A40.5389705Z'"] + date: ['Wed, 20 Feb 2019 14:00:30 GMT'] + etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -250,18 +280,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:26:21 GMT'] + date: ['Wed, 20 Feb 2019 14:00:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdKSVNLSVhIS1RaMjZJSE9XRDRZWjZBVVo2SlkyR1JUVERNWnxCMkRENjRBMEE1RkVCQzc4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHTVdPQkpRSENHQ09RU1ZKSFU1SU1VQkpIS1ZOUUNBRnwxMDhBNzcwQTU5MUQxNzE5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml index 9d3009bbfa3..c596928181b 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T17:32:49Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:57:47Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,29 +16,29 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T17:32:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T14:57:47Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:52 GMT'] + date: ['Wed, 20 Feb 2019 14:58:12 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"19b6d69c-90a7-4714-9c6d-a2d66dfc0823\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"a3ba3ffb-895d-4934-978c-c8d986e18451\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"af700cd8-d367-4fef-bb91-f4d9fdce74da\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"f477064f-605a-4528-9ec9-5c7ebc406d33\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/575af672-2846-457d-8a4c-21c22e8b4bc2?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8580b825-85fb-4ca1-98d8-aa66250e3fcc?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:57 GMT'] + date: ['Wed, 20 Feb 2019 14:57:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/575af672-2846-457d-8a4c-21c22e8b4bc2?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8580b825-85fb-4ca1-98d8-aa66250e3fcc?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:01 GMT'] + date: ['Wed, 20 Feb 2019 14:58:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET @@ -111,21 +111,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"ddc2ef48-a3af-4c47-9ef0-0aa197b3b433\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"10114caa-c1df-474b-8336-c3a143800718\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"af700cd8-d367-4fef-bb91-f4d9fdce74da\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"f477064f-605a-4528-9ec9-5c7ebc406d33\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:02 GMT'] - etag: [W/"ddc2ef48-a3af-4c47-9ef0-0aa197b3b433"] + date: ['Wed, 20 Feb 2019 14:58:09 GMT'] + etag: [W/"10114caa-c1df-474b-8336-c3a143800718"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000007", "properties": {"addressPrefix": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"6102b6fd-7198-4d2f-bda5-a3e411c2ece9\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"6282813a-3d24-4073-b026-76540fd1e6cf\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"6102b6fd-7198-4d2f-bda5-a3e411c2ece9\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6282813a-3d24-4073-b026-76540fd1e6cf\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0cfb9bb8-ce31-42f7-b832-586b25b0b61f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ff96f0b6-7e51-44fe-a4e4-4a246e1fec0d?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:04 GMT'] + date: ['Wed, 20 Feb 2019 14:58:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0cfb9bb8-ce31-42f7-b832-586b25b0b61f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ff96f0b6-7e51-44fe-a4e4-4a246e1fec0d?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:08 GMT'] + date: ['Wed, 20 Feb 2019 14:58:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -216,15 +217,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"427240bf-2241-4c0d-bc10-45d4f9e09263\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"427240bf-2241-4c0d-bc10-45d4f9e09263\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:09 GMT'] - etag: [W/"a2b1cdd3-d4a1-4672-94bb-8f1a0ea6193a"] + date: ['Wed, 20 Feb 2019 14:58:35 GMT'] + etag: [W/"427240bf-2241-4c0d-bc10-45d4f9e09263"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A33%3A13.1064602Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A58%3A20.7317608Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:13 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A13.1064602Z'"] + date: ['Wed, 20 Feb 2019 14:58:41 GMT'] + etag: [W/"datetime'2019-02-20T14%3A58%3A20.7317608Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/17cbec5c-3523-4daf-a527-65c049dbec5d","name":"17cbec5c-3523-4daf-a527-65c049dbec5d","status":"Succeeded","startTime":"2019-02-18T17:33:13.0447208Z","endTime":"2019-02-18T17:33:13.3412628Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096","name":"9f874f42-f14a-4e43-a360-1f543704f096","status":"Succeeded","startTime":"2019-02-20T14:58:20.6647853Z","endTime":"2019-02-20T14:58:20.9772461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:44 GMT'] + date: ['Wed, 20 Feb 2019 14:58:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A33%3A13.3846556Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A58%3A21.0209685Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:45 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A13.3846556Z'"] + date: ['Wed, 20 Feb 2019 14:59:02 GMT'] + etag: [W/"datetime'2019-02-20T14%3A58%3A21.0209685Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A33%3A50.201569Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A59%3A02.2914218Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:33:50 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A50.201569Z'"] + date: ['Wed, 20 Feb 2019 14:59:37 GMT'] + etag: [W/"datetime'2019-02-20T14%3A59%3A02.2914218Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd927736-223c-453b-bea5-715db2b26b07","name":"cd927736-223c-453b-bea5-715db2b26b07","status":"Succeeded","startTime":"2019-02-18T17:33:50.150608Z","endTime":"2019-02-18T17:33:50.675525Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba","name":"59d0971c-e13d-429a-913f-ad66b77886ba","status":"Succeeded","startTime":"2019-02-20T14:59:02.2369849Z","endTime":"2019-02-20T14:59:02.6900037Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['613'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:21 GMT'] + date: ['Wed, 20 Feb 2019 14:59:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A33%3A50.7269388Z''\"","location":"westus2","properties":{"poolId":"2f7aa7fa-5f39-d274-9bcb-95fe91a3d003","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A59%3A02.7407432Z''\"","location":"westus2","properties":{"poolId":"90c93128-f312-cd36-7dfb-b07c80456081","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:23 GMT'] - etag: [W/"datetime'2019-02-18T17%3A33%3A50.7269388Z'"] + date: ['Wed, 20 Feb 2019 14:59:36 GMT'] + etag: [W/"datetime'2019-02-20T14%3A59%3A02.7407432Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -444,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A34%3A27.6919569Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A59%3A44.6296393Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:27 GMT'] - etag: [W/"datetime'2019-02-18T17%3A34%3A27.6919569Z'"] + date: ['Wed, 20 Feb 2019 15:00:51 GMT'] + etag: [W/"datetime'2019-02-20T14%3A59%3A44.6296393Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7","name":"4e8f08c0-0294-40b5-a200-ec08a702daf7","status":"Creating","startTime":"2019-02-18T17:34:27.6061544Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2","name":"4317f215-876f-4479-bf43-f6cbb2c8f6e2","status":"Creating","startTime":"2019-02-20T14:59:44.5850016Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:34:59 GMT'] + date: ['Wed, 20 Feb 2019 15:00:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4e8f08c0-0294-40b5-a200-ec08a702daf7","name":"4e8f08c0-0294-40b5-a200-ec08a702daf7","status":"Succeeded","startTime":"2019-02-18T17:34:27.6061544Z","endTime":"2019-02-18T17:35:02.4238916Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2","name":"4317f215-876f-4479-bf43-f6cbb2c8f6e2","status":"Succeeded","startTime":"2019-02-20T14:59:44.5850016Z","endTime":"2019-02-20T15:00:26.9341911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:31 GMT'] + date: ['Wed, 20 Feb 2019 15:01:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A35%3A02.4564493Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_c9efd4d2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7b3deca9-5443-3d7f-bcea-795dce74edd1","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A00%3A26.9628533Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_22945af0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"ab28a39f-afbf-4314-9a91-00434e44eb41","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:32 GMT'] - etag: [W/"datetime'2019-02-18T17%3A35%3A02.4564493Z'"] + date: ['Wed, 20 Feb 2019 15:00:51 GMT'] + etag: [W/"datetime'2019-02-20T15%3A00%3A26.9628533Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -549,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "115efbfb-e873-33b9-b919-834c6512727a"}, + body: !!python/unicode '{"properties": {"fileSystemId": "38347f9e-0e90-95da-3d89-ce9e6212e50b"}, "location": "westus2"}' headers: Accept: [application/json] @@ -565,19 +566,19 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 - 5:35:39 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"c77111e4-e39f-2b5d-fa3f-b63d0fdcb1fb","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","name":"cli-sn-000005","created":"2019-02-18T17:35:37Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:01:02 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:40 GMT'] + date: ['Wed, 20 Feb 2019 15:01:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -594,12 +595,41 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"c77111e4-e39f-2b5d-fa3f-b63d0fdcb1fb","fileSystemId":"115efbfb-e873-33b9-b919-834c6512727a","name":"cli-sn-000005","created":"2019-02-18T17:35:37Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} + headers: + cache-control: [no-cache] + content-length: ['748'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 15:01:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf snapshot show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} headers: cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:35:54 GMT'] + date: ['Wed, 20 Feb 2019 15:01:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -628,12 +658,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 17:35:58 GMT'] + date: ['Wed, 20 Feb 2019 15:01:13 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZWktNS1RLRkNOQkxPUjZNR0ZRNUhLU0pVUFUzSjVIVFA3MnxCOTcxMzlDODBCREFERTlGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMSlRPVU9GVlY1RTU1TFRVN0kzM05LQ0M0Tk9WNk9ZV1RLVHw0M0UzNDNGODNCMTE1RjdGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml index d7715008187..47cca9f244b 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:39:35Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:28:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,60 +14,60 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:39:35Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:28:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:40 GMT'] + date: ['Wed, 20 Feb 2019 14:28:41 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1192'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"3150f528-b23a-4b13-be25-c6cf8b660573\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"b36c44cd-1927-475c-9401-a128e742a1c7\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"e629c0ca-65c1-4cc9-bc28-16253d7ce317\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"012d81eb-2bca-4b6a-9419-eb8df627d6bf\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/dd844c70-bd44-449b-8b7e-67f902a1c92f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/851d13d7-2178-40de-a6bf-87468dd39965?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:45 GMT'] + date: ['Wed, 20 Feb 2019 14:28:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/dd844c70-bd44-449b-8b7e-67f902a1c92f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/851d13d7-2178-40de-a6bf-87468dd39965?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:49 GMT'] + date: ['Wed, 20 Feb 2019 14:28:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"3961b934-d630-429f-a592-56e690b16585\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"ea4593f6-b2e7-4433-91d2-2f89dc005c93\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"e629c0ca-65c1-4cc9-bc28-16253d7ce317\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"012d81eb-2bca-4b6a-9419-eb8df627d6bf\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:50 GMT'] - etag: [W/"3961b934-d630-429f-a592-56e690b16585"] + date: ['Wed, 20 Feb 2019 14:28:53 GMT'] + etag: [W/"ea4593f6-b2e7-4433-91d2-2f89dc005c93"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"f12b03d9-92a4-47dc-ab9f-f44f48e81ee5\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"3eecf67a-e3ef-4c3d-8fd1-3b287a6d7d2d\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"f12b03d9-92a4-47dc-ab9f-f44f48e81ee5\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"3eecf67a-e3ef-4c3d-8fd1-3b287a6d7d2d\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/26892b1a-a8d6-470a-a2ac-6bb82bcd1b87?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b1771ef6-d42d-4b47-8f41-3db1f7fa0924?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:51 GMT'] + date: ['Wed, 20 Feb 2019 14:28:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] status: {code: 201, message: Created} - request: body: null @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/26892b1a-a8d6-470a-a2ac-6bb82bcd1b87?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b1771ef6-d42d-4b47-8f41-3db1f7fa0924?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:54 GMT'] + date: ['Wed, 20 Feb 2019 14:28:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"ed424d6e-7db0-4004-bfe2-d8a26588e4f0\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"3b932532-465d-4cfc-b052-895f15f4a479\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"ed424d6e-7db0-4004-bfe2-d8a26588e4f0\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"3b932532-465d-4cfc-b052-895f15f4a479\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:55 GMT'] - etag: [W/"ed424d6e-7db0-4004-bfe2-d8a26588e4f0"] + date: ['Wed, 20 Feb 2019 14:28:59 GMT'] + etag: [W/"3b932532-465d-4cfc-b052-895f15f4a479"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,22 +261,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A40%3A11.9736427Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A29%3A04.4774175Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:12 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A11.9736427Z'"] + date: ['Wed, 20 Feb 2019 14:29:04 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A04.4774175Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb8d5b96-8370-4d49-a84d-505f588289ed","name":"bb8d5b96-8370-4d49-a84d-505f588289ed","status":"Succeeded","startTime":"2019-02-18T15:40:11.9254495Z","endTime":"2019-02-18T15:40:12.206722Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de","name":"d2cc6cab-12a5-4911-b635-aaacf5f6f1de","status":"Succeeded","startTime":"2019-02-20T14:29:04.4291228Z","endTime":"2019-02-20T14:29:04.7103802Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:44 GMT'] + date: ['Wed, 20 Feb 2019 14:29:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A40%3A12.2538407Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A29%3A04.7596176Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:44 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A12.2538407Z'"] + date: ['Wed, 20 Feb 2019 14:29:38 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A04.7596176Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,22 +351,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A40%3A49.3311114Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A29%3A41.9981967Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:40:50 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A49.3311114Z'"] + date: ['Wed, 20 Feb 2019 14:29:42 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A41.9981967Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fac3401c-5c59-43d7-af62-c7b477390722","name":"fac3401c-5c59-43d7-af62-c7b477390722","status":"Succeeded","startTime":"2019-02-18T15:40:49.2819491Z","endTime":"2019-02-18T15:40:49.7331509Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150","name":"8b0be358-019f-4708-b140-6b59cc6ad150","status":"Succeeded","startTime":"2019-02-20T14:29:41.942778Z","endTime":"2019-02-20T14:29:42.317781Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:20 GMT'] + date: ['Wed, 20 Feb 2019 14:30:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A40%3A49.8384715Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"569187f1-a303-8ecc-5255-fc1cb3d7570e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A29%3A42.3654594Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"381f2e7c-687e-695f-3754-441c1922ad13","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:22 GMT'] - etag: [W/"datetime'2019-02-18T15%3A40%3A49.8384715Z'"] + date: ['Wed, 20 Feb 2019 14:30:15 GMT'] + etag: [W/"datetime'2019-02-20T14%3A29%3A42.3654594Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +428,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag2": "Value1"}}' headers: @@ -435,7 +436,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['414'] + Content-Length: ['423'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] @@ -443,22 +444,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A26.2872965Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A19.7121162Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['926'] + content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:26 GMT'] - etag: [W/"datetime'2019-02-18T15%3A41%3A26.2872965Z'"] + date: ['Wed, 20 Feb 2019 14:30:19 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A19.7121162Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7","name":"c0419628-1a1e-4062-91fe-b2b74925fcf7","status":"Creating","startTime":"2019-02-18T15:41:26.237872Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af","name":"8da17c23-d49d-4d34-8390-1f8f00bb32af","status":"Creating","startTime":"2019-02-20T14:30:19.6610494Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['636'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:41:58 GMT'] + date: ['Wed, 20 Feb 2019 14:30:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +503,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c0419628-1a1e-4062-91fe-b2b74925fcf7","name":"c0419628-1a1e-4062-91fe-b2b74925fcf7","status":"Succeeded","startTime":"2019-02-18T15:41:26.237872Z","endTime":"2019-02-18T15:41:59.6095374Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af","name":"8da17c23-d49d-4d34-8390-1f8f00bb32af","status":"Succeeded","startTime":"2019-02-20T14:30:19.6610494Z","endTime":"2019-02-20T14:30:52.8293325Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['647'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:29 GMT'] + date: ['Wed, 20 Feb 2019 14:31:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -531,15 +532,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A59.6389285Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a97f1600","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cc0e3244-f3d7-9163-4474-b4e916797411","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:31 GMT'] - etag: [W/"datetime'2019-02-18T15%3A41%3A59.6389285Z'"] + date: ['Wed, 20 Feb 2019 14:31:24 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -561,15 +562,45 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + headers: + cache-control: [no-cache] + content-length: ['1626'] + content-type: [application/json; charset=utf-8] + date: ['Wed, 20 Feb 2019 14:31:26 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume show] + Connection: [keep-alive] + ParameterSetName: [-g --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A41%3A59.6389285Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a97f1600","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"cc0e3244-f3d7-9163-4474-b4e916797411","fileSystemId":"e9d66977-6950-5668-9f96-4433baf1a47e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:32 GMT'] - etag: [W/"datetime'2019-02-18T15%3A41%3A59.6389285Z'"] + date: ['Wed, 20 Feb 2019 14:31:28 GMT'] + etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -592,18 +623,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:42:38 GMT'] + date: ['Wed, 20 Feb 2019 14:31:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdORFYyMk5SM1pYUVA2T1VTQjNTQUpJR1lFSFUzWEJDUDVGQ3w1RTY0MzAxNzI3QjI2ODJFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSTVOWFYyU0g1TUpQQjVDWVJCWEpaRFY2SllVWDVGU3w1MUQxQUFCQzBCREU4Mjc5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml index fa0f0b6c3a2..3f2d4bd3d84 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:41:24Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:51:25Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:41:24Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:51:25Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:26 GMT'] + date: ['Wed, 20 Feb 2019 13:51:28 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.4848921Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.5283462Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:41:31 GMT'] - etag: [W/"datetime'2019-02-18T10%3A41%3A31.4848921Z'"] + date: ['Wed, 20 Feb 2019 13:51:31 GMT'] + etag: [W/"datetime'2019-02-20T13%3A51%3A31.5283462Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0c6cf5ea-072d-4b99-a326-62a8e86b0899","name":"0c6cf5ea-072d-4b99-a326-62a8e86b0899","status":"Succeeded","startTime":"2019-02-18T10:41:31.4222551Z","endTime":"2019-02-18T10:41:31.6905701Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd","name":"98994aad-2d1c-433c-8a41-237bd24ff9cd","status":"Succeeded","startTime":"2019-02-20T13:51:31.4641366Z","endTime":"2019-02-20T13:51:31.7612545Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:03 GMT'] + date: ['Wed, 20 Feb 2019 13:52:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.7450789Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.8095478Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:05 GMT'] - etag: [W/"datetime'2019-02-18T10%3A41%3A31.7450789Z'"] + date: ['Wed, 20 Feb 2019 13:52:03 GMT'] + etag: [W/"datetime'2019-02-20T13%3A51%3A31.8095478Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -131,22 +131,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A07.8019672Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.7269002Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:08 GMT'] - etag: [W/"datetime'2019-02-18T10%3A42%3A07.8019672Z'"] + date: ['Wed, 20 Feb 2019 13:52:09 GMT'] + etag: [W/"datetime'2019-02-20T13%3A52%3A08.7269002Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -160,14 +160,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cd760995-4feb-4ceb-b64c-a920d2e03ce5","name":"cd760995-4feb-4ceb-b64c-a920d2e03ce5","status":"Succeeded","startTime":"2019-02-18T10:42:07.7393921Z","endTime":"2019-02-18T10:42:08.0050354Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68","name":"0377a757-d797-4066-83ed-67a0b6a9af68","status":"Succeeded","startTime":"2019-02-20T13:52:08.6675732Z","endTime":"2019-02-20T13:52:08.9487867Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:39 GMT'] + date: ['Wed, 20 Feb 2019 13:52:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -188,15 +188,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A08.0631554Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.9990945Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:40 GMT'] - etag: [W/"datetime'2019-02-18T10%3A42%3A08.0631554Z'"] + date: ['Wed, 20 Feb 2019 13:52:40 GMT'] + etag: [W/"datetime'2019-02-20T13%3A52%3A08.9990945Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -218,14 +218,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A42%3A08.0631554Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A41%3A31.7450789Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.9990945Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.8095478Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['969'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:42:42 GMT'] + date: ['Wed, 20 Feb 2019 13:52:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -248,16 +248,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:42:45 GMT'] + date: ['Wed, 20 Feb 2019 13:52:43 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -276,14 +276,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4fdce396-5a6e-4e1a-b63e-0f75958daff6","name":"4fdce396-5a6e-4e1a-b63e-0f75958daff6","status":"Succeeded","startTime":"2019-02-18T10:42:45.8237546Z","endTime":"2019-02-18T10:42:45.901884Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98","name":"f6d7e901-264a-4ca8-ac29-9d634d16ce98","status":"Succeeded","startTime":"2019-02-20T13:52:44.5231521Z","endTime":"2019-02-20T13:52:44.6012807Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:43:18 GMT'] + date: ['Wed, 20 Feb 2019 13:53:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -306,16 +306,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:43:44 GMT'] + date: ['Wed, 20 Feb 2019 13:53:18 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -334,14 +334,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a","name":"ac8d5608-c0c2-4d80-ad6d-6c90fdc3e96a","status":"Succeeded","startTime":"2019-02-18T10:43:23.1103364Z","endTime":"2019-02-18T10:43:23.1884346Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865","name":"11a76c1d-5537-4d56-97a6-56139dfd7865","status":"Succeeded","startTime":"2019-02-20T13:53:18.2180582Z","endTime":"2019-02-20T13:53:18.2962231Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:03 GMT'] + date: ['Wed, 20 Feb 2019 13:53:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -363,22 +363,19 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:18 GMT'] + date: ['Wed, 20 Feb 2019 13:53:50 GMT'] expires: ['-1'] pragma: [no-cache] - server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: body: null @@ -393,15 +390,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:44:19 GMT'] + date: ['Wed, 20 Feb 2019 13:53:55 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdCQUpRWlFKRElRT0EyN0hPTllRRkdJQTdKM09YNFZFNFVWTnxCQ0Y3OTBCRDBDQTlFQzNCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNUxGV1lFR1hDSkY2VldOSVdTSVlGWkMzVEw2SUpMQ3xFNDEwMUNFNzM4RTZDODY4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml index b869780a835..5d116f4b2f1 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T14:41:08Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:37:50Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T14:41:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T14:37:50Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:13 GMT'] + date: ['Wed, 20 Feb 2019 14:37:54 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"11f7a30f-3f85-439b-b601-6407b888c0d0\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"0de37e81-af20-414c-b256-d7db9c7a2c61\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"7d0c1f8d-6a56-48eb-8ed2-3b50dfa2298f\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"a9e16f63-96fc-4d0b-becf-38cd144e4ee3\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fbe496c0-df0a-40ca-9d27-114c08c41c5f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4ab22115-f632-44ce-949a-f0c4f386ed12?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['805'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:19 GMT'] + date: ['Wed, 20 Feb 2019 14:38:00 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fbe496c0-df0a-40ca-9d27-114c08c41c5f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4ab22115-f632-44ce-949a-f0c4f386ed12?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:24 GMT'] + date: ['Wed, 20 Feb 2019 14:38:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"5de769da-3f83-4687-b38e-35ffb2d3d28a\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"9250ec51-e78f-4726-96b9-b0d7c73a1906\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"7d0c1f8d-6a56-48eb-8ed2-3b50dfa2298f\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"a9e16f63-96fc-4d0b-becf-38cd144e4ee3\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:25 GMT'] - etag: [W/"5de769da-3f83-4687-b38e-35ffb2d3d28a"] + date: ['Wed, 20 Feb 2019 14:38:06 GMT'] + etag: [W/"9250ec51-e78f-4726-96b9-b0d7c73a1906"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -153,11 +153,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"80563f52-70df-4b79-b894-bc9016bec243\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"19d367f3-a118-4540-b50c-61f6d5fba1cd\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"80563f52-70df-4b79-b894-bc9016bec243\\\"\"\ + ,\r\n \"etag\": \"W/\\\"19d367f3-a118-4540-b50c-61f6d5fba1cd\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +166,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ce2fe8ab-dc60-457d-8514-dad397ce7c55?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/55b779d0-5b2a-493f-91f3-43c8375a862a?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1274'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:26 GMT'] + date: ['Wed, 20 Feb 2019 14:38:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +189,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ce2fe8ab-dc60-457d-8514-dad397ce7c55?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/55b779d0-5b2a-493f-91f3-43c8375a862a?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:31 GMT'] + date: ['Wed, 20 Feb 2019 14:38:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -220,11 +220,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"055bfb90-0898-4d04-a1fa-8156c139171b\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"055bfb90-0898-4d04-a1fa-8156c139171b\\\"\"\ + ,\r\n \"etag\": \"W/\\\"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1275'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:32 GMT'] - etag: [W/"055bfb90-0898-4d04-a1fa-8156c139171b"] + date: ['Wed, 20 Feb 2019 14:38:12 GMT'] + etag: [W/"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,20 +262,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T14%3A41%3A37.3054275Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A38%3A17.5653746Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:41:37 GMT'] - etag: [W/"datetime'2019-02-18T14%3A41%3A37.3054275Z'"] + date: ['Wed, 20 Feb 2019 14:38:18 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A17.5653746Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +289,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6552987f-a7a2-4d89-bba9-4135b33881f5","name":"6552987f-a7a2-4d89-bba9-4135b33881f5","status":"Succeeded","startTime":"2019-02-18T14:41:37.2407999Z","endTime":"2019-02-18T14:41:37.5376351Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a","name":"d9d71a34-1a9a-4f4c-804e-dbee370f895a","status":"Succeeded","startTime":"2019-02-20T14:38:17.4962987Z","endTime":"2019-02-20T14:38:17.7932565Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:08 GMT'] + date: ['Wed, 20 Feb 2019 14:38:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +319,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T14%3A41%3A37.584624Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A38%3A17.844573Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:10 GMT'] - etag: [W/"datetime'2019-02-18T14%3A41%3A37.584624Z'"] + date: ['Wed, 20 Feb 2019 14:38:50 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A17.844573Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +352,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T14%3A42%3A15.6784362Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A38%3A54.5606033Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:15 GMT'] - etag: [W/"datetime'2019-02-18T14%3A42%3A15.6784362Z'"] + date: ['Wed, 20 Feb 2019 14:38:54 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A54.5606033Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +379,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/10760561-e202-48a5-89e8-f62de0fb1fce","name":"10760561-e202-48a5-89e8-f62de0fb1fce","status":"Succeeded","startTime":"2019-02-18T14:42:15.609804Z","endTime":"2019-02-18T14:42:16.2034985Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27","name":"42e3fc57-df4c-4a64-93a8-10589a938e27","status":"Succeeded","startTime":"2019-02-20T14:38:54.4940735Z","endTime":"2019-02-20T14:38:54.8534771Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:48 GMT'] + date: ['Wed, 20 Feb 2019 14:39:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +409,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T14%3A42%3A16.257844Z''\"","location":"westus2","properties":{"poolId":"cb504960-eaf5-066c-eff3-218473557b97","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A38%3A54.9038466Z''\"","location":"westus2","properties":{"poolId":"9e3717f0-c653-8410-d202-3fc0fcebea53","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['649'] + content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:48 GMT'] - etag: [W/"datetime'2019-02-18T14%3A42%3A16.257844Z'"] + date: ['Wed, 20 Feb 2019 14:39:27 GMT'] + etag: [W/"datetime'2019-02-20T14%3A38%3A54.9038466Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -444,20 +444,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T14%3A42%3A53.667174Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A39%3A32.8767685Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['900'] + content-length: ['901'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:42:53 GMT'] - etag: [W/"datetime'2019-02-18T14%3A42%3A53.667174Z'"] + date: ['Wed, 20 Feb 2019 14:39:32 GMT'] + etag: [W/"datetime'2019-02-20T14%3A39%3A32.8767685Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1192'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,43 +472,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3","name":"04b5bd80-250e-4853-8af1-bf1c76623ab3","status":"Creating","startTime":"2019-02-18T14:42:53.6109052Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:43:26 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/04b5bd80-250e-4853-8af1-bf1c76623ab3","name":"04b5bd80-250e-4853-8af1-bf1c76623ab3","status":"Succeeded","startTime":"2019-02-18T14:42:53.6109052Z","endTime":"2019-02-18T14:43:33.5920087Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741","name":"157555c7-ba1d-451b-8572-6f8f7169d741","status":"Succeeded","startTime":"2019-02-20T14:39:32.8222794Z","endTime":"2019-02-20T14:40:02.0022952Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:43:57 GMT'] + date: ['Wed, 20 Feb 2019 14:40:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +503,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T14%3A43%3A33.6202949Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_25072f96","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"74fda063-3be6-a4a9-b473-4835dfb25e49","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A40%3A02.0314388Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_8300a848","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"3426a906-c18f-c4c9-4614-0a1c6d11111e","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1588'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:43:59 GMT'] - etag: [W/"datetime'2019-02-18T14%3A43%3A33.6202949Z'"] + date: ['Wed, 20 Feb 2019 14:40:05 GMT'] + etag: [W/"datetime'2019-02-20T14%3A40%3A02.0314388Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -562,12 +533,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/74fda063-3be6-a4a9-b473-4835dfb25e49","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/74fda063-3be6-a4a9-b473-4835dfb25e49","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"74fda063-3be6-a4a9-b473-4835dfb25e49","fileSystemId":"d1fbe8f0-64d2-c1e3-37dd-4094531aee29","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/3426a906-c18f-c4c9-4614-0a1c6d11111e","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/3426a906-c18f-c4c9-4614-0a1c6d11111e","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"3426a906-c18f-c4c9-4614-0a1c6d11111e","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} headers: cache-control: [no-cache] content-length: ['836'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 14:44:02 GMT'] + date: ['Wed, 20 Feb 2019 14:40:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -596,12 +567,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 14:44:05 GMT'] + date: ['Wed, 20 Feb 2019 14:40:11 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdPNjdNQUk0WFE0U0hORVpSSFVEWTJIV1JHQVFVRlpKMlNMRHw2RERGQTFEQTUyNDA4MERCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdGTFROVkhNV1RVSjZRN0Q3VVVYNUlDVjNRVlZaTVRVNVpFV3wxOTYzNjQ5MTE5Q0QxOENELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml index 8121e9f5e36..9d806907091 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:26:20Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:00:35Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:26:20Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:00:35Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:23 GMT'] + date: ['Wed, 20 Feb 2019 14:00:38 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A26%3A27.7120965Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A00%3A41.5598419Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:27 GMT'] - etag: [W/"datetime'2019-02-18T11%3A26%3A27.7120965Z'"] + date: ['Wed, 20 Feb 2019 14:00:41 GMT'] + etag: [W/"datetime'2019-02-20T14%3A00%3A41.5598419Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6ef10aec-a549-42eb-96be-8a4eab10b54b","name":"6ef10aec-a549-42eb-96be-8a4eab10b54b","status":"Succeeded","startTime":"2019-02-18T11:26:27.6410207Z","endTime":"2019-02-18T11:26:27.937925Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd","name":"6076bef2-b3ba-43f6-9195-2861fa606ccd","status":"Succeeded","startTime":"2019-02-20T14:00:41.4954389Z","endTime":"2019-02-20T14:00:41.7923216Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:26:59 GMT'] + date: ['Wed, 20 Feb 2019 14:01:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A26%3A27.9953171Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A00%3A41.8440438Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:00 GMT'] - etag: [W/"datetime'2019-02-18T11%3A26%3A27.9953171Z'"] + date: ['Wed, 20 Feb 2019 14:01:15 GMT'] + etag: [W/"datetime'2019-02-20T14%3A00%3A41.8440438Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,22 +132,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A04.9610324Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.1141759Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:04 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A04.9610324Z'"] + date: ['Wed, 20 Feb 2019 14:01:20 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A20.1141759Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6d293560-1290-47ad-b80e-1a31ac5b4bcd","name":"6d293560-1290-47ad-b80e-1a31ac5b4bcd","status":"Succeeded","startTime":"2019-02-18T11:27:04.9120218Z","endTime":"2019-02-18T11:27:05.3027011Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75","name":"cb519edf-8c69-4ad1-9290-eba1217e0c75","status":"Succeeded","startTime":"2019-02-20T14:01:20.0661035Z","endTime":"2019-02-20T14:01:20.4723019Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:36 GMT'] + date: ['Wed, 20 Feb 2019 14:01:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,15 +189,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A05.353336Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2101cb89-bf29-4346-8741-e171d85256df","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.5154608Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f6135f90-5dfa-fc29-0378-df9c9c6ac36e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['674'] + content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:37 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A05.353336Z'"] + date: ['Wed, 20 Feb 2019 14:01:53 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A20.5154608Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -222,22 +222,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.3770448Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A57.9469993Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:27:41 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A41.3770448Z'"] + date: ['Wed, 20 Feb 2019 14:01:58 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A57.9469993Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -251,14 +251,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5890a804-a81d-498c-8647-6c64eee04373","name":"5890a804-a81d-498c-8647-6c64eee04373","status":"Succeeded","startTime":"2019-02-18T11:27:41.3287534Z","endTime":"2019-02-18T11:27:41.7095827Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6","name":"be70704e-cc7c-45c6-9e34-6a74c86d72a6","status":"Succeeded","startTime":"2019-02-20T14:01:57.89473Z","endTime":"2019-02-20T14:01:58.2541197Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:12 GMT'] + date: ['Wed, 20 Feb 2019 14:02:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -279,15 +279,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.7603385Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"68f98fd0-6e7d-64ab-ea46-9ec2e221896e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A58.2972472Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"dcb2fef4-fe0f-f3fc-74fd-7e117684cf5e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:13 GMT'] - etag: [W/"datetime'2019-02-18T11%3A27%3A41.7603385Z'"] + date: ['Wed, 20 Feb 2019 14:02:31 GMT'] + etag: [W/"datetime'2019-02-20T14%3A01%3A58.2972472Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -309,14 +309,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A05.353336Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2101cb89-bf29-4346-8741-e171d85256df","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A27%3A41.7603385Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"68f98fd0-6e7d-64ab-ea46-9ec2e221896e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.5154608Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f6135f90-5dfa-fc29-0378-df9c9c6ac36e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A58.2972472Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"dcb2fef4-fe0f-f3fc-74fd-7e117684cf5e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] - content-length: ['1362'] + content-length: ['1363'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:15 GMT'] + date: ['Wed, 20 Feb 2019 14:02:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -339,16 +339,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:28:17 GMT'] + date: ['Wed, 20 Feb 2019 14:02:37 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -367,14 +367,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0f5cdcae-6f84-4458-8d8c-6bc56ad735fe","name":"0f5cdcae-6f84-4458-8d8c-6bc56ad735fe","status":"Succeeded","startTime":"2019-02-18T11:28:18.1365561Z","endTime":"2019-02-18T11:28:21.3715564Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5","name":"99c70979-01e6-4b4d-a7c4-9bf6358d82e5","status":"Succeeded","startTime":"2019-02-20T14:02:37.1301277Z","endTime":"2019-02-20T14:02:40.335556Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:28:47 GMT'] + date: ['Wed, 20 Feb 2019 14:03:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -397,16 +397,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:28:51 GMT'] + date: ['Wed, 20 Feb 2019 14:03:10 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -425,14 +425,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/64c2a9d1-15a7-4e75-a936-26bf0483b4e5","name":"64c2a9d1-15a7-4e75-a936-26bf0483b4e5","status":"Succeeded","startTime":"2019-02-18T11:28:51.8530756Z","endTime":"2019-02-18T11:28:55.0210196Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066","name":"1e9ddb70-b940-440f-9a6d-68a0bd4ef066","status":"Succeeded","startTime":"2019-02-20T14:03:11.4974465Z","endTime":"2019-02-20T14:03:14.8412929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:23 GMT'] + date: ['Wed, 20 Feb 2019 14:03:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -454,14 +454,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:25 GMT'] + date: ['Wed, 20 Feb 2019 14:03:44 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -484,18 +484,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:29:31 GMT'] + date: ['Wed, 20 Feb 2019 14:03:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaSDMzUkdMVU1URERPVU9MQkhaWURQWUU2UTZKUUVJR0ZNVXw4QjEyNUI2MUUyNDFBNTYwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWVU0QzJMVEJVMlNJS0dUQ0lLV1ZRWkRUVkYzNUpNRHxEMUFBOTAxRUU0ODZDQzQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml index 17ba5c9feb5..06e149b752e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T17:29:08Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:01:49Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,29 +16,29 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T17:29:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T15:01:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:12 GMT'] + date: ['Wed, 20 Feb 2019 15:01:53 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"9d57e938-0f2e-4a36-a3b1-32d7ac8517cf\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"3cf6df38-6756-4062-a2c6-26915b8d5fe7\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"e3264f1a-1039-4ba8-bd2c-e78b2f5c1b18\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"cf8453be-54cd-45c4-a26b-f54c64c09a18\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/968ec839-0aa1-41af-9724-2a42a6f61bea?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1ab26b7b-4a51-4f83-8ff4-a00eba29b399?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:16 GMT'] + date: ['Wed, 20 Feb 2019 15:01:59 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/968ec839-0aa1-41af-9724-2a42a6f61bea?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1ab26b7b-4a51-4f83-8ff4-a00eba29b399?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:21 GMT'] + date: ['Wed, 20 Feb 2019 15:02:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET @@ -111,21 +111,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"c3915ec7-1953-42a0-b9b9-5e4302a35bfa\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"7eb81694-cabc-47f1-8eb6-a4eeed26399c\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"e3264f1a-1039-4ba8-bd2c-e78b2f5c1b18\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"cf8453be-54cd-45c4-a26b-f54c64c09a18\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:21 GMT'] - etag: [W/"c3915ec7-1953-42a0-b9b9-5e4302a35bfa"] + date: ['Wed, 20 Feb 2019 15:02:05 GMT'] + etag: [W/"7eb81694-cabc-47f1-8eb6-a4eeed26399c"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000008", "properties": {"addressPrefix": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"2f9e120f-26b7-4823-bd9a-5eacd26e2c32\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ + ,\r\n \"etag\": \"W/\\\"95995467-93ca-46bd-a211-cf46ae6011cf\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"2f9e120f-26b7-4823-bd9a-5eacd26e2c32\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"95995467-93ca-46bd-a211-cf46ae6011cf\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/725f6b28-f76f-4eaf-b0a2-c959b772d97b?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:22 GMT'] + date: ['Wed, 20 Feb 2019 15:02:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -189,41 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01 - response: - body: {string: !!python/unicode "{\r\n \"status\": \"InProgress\"\r\n}"} - headers: - cache-control: [no-cache] - content-length: ['30'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:27 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [network vnet subnet create] - Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/06c8daf6-0865-4ada-a650-06945e853679?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/725f6b28-f76f-4eaf-b0a2-c959b772d97b?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:39 GMT'] + date: ['Wed, 20 Feb 2019 15:03:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -243,15 +217,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"30ef5a50-5dd1-4876-8495-5a66ed863933\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ + ,\r\n \"etag\": \"W/\\\"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"30ef5a50-5dd1-4876-8495-5a66ed863933\\\"\"\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -261,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:39 GMT'] - etag: [W/"30ef5a50-5dd1-4876-8495-5a66ed863933"] + date: ['Wed, 20 Feb 2019 15:02:13 GMT'] + etag: [W/"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -289,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A29%3A44.0222612Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A02%3A20.9301913Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:29:44 GMT'] - etag: [W/"datetime'2019-02-18T17%3A29%3A44.0222612Z'"] + date: ['Wed, 20 Feb 2019 15:02:40 GMT'] + etag: [W/"datetime'2019-02-20T15%3A02%3A20.9301913Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -316,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ee512b1-e332-49e0-baf7-41a975a4bf34","name":"8ee512b1-e332-49e0-baf7-41a975a4bf34","status":"Succeeded","startTime":"2019-02-18T17:29:43.9679791Z","endTime":"2019-02-18T17:29:44.245767Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c","name":"bbfb8456-12c7-4f87-b573-8aa63aa9090c","status":"Succeeded","startTime":"2019-02-20T15:02:20.8684737Z","endTime":"2019-02-20T15:02:21.1497248Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:16 GMT'] + date: ['Wed, 20 Feb 2019 15:03:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -346,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T17%3A29%3A44.2914502Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A02%3A21.1963818Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:16 GMT'] - etag: [W/"datetime'2019-02-18T17%3A29%3A44.2914502Z'"] + date: ['Wed, 20 Feb 2019 15:04:02 GMT'] + etag: [W/"datetime'2019-02-20T15%3A02%3A21.1963818Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -379,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A30%3A21.1313798Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A03%3A01.8814194Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:21 GMT'] - etag: [W/"datetime'2019-02-18T17%3A30%3A21.1313798Z'"] + date: ['Wed, 20 Feb 2019 15:03:13 GMT'] + etag: [W/"datetime'2019-02-20T15%3A03%3A01.8814194Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -406,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b24eabb-58a7-4bdf-a5f9-db21a8596378","name":"8b24eabb-58a7-4bdf-a5f9-db21a8596378","status":"Succeeded","startTime":"2019-02-18T17:30:21.0901729Z","endTime":"2019-02-18T17:30:23.8291697Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec","name":"b902110a-d3a9-4c49-afce-ae0da9db5bec","status":"Succeeded","startTime":"2019-02-20T15:03:01.8198977Z","endTime":"2019-02-20T15:03:02.2417082Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:52 GMT'] + date: ['Wed, 20 Feb 2019 15:03:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -436,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T17%3A30%3A23.8793144Z''\"","location":"westus2","properties":{"poolId":"7018f347-46eb-4be4-9920-4ce74b0921dc","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A03%3A02.2947123Z''\"","location":"westus2","properties":{"poolId":"086b6040-7aff-2687-5081-0341f16403d3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:54 GMT'] - etag: [W/"datetime'2019-02-18T17%3A30%3A23.8793144Z'"] + date: ['Wed, 20 Feb 2019 15:03:35 GMT'] + etag: [W/"datetime'2019-02-20T15%3A03%3A02.2947123Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -454,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -471,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A30%3A58.5066863Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A03%3A40.8642402Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:30:58 GMT'] - etag: [W/"datetime'2019-02-18T17%3A30%3A58.5066863Z'"] + date: ['Wed, 20 Feb 2019 15:03:41 GMT'] + etag: [W/"datetime'2019-02-20T15%3A03%3A40.8642402Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -499,43 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","name":"f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","status":"Creating","startTime":"2019-02-18T17:30:58.4559144Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:31:30 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","name":"f23d9a7c-4242-4e6b-be8c-516d0a67fcfe","status":"Succeeded","startTime":"2019-02-18T17:30:58.4559144Z","endTime":"2019-02-18T17:31:34.2869362Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c","name":"98701f62-6d2d-4db6-9c14-87c2fcbacd8c","status":"Succeeded","startTime":"2019-02-20T15:03:40.8055188Z","endTime":"2019-02-20T15:04:10.3593713Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:01 GMT'] + date: ['Wed, 20 Feb 2019 15:04:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -559,13 +504,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T17%3A31%3A34.3229318Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_a827ded3","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a972ea79-fdc6-0403-4bad-8f9b955db841","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A04%3A10.3883099Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_ad48a205","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"dac0f0ce-109a-308b-28a7-9842c1bca873","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:02 GMT'] - etag: [W/"datetime'2019-02-18T17%3A31%3A34.3229318Z'"] + date: ['Wed, 20 Feb 2019 15:04:13 GMT'] + etag: [W/"datetime'2019-02-20T15%3A04%3A10.3883099Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -576,7 +521,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "f614d1df-17c7-07a3-0314-70d80741f75e"}, + body: !!python/unicode '{"properties": {"fileSystemId": "8192477a-0b9d-d7e9-f9a1-312868eb5eaf"}, "location": "westus2"}' headers: Accept: [application/json] @@ -592,23 +537,23 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 - 5:32:10 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"50e47773-f352-428c-0e2d-a09a4be97cf6","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000005","created":"2019-02-18T17:32:07Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:04:21 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"ba94313e-7294-26f6-2081-54af109199c2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000005","created":"2019-02-20T15:04:19Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:10 GMT'] + date: ['Wed, 20 Feb 2019 15:04:22 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "f614d1df-17c7-07a3-0314-70d80741f75e"}, + body: !!python/unicode '{"properties": {"fileSystemId": "8192477a-0b9d-d7e9-f9a1-312868eb5eaf"}, "location": "westus2"}' headers: Accept: [application/json] @@ -624,19 +569,19 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/18/2019 - 5:32:17 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"8bdf53ca-d495-9a0a-f306-7bfc1c0c18c2","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000006","created":"2019-02-18T17:32:14Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 + 3:04:29 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"4aa3bc8e-3d72-5839-de06-5dcdfe5448e2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000006","created":"2019-02-20T15:04:26Z"}}'} headers: cache-control: [no-cache] content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:17 GMT'] + date: ['Wed, 20 Feb 2019 15:04:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -653,12 +598,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"50e47773-f352-428c-0e2d-a09a4be97cf6","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000005","created":"2019-02-18T17:32:07Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"8bdf53ca-d495-9a0a-f306-7bfc1c0c18c2","fileSystemId":"f614d1df-17c7-07a3-0314-70d80741f75e","name":"cli-sn-000006","created":"2019-02-18T17:32:14Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"ba94313e-7294-26f6-2081-54af109199c2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000005","created":"2019-02-20T15:04:19Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"4aa3bc8e-3d72-5839-de06-5dcdfe5448e2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000006","created":"2019-02-20T15:04:26Z"}}]}'} headers: cache-control: [no-cache] content-length: ['1509'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 17:32:18 GMT'] + date: ['Wed, 20 Feb 2019 15:05:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -687,12 +632,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 17:32:23 GMT'] + date: ['Wed, 20 Feb 2019 15:04:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdaV0dNWVpPVEpYRFhBMjZaTFpGR0lLSTdTNUJVS0w2SDRMNHw1Q0FEOTdCRkI4MDk4NEQyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdKWlFDUU9OSERETUVIUTZJWVlBRFlCWE9JNkhGUEI2SDRHRnwwODEwODZFQzY5RDZFN0FELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml index 2f8c42f648c..226989a6be0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:33:39Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:24:26Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:33:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T15:24:26Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:44 GMT'] + date: ['Wed, 20 Feb 2019 15:24:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -30,44 +30,44 @@ interactions: status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"b2448de7-5479-443f-8674-de1d6139589c\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"653bca3e-7d74-4972-bbce-2a21db008c86\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"dcd7d47a-5923-48cd-b29b-a98385b297b3\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"f4332b57-6c66-4f39-a764-8983ed29b1ff\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6ad01bd2-d088-44de-ad8a-28e897997b1a?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/822bf5c6-0f21-4701-8a07-33f089895a65?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:49 GMT'] + date: ['Wed, 20 Feb 2019 15:24:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6ad01bd2-d088-44de-ad8a-28e897997b1a?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/822bf5c6-0f21-4701-8a07-33f089895a65?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:53 GMT'] + date: ['Wed, 20 Feb 2019 15:24:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"9259f3fb-351a-4d23-be76-2629e32ead06\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"3b8ffc46-8811-4bea-8282-ee0ef1099cbf\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"dcd7d47a-5923-48cd-b29b-a98385b297b3\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"f4332b57-6c66-4f39-a764-8983ed29b1ff\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:54 GMT'] - etag: [W/"9259f3fb-351a-4d23-be76-2629e32ead06"] + date: ['Wed, 20 Feb 2019 15:24:53 GMT'] + etag: [W/"3b8ffc46-8811-4bea-8282-ee0ef1099cbf"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"0f5d0dc2-3fac-45f9-9527-fa070ccdec6c\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"6e792952-a52e-4490-b248-01d1318f8722\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"0f5d0dc2-3fac-45f9-9527-fa070ccdec6c\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"6e792952-a52e-4490-b248-01d1318f8722\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,11 +167,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cf69824b-7d8a-4d1c-954b-169d62898b1b?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a90732d6-1885-40ad-aa4d-59b5a3d1c422?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:56 GMT'] + date: ['Wed, 20 Feb 2019 15:24:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cf69824b-7d8a-4d1c-954b-169d62898b1b?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a90732d6-1885-40ad-aa4d-59b5a3d1c422?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:33:59 GMT'] + date: ['Wed, 20 Feb 2019 15:25:14 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"534e2dae-9306-46cf-bc13-f28258570d1a\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"d7905402-7b50-4cc4-9168-9064dc162dd1\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"534e2dae-9306-46cf-bc13-f28258570d1a\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"d7905402-7b50-4cc4-9168-9064dc162dd1\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:00 GMT'] - etag: [W/"534e2dae-9306-46cf-bc13-f28258570d1a"] + date: ['Wed, 20 Feb 2019 15:25:28 GMT'] + etag: [W/"d7905402-7b50-4cc4-9168-9064dc162dd1"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,16 +261,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A34%3A05.7629172Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A24%3A59.6043327Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:05 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A05.7629172Z'"] + date: ['Wed, 20 Feb 2019 15:25:19 GMT'] + etag: [W/"datetime'2019-02-20T15%3A24%3A59.6043327Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/252fe15a-f3a6-48e9-8cb6-386461d46437","name":"252fe15a-f3a6-48e9-8cb6-386461d46437","status":"Succeeded","startTime":"2019-02-18T15:34:05.6653387Z","endTime":"2019-02-18T15:34:05.9926004Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3","name":"4f96eac1-5cee-4bdc-8e90-dc45481950e3","status":"Succeeded","startTime":"2019-02-20T15:24:59.5307857Z","endTime":"2019-02-20T15:24:59.8308075Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:37 GMT'] + date: ['Wed, 20 Feb 2019 15:25:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A34%3A06.046117Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A24%3A59.881531Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:38 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A06.046117Z'"] + date: ['Wed, 20 Feb 2019 15:25:32 GMT'] + etag: [W/"datetime'2019-02-20T15%3A24%3A59.881531Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,22 +351,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A34%3A41.9403806Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A25%3A37.9717042Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:34:42 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A41.9403806Z'"] + date: ['Wed, 20 Feb 2019 15:25:38 GMT'] + etag: [W/"datetime'2019-02-20T15%3A25%3A37.9717042Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/abcadb9d-42ca-46da-bc8e-47dcf7b9eb62","name":"abcadb9d-42ca-46da-bc8e-47dcf7b9eb62","status":"Succeeded","startTime":"2019-02-18T15:34:41.8790307Z","endTime":"2019-02-18T15:34:42.3946184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b","name":"84c45784-fa64-4c1b-9d63-147ac7daf86b","status":"Succeeded","startTime":"2019-02-20T15:25:37.9150354Z","endTime":"2019-02-20T15:25:38.2643959Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:14 GMT'] + date: ['Wed, 20 Feb 2019 15:26:09 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A34%3A42.4407332Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"6036020d-e40f-f83d-187c-b6778ac38be5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A25%3A38.3069418Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"3b927fee-20aa-4a9b-a449-8926a99c291e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:15 GMT'] - etag: [W/"datetime'2019-02-18T15%3A34%3A42.4407332Z'"] + date: ['Wed, 20 Feb 2019 15:26:11 GMT'] + etag: [W/"datetime'2019-02-20T15%3A25%3A38.3069418Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +428,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": "Value1"}}' headers: @@ -435,7 +436,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['414'] + Content-Length: ['423'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] @@ -443,16 +444,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A35%3A20.2293301Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A16.9203182Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['926'] + content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:20 GMT'] - etag: [W/"datetime'2019-02-18T15%3A35%3A20.2293301Z'"] + date: ['Wed, 20 Feb 2019 15:26:17 GMT'] + etag: [W/"datetime'2019-02-20T15%3A26%3A16.9203182Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -473,43 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844","name":"3ba95aae-8379-442d-b169-e495c9672844","status":"Creating","startTime":"2019-02-18T15:35:20.1693117Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:35:58 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ba95aae-8379-442d-b169-e495c9672844","name":"3ba95aae-8379-442d-b169-e495c9672844","status":"Succeeded","startTime":"2019-02-18T15:35:20.1693117Z","endTime":"2019-02-18T15:36:04.1439095Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150","name":"52d9b169-46ed-4b7a-a0c0-2bf92eb58150","status":"Succeeded","startTime":"2019-02-20T15:26:16.8594852Z","endTime":"2019-02-20T15:26:49.3733161Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:36:26 GMT'] + date: ['Wed, 20 Feb 2019 15:26:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -531,110 +503,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A04.1822662Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a095199c-aaa6-c16e-ee58-d978cd228698","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A49.4083513Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_55cd961b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"18d9bbcd-3c4c-b5ba-595e-95c274c2343e","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:36:25 GMT'] - etag: [W/"datetime'2019-02-18T15%3A36%3A04.1822662Z'"] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": - 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default", - "serviceLevel": "Premium", "creationToken": "cli-vol-000005"}, "tags": {"Tag1": - "Value1"}}' - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - Content-Length: ['414'] - Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token - --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A35.8645661Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000005","provisioningState":"Creating"}}'} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef?api-version=2017-08-15'] - cache-control: [no-cache] - content-length: ['926'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:36:38 GMT'] - etag: [W/"datetime'2019-02-18T15%3A36%3A35.8645661Z'"] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] - x-powered-by: [ASP.NET] - status: {code: 201, message: Created} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token - --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/35ace153-2ecc-45d4-8f3c-721c6ab162ef","name":"35ace153-2ecc-45d4-8f3c-721c6ab162ef","status":"Succeeded","startTime":"2019-02-18T15:36:35.7894408Z","endTime":"2019-02-18T15:36:47.9585902Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} - headers: - cache-control: [no-cache] - content-length: ['648'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [-g -a -p -v -l --service-level --usage-threshold --creation-token - --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A47.9881109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7b64453-df3f-0152-d323-d33055e23d10","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","startIp":"10.4.0.128","endIp":"10.4.0.191","gateway":"10.4.0.129","netmask":"255.255.255.192","ipAddress":"10.0.0.4"}]}}'} - headers: - cache-control: [no-cache] - content-length: ['1621'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:37:46 GMT'] - etag: [W/"datetime'2019-02-18T15%3A36%3A47.9881109Z'"] + date: ['Wed, 20 Feb 2019 15:27:03 GMT'] + etag: [W/"datetime'2019-02-20T15%3A26%3A49.4083513Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -656,14 +533,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A04.1822662Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a095199c-aaa6-c16e-ee58-d978cd228698","fileSystemId":"273c9f27-2d81-3a82-2283-9201959a3753","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A36%3A47.9881109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0810ad3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7b64453-df3f-0152-d323-d33055e23d10","fileSystemId":"9cb6505c-3110-9e7b-1cf3-459b03c84fea","startIp":"10.4.0.128","endIp":"10.4.0.191","gateway":"10.4.0.129","netmask":"255.255.255.192","ipAddress":"10.0.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A49.4083513Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_55cd961b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"18d9bbcd-3c4c-b5ba-595e-95c274c2343e","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}]}'} headers: cache-control: [no-cache] - content-length: ['3247'] + content-length: ['1638'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:37:15 GMT'] + date: ['Wed, 20 Feb 2019 15:27:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -686,16 +563,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:37:27 GMT'] + date: ['Wed, 20 Feb 2019 15:27:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -714,72 +591,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7a87853-85fd-49d1-a157-ab62fe51a574","name":"c7a87853-85fd-49d1-a157-ab62fe51a574","status":"Succeeded","startTime":"2019-02-18T15:37:19.8128409Z","endTime":"2019-02-18T15:37:23.6129913Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['648'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:00 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] - Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005?api-version=2017-08-15 - response: - body: {string: !!python/unicode ''} - headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15'] - cache-control: [no-cache] - content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:38:07 GMT'] - expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15&operationResultResponseType=Location'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] - x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] - Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e","name":"0b36e886-8ee4-449b-94fe-fc885b2a410e","status":"Deleting","startTime":"2019-02-18T15:37:56.3799961Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32","name":"92547f17-747e-4ebc-bdd2-f7323b5d6b32","status":"Deleting","startTime":"2019-02-20T15:26:58.6429708Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:27 GMT'] + date: ['Wed, 20 Feb 2019 15:27:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -800,14 +619,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0b36e886-8ee4-449b-94fe-fc885b2a410e","name":"0b36e886-8ee4-449b-94fe-fc885b2a410e","status":"Succeeded","startTime":"2019-02-18T15:37:56.3799961Z","endTime":"2019-02-18T15:38:49.33467Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000005"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32","name":"92547f17-747e-4ebc-bdd2-f7323b5d6b32","status":"Succeeded","startTime":"2019-02-20T15:26:58.6429708Z","endTime":"2019-02-20T15:27:45.1808275Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['646'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:38:58 GMT'] + date: ['Wed, 20 Feb 2019 15:28:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -829,14 +648,14 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:39:01 GMT'] + date: ['Wed, 20 Feb 2019 15:29:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -859,15 +678,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:39:04 GMT'] + date: ['Wed, 20 Feb 2019 15:28:21 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMRU9BVkc3SVc0N0tJTFBDTzJTSU1OWDJVUE5KWVBENTdJUnwwQjdEMkIxRTg5RDY4QzIyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSU1ZWkJQUEw2UVNTSzcyM1E2S1k0TjZPMkg1RFFOUXw5NUMyNDU4ODk4NUIyRjA1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml index 9c1d4633373..b6b41dd7411 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T10:44:14Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:53:55Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T10:44:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:53:55Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:16 GMT'] + date: ['Wed, 20 Feb 2019 13:53:57 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -42,16 +42,16 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.2418159Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.4060444Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:21 GMT'] - etag: [W/"datetime'2019-02-18T10%3A44%3A21.2418159Z'"] + date: ['Wed, 20 Feb 2019 13:54:02 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A02.4060444Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59a2d23a-1820-4e6f-8319-b07f36843d22","name":"59a2d23a-1820-4e6f-8319-b07f36843d22","status":"Succeeded","startTime":"2019-02-18T10:44:21.1971999Z","endTime":"2019-02-18T10:44:21.4784512Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf","name":"93c0c1bd-cb5a-4657-b27d-ff2e859616cf","status":"Succeeded","startTime":"2019-02-20T13:54:02.3392937Z","endTime":"2019-02-20T13:54:02.636145Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:52 GMT'] + date: ['Wed, 20 Feb 2019 13:54:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.5310226Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.687246Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:55 GMT'] - etag: [W/"datetime'2019-02-18T10%3A44%3A21.5310226Z'"] + date: ['Wed, 20 Feb 2019 13:54:35 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A02.687246Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -129,15 +129,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A44%3A21.5310226Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.687246Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:44:57 GMT'] - etag: [W/"datetime'2019-02-18T10%3A44%3A21.5310226Z'"] + date: ['Wed, 20 Feb 2019 13:54:36 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A02.687246Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -161,15 +161,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T10%3A45%3A00.0196504Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A39.8127469Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 10:45:01 GMT'] - etag: [W/"datetime'2019-02-18T10%3A45%3A00.0196504Z'"] + date: ['Wed, 20 Feb 2019 13:54:40 GMT'] + etag: [W/"datetime'2019-02-20T13%3A54%3A39.8127469Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -177,7 +177,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -193,18 +193,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 10:45:04 GMT'] + date: ['Wed, 20 Feb 2019 13:54:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdSVkg2U1RDNEJENzZZM1NaNkYzSVBFSk5SQjJFMkZFTlI1NnxCQkUzNDRGMTgwM0NCMjQ2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSEJWWU5JSExWNEpTVU5VVTNaS0pBVVBGTjVSTEQ0SXxGMkNGRUZCQUY2RjgyQTIxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml index 175ef2d6276..850f8b22855 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T11:29:31Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:03:48Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T11:29:31Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:03:48Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:34 GMT'] + date: ['Wed, 20 Feb 2019 14:03:50 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -42,22 +42,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A29%3A38.4205814Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A03%3A54.5000161Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:29:38 GMT'] - etag: [W/"datetime'2019-02-18T11%3A29%3A38.4205814Z'"] + date: ['Wed, 20 Feb 2019 14:03:54 GMT'] + etag: [W/"datetime'2019-02-20T14%3A03%3A54.5000161Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41faacdb-a4f1-4868-81e7-3ba68614720e","name":"41faacdb-a4f1-4868-81e7-3ba68614720e","status":"Succeeded","startTime":"2019-02-18T11:29:38.3591045Z","endTime":"2019-02-18T11:29:38.6359077Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de","name":"82709e4b-85f4-46e3-b769-4ad35b7f11de","status":"Succeeded","startTime":"2019-02-20T14:03:54.4377907Z","endTime":"2019-02-20T14:03:54.7190043Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:09 GMT'] + date: ['Wed, 20 Feb 2019 14:04:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -99,15 +99,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T11%3A29%3A38.6997903Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A03%3A54.7722091Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:11 GMT'] - etag: [W/"datetime'2019-02-18T11%3A29%3A38.6997903Z'"] + date: ['Wed, 20 Feb 2019 14:04:27 GMT'] + etag: [W/"datetime'2019-02-20T14%3A03%3A54.7722091Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,22 +132,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.4402725Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A31.8945279Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:15 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A15.4402725Z'"] + date: ['Wed, 20 Feb 2019 14:04:32 GMT'] + etag: [W/"datetime'2019-02-20T14%3A04%3A31.8945279Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a73a5a09-b753-45ea-861d-5fd8f8c7ef89","name":"a73a5a09-b753-45ea-861d-5fd8f8c7ef89","status":"Succeeded","startTime":"2019-02-18T11:30:15.3829537Z","endTime":"2019-02-18T11:30:15.8715498Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd","name":"2628f370-2e40-44df-b393-e3d0e6534fbd","status":"Succeeded","startTime":"2019-02-20T14:04:31.8404504Z","endTime":"2019-02-20T14:04:32.1998407Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:47 GMT'] + date: ['Wed, 20 Feb 2019 14:05:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,15 +189,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.9386418Z''\"","location":"westus2","properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A32.2537826Z''\"","location":"westus2","properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:53 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A15.9386418Z'"] + date: ['Wed, 20 Feb 2019 14:05:05 GMT'] + etag: [W/"datetime'2019-02-20T14%3A04%3A32.2537826Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -219,15 +219,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A15.9386418Z''\"","location":"westus2","properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A32.2537826Z''\"","location":"westus2","properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:55 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A15.9386418Z'"] + date: ['Wed, 20 Feb 2019 14:05:08 GMT'] + etag: [W/"datetime'2019-02-20T14%3A04%3A32.2537826Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -252,15 +252,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T11%3A30%3A58.319083Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"ceae02db-afde-f388-1f32-87008c2a36d4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A05%3A09.9535107Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['675'] + content-length: ['676'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 11:30:58 GMT'] - etag: [W/"datetime'2019-02-18T11%3A30%3A58.319083Z'"] + date: ['Wed, 20 Feb 2019 14:05:10 GMT'] + etag: [W/"datetime'2019-02-20T14%3A05%3A09.9535107Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -284,15 +284,15 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 11:31:03 GMT'] + date: ['Wed, 20 Feb 2019 14:05:15 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdHNlc2UzJNVFdCS1lHQVJRWUhFR0wyV05KRkhJVjM3STNRMnw0QjYxOEI4OEJGOEY4Q0ExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWlpYM0hIRTdIU1hMTEEzQ1JQNE1YTE5PSEdUR1NWT3wxNDY4NjA5MzY4ODVFMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml index dfcc62b98e5..0f811d57cc8 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-18T15:42:37Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:33:49Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,60 +14,60 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-18T15:42:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:33:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:40 GMT'] + date: ['Wed, 20 Feb 2019 14:33:50 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1192'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - Content-Length: ['124'] + Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"8a4c31ee-c1dc-4dcc-9631-44763fee1f42\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"4fbde2f4-53ee-4870-89b9-1c4a10e18689\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"c9e380d6-1367-4b1d-af04-a3cdc068a4cf\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"511acbe0-49c7-4845-8a06-8d69d2340056\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/65706dd7-346b-436a-a35a-a08b72d054da?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ba04e6a5-890a-495b-bbec-88133dfe4ea7?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['805'] + content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:45 GMT'] + date: ['Wed, 20 Feb 2019 14:33:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/65706dd7-346b-436a-a35a-a08b72d054da?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ba04e6a5-890a-495b-bbec-88133dfe4ea7?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:49 GMT'] + date: ['Wed, 20 Feb 2019 14:33:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,29 +103,29 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n -g -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ - id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"6f885da8-047e-4b9e-acd6-53e4b39dcb8f\\\"\",\r\n \ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ + ,\r\n \"etag\": \"W/\\\"55d95f5a-240d-4afe-b469-e1d5644e91a8\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"c9e380d6-1367-4b1d-af04-a3cdc068a4cf\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"511acbe0-49c7-4845-8a06-8d69d2340056\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ - : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ - \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ + : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: cache-control: [no-cache] - content-length: ['806'] + content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:49 GMT'] - etag: [W/"6f885da8-047e-4b9e-acd6-53e4b39dcb8f"] + date: ['Wed, 20 Feb 2019 14:33:59 GMT'] + etag: [W/"55d95f5a-240d-4afe-b469-e1d5644e91a8"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -135,29 +135,30 @@ interactions: x-content-type-options: [nosniff] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"name": "default", "properties": {"addressPrefix": "10.0.0.0/24", - "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' + body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": + "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - Content-Length: ['158'] + Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"fb36d173-1f55-40b7-ba35-ea15691fa362\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"675b211a-3d41-467d-ba07-4f88e4bbbadc\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"fb36d173-1f55-40b7-ba35-ea15691fa362\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"675b211a-3d41-467d-ba07-4f88e4bbbadc\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6e888cb7-7cd7-4ace-8e69-5650f9785e4f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f85eaa5d-6995-4137-8d38-dac1c4c323a7?api-version=2018-10-01'] cache-control: [no-cache] - content-length: ['1274'] + content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:51 GMT'] + date: ['Wed, 20 Feb 2019 14:34:00 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1190'] status: {code: 201, message: Created} - request: body: null @@ -185,18 +186,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/6e888cb7-7cd7-4ace-8e69-5650f9785e4f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f85eaa5d-6995-4137-8d38-dac1c4c323a7?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:55 GMT'] + date: ['Wed, 20 Feb 2019 14:34:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -212,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet subnet create] Connection: [keep-alive] - ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] + ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: - body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ - /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"0beb6905-473b-48c4-bc0c-8db03a2b16a5\\\"\",\r\n \ + body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"688294c3-0871-40e9-8568-134365d532ac\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ - \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"0beb6905-473b-48c4-bc0c-8db03a2b16a5\\\"\"\ + addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"688294c3-0871-40e9-8568-134365d532ac\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -234,10 +235,10 @@ interactions: \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: cache-control: [no-cache] - content-length: ['1275'] + content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:42:55 GMT'] - etag: [W/"0beb6905-473b-48c4-bc0c-8db03a2b16a5"] + date: ['Wed, 20 Feb 2019 14:34:04 GMT'] + etag: [W/"688294c3-0871-40e9-8568-134365d532ac"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -260,22 +261,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A43%3A00.0177097Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A34%3A09.4430871Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:00 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A00.0177097Z'"] + date: ['Wed, 20 Feb 2019 14:34:09 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A09.4430871Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -289,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1c578b19-626b-4724-ad4f-2eb85d598b03","name":"1c578b19-626b-4724-ad4f-2eb85d598b03","status":"Succeeded","startTime":"2019-02-18T15:42:59.9746211Z","endTime":"2019-02-18T15:43:00.2348247Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0","name":"a8afc8c8-c363-40d9-b702-4d482102ded0","status":"Succeeded","startTime":"2019-02-20T14:34:09.2726637Z","endTime":"2019-02-20T14:34:09.6632479Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:31 GMT'] + date: ['Wed, 20 Feb 2019 14:34:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -317,15 +318,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-18T15%3A43%3A00.2828975Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A34%3A09.7152812Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:33 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A00.2828975Z'"] + date: ['Wed, 20 Feb 2019 14:34:43 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A09.7152812Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -350,22 +351,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A43%3A36.6066329Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A34%3A47.6442385Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:43:36 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A36.6066329Z'"] + date: ['Wed, 20 Feb 2019 14:34:48 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A47.6442385Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1193'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/13146883-9787-4299-9473-e3e91b75963c","name":"13146883-9787-4299-9473-e3e91b75963c","status":"Succeeded","startTime":"2019-02-18T15:43:36.5595321Z","endTime":"2019-02-18T15:43:37.0595993Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac","name":"89e3affc-9b91-445b-ad8f-65859d582bac","status":"Succeeded","startTime":"2019-02-20T14:34:47.5865323Z","endTime":"2019-02-20T14:34:48.0708984Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:08 GMT'] + date: ['Wed, 20 Feb 2019 14:35:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -407,15 +408,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-18T15%3A43%3A37.1219991Z''\"","location":"westus2","properties":{"poolId":"86ded845-a656-23cb-b92e-065a5ae18c68","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A34%3A48.1245795Z''\"","location":"westus2","properties":{"poolId":"85f927d5-3941-7af6-397f-280b48a8a73c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:09 GMT'] - etag: [W/"datetime'2019-02-18T15%3A43%3A37.1219991Z'"] + date: ['Wed, 20 Feb 2019 14:35:20 GMT'] + etag: [W/"datetime'2019-02-20T14%3A34%3A48.1245795Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,14 +428,14 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "subnetId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume create] Connection: [keep-alive] - Content-Length: ['386'] + Content-Length: ['395'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] @@ -442,22 +443,22 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A14.3333645Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A35%3A24.7365369Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['901'] + content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:14 GMT'] - etag: [W/"datetime'2019-02-18T15%3A44%3A14.3333645Z'"] + date: ['Wed, 20 Feb 2019 14:35:25 GMT'] + etag: [W/"datetime'2019-02-20T14%3A35%3A24.7365369Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731","name":"5cd5c9e0-6832-412c-a48f-566e33ef5731","status":"Creating","startTime":"2019-02-18T15:44:14.27482Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4","name":"6b6b9789-6543-40ce-af64-b4d5f3db63d4","status":"Creating","startTime":"2019-02-20T14:35:24.6704203Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['635'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:44:45 GMT'] + date: ['Wed, 20 Feb 2019 14:35:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5cd5c9e0-6832-412c-a48f-566e33ef5731","name":"5cd5c9e0-6832-412c-a48f-566e33ef5731","status":"Succeeded","startTime":"2019-02-18T15:44:14.27482Z","endTime":"2019-02-18T15:44:54.1048589Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4","name":"6b6b9789-6543-40ce-af64-b4d5f3db63d4","status":"Succeeded","startTime":"2019-02-20T14:35:24.6704203Z","endTime":"2019-02-20T14:36:05.5401711Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['646'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:17 GMT'] + date: ['Wed, 20 Feb 2019 14:36:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -530,15 +531,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A54.1345691Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A05.5764909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:18 GMT'] - etag: [W/"datetime'2019-02-18T15%3A44%3A54.1345691Z'"] + date: ['Wed, 20 Feb 2019 14:36:29 GMT'] + etag: [W/"datetime'2019-02-20T14%3A36%3A05.5764909Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -560,15 +561,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A44%3A54.1345691Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A05.5764909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:19 GMT'] - etag: [W/"datetime'2019-02-18T15%3A44%3A54.1345691Z'"] + date: ['Wed, 20 Feb 2019 14:36:31 GMT'] + etag: [W/"datetime'2019-02-20T14%3A36%3A05.5764909Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -593,15 +594,15 @@ interactions: azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-18T15%3A45%3A26.606576Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_feae89c8","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0efde2db-3826-30eb-0a27-f12297db5fd7","fileSystemId":"6d782df0-0ba5-bc76-5cab-c1f0331fb060","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A38.8913796Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1613'] + content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Mon, 18 Feb 2019 15:45:27 GMT'] - etag: [W/"datetime'2019-02-18T15%3A45%3A26.606576Z'"] + date: ['Wed, 20 Feb 2019 14:36:39 GMT'] + etag: [W/"datetime'2019-02-20T14%3A36%3A38.8913796Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -609,7 +610,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -625,18 +626,18 @@ interactions: resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: body: {string: !!python/unicode ''} headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 18 Feb 2019 15:45:32 GMT'] + date: ['Wed, 20 Feb 2019 14:36:42 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFUERHQjJRUTZMTlBFTkY2UTVBWU1PS0VMV1dNQVBXTlI3TnxBNDBFQUQzMzY5OEUzOEYyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWFBTN0pJRjZaWEI0TTRXQUhUVjVIQ1haUE1HUVZQTnxCREM4MTI5RDE4NjlDMjMyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14996'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py index 8c84e89c6b4..e04430f509f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py @@ -9,7 +9,7 @@ class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_create_delete_account(self): account_name = self.create_random_name(prefix='cli', length=24) tags = 'Tag1=Value1 Tag2=Value2' @@ -38,7 +38,7 @@ def test_ext_create_delete_account(self): account_list = self.cmd("anf account list -g {rg}").get_output_in_json() assert len(account_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_list_accounts_ext(self): accounts = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] @@ -54,14 +54,16 @@ def test_ext_list_accounts_ext(self): account_list = self.cmd("anf account list -g {rg}").get_output_in_json() assert len(account_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_account_by_name_ext(self): account_name = self.create_random_name(prefix='cli', length=24) account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() account = self.cmd("az anf account show -g {rg} -a %s" % account_name).get_output_in_json() assert account['name'] == account_name + account_from_id = self.cmd("az anf account show -g {rg} --ids %s" % account['id']).get_output_in_json() + assert account_from_id['name'] == account_name - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_update_account_ext(self): account_name = self.create_random_name(prefix='cli', length=24) tag = "Tag1=Value1" diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py index d78462ec9c0..5e802ff28d0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py @@ -11,7 +11,7 @@ class AzureNetAppFilesExtPoolServiceScenarioTest(ScenarioTest): - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_create_delete_pool(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -40,7 +40,7 @@ def test_ext_create_delete_pool(self): pool_list = self.cmd("anf pool list -g {rg} -a %s" % account_name).get_output_in_json() assert len(pool_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_list_pools(self): account_name = self.create_random_name(prefix='cli', length=24) pools = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] @@ -57,7 +57,7 @@ def test_ext_list_pools(self): pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() assert len(pool_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_pool_by_name(self): account_name = self.create_random_name(prefix='cli', length=24) pool_name = self.create_random_name(prefix='cli', length=24) @@ -66,8 +66,10 @@ def test_ext_get_pool_by_name(self): pool = self.cmd("az anf pool show -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name + pool_from_id = self.cmd("az anf pool show -g {rg} --ids %s" % pool['id']).get_output_in_json() + assert pool_from_id['name'] == account_name + '/' + pool_name - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_update_pool(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index b655a33787f..e55b6bb095a 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -12,9 +12,9 @@ class AzureNetAppFilesExtSnapshotServiceScenarioTest(ScenarioTest): - def setup_vnet(self, rg, vnet_name): - self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) - self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + def setup_vnet(self, rg, vnet_name, subnet_name): + self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix 10.12.0.0/16" % (vnet_name, rg)) + self.cmd("az network vnet subnet create -n %s --vnet-name %s --address-prefixes '10.12.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (subnet_name, vnet_name, rg)) def current_subscription(self): subs = self.cmd("az account show").get_output_in_json() @@ -23,10 +23,11 @@ def current_subscription(self): def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 - subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name) + self.setup_vnet('{rg}', vnet_name, subnet_name) self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() @@ -73,3 +74,6 @@ def test_ext_get_snapshot(self): snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name + + snapshot_from_id = self.cmd("az anf snapshot show -g {rg} --ids %s" % snapshot['id']).get_output_in_json() + assert snapshot_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index 6bfc42ab0aa..ee696a3eeb0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -12,9 +12,10 @@ class AzureNetAppFilesExtVolumeServiceScenarioTest(ScenarioTest): - def setup_vnet(self, rg, vnet_name): - self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) - self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) + def setup_vnet(self, rg, vnet_name, subnet_name, ip_pre): + self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix %s/16" % (vnet_name, rg, ip_pre)) + self.cmd("az network vnet subnet create -n %s -g %s --vnet-name %s --address-prefixes '%s/24' --delegations 'Microsoft.Netapp/volumes'" % (subnet_name, rg, vnet_name, ip_pre)) + def current_subscription(self): subs = self.cmd("az account show").get_output_in_json() @@ -23,21 +24,26 @@ def current_subscription(self): def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, volume_name2=None): vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name1 - subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) + subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name) + self.setup_vnet('{rg}', vnet_name, subnet_name, '10.14.0.0') self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() if volume_name2: + vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) creation_token = volume_name2 + subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) + self.setup_vnet('{rg}', vnet_name, subnet_name, '10.16.0.0') self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() return volume1 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_create_delete_volumes(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -56,24 +62,22 @@ def test_ext_create_delete_volumes(self): volume_list = self.cmd("anf volume list -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_list_volumes(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) volume_name1 = self.create_random_name(prefix='cli-vol-', length=24) - volume_name2 = self.create_random_name(prefix='cli-vol-', length=24) tags = "Tag1=Value1" - self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags, volume_name2) + self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags) volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() - assert len(volume_list) == 2 + assert len(volume_list) == 1 - for volume_name in [volume_name1, volume_name2]: - self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)) + self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 - @ResourceGroupPreparer() + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_volume_by_name(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) @@ -87,7 +91,10 @@ def test_ext_get_volume_by_name(self): assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name assert volume['tags']['Tag2'] == 'Value1' - @ResourceGroupPreparer() + volume_from_id = self.cmd("az anf volume show -g {rg} --ids %s" % volume['id']).get_output_in_json() + assert volume_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_update_volume(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) pool_name = self.create_random_name(prefix='cli-pool-', length=24) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py b/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py new file mode 100644 index 00000000000..0f7bd5bf843 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py @@ -0,0 +1,18 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .azure_net_app_files_management_client import AzureNetAppFilesManagementClient +from .version import VERSION + +__all__ = ['AzureNetAppFilesManagementClient'] + +__version__ = VERSION + diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py b/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py new file mode 100644 index 00000000000..f455ceed3ee --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py @@ -0,0 +1,110 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.service_client import SDKClient +from msrest import Serializer, Deserializer +from msrestazure import AzureConfiguration +from .version import VERSION +from .operations.operations import Operations +from .operations.accounts_operations import AccountsOperations +from .operations.pools_operations import PoolsOperations +from .operations.volumes_operations import VolumesOperations +from .operations.mount_targets_operations import MountTargetsOperations +from .operations.snapshots_operations import SnapshotsOperations +from . import models + + +class AzureNetAppFilesManagementClientConfiguration(AzureConfiguration): + """Configuration for AzureNetAppFilesManagementClient + Note that all parameters used to create this instance are saved as instance + attributes. + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + if credentials is None: + raise ValueError("Parameter 'credentials' must not be None.") + if subscription_id is None: + raise ValueError("Parameter 'subscription_id' must not be None.") + if not base_url: + base_url = 'https://management.azure.com' + + super(AzureNetAppFilesManagementClientConfiguration, self).__init__(base_url) + + self.add_user_agent('azure-mgmt-netapp/{}'.format(VERSION)) + self.add_user_agent('Azure-SDK-For-Python') + + self.credentials = credentials + self.subscription_id = subscription_id + + +class AzureNetAppFilesManagementClient(SDKClient): + """Microsoft NetApp Azure Resource Provider specification + + :ivar config: Configuration for client. + :vartype config: AzureNetAppFilesManagementClientConfiguration + + :ivar operations: Operations operations + :vartype operations: azure.mgmt.netapp.operations.Operations + :ivar accounts: Accounts operations + :vartype accounts: azure.mgmt.netapp.operations.AccountsOperations + :ivar pools: Pools operations + :vartype pools: azure.mgmt.netapp.operations.PoolsOperations + :ivar volumes: Volumes operations + :vartype volumes: azure.mgmt.netapp.operations.VolumesOperations + :ivar mount_targets: MountTargets operations + :vartype mount_targets: azure.mgmt.netapp.operations.MountTargetsOperations + :ivar snapshots: Snapshots operations + :vartype snapshots: azure.mgmt.netapp.operations.SnapshotsOperations + + :param credentials: Credentials needed for the client to connect to Azure. + :type credentials: :mod:`A msrestazure Credentials + object` + :param subscription_id: Subscription credentials which uniquely identify + Microsoft Azure subscription. The subscription ID forms part of the URI + for every service call. + :type subscription_id: str + :param str base_url: Service URL + """ + + def __init__( + self, credentials, subscription_id, base_url=None): + + self.config = AzureNetAppFilesManagementClientConfiguration(credentials, subscription_id, base_url) + super(AzureNetAppFilesManagementClient, self).__init__(self.config.credentials, self.config) + + client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)} + self.api_version = '2017-08-15' + self._serialize = Serializer(client_models) + self._deserialize = Deserializer(client_models) + + self.operations = Operations( + self._client, self.config, self._serialize, self._deserialize) + self.accounts = AccountsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.pools = PoolsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.volumes = VolumesOperations( + self._client, self.config, self._serialize, self._deserialize) + self.mount_targets = MountTargetsOperations( + self._client, self.config, self._serialize, self._deserialize) + self.snapshots = SnapshotsOperations( + self._client, self.config, self._serialize, self._deserialize) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py new file mode 100644 index 00000000000..169f7b0f0f3 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +try: + from .operation_display_py3 import OperationDisplay + from .dimension_py3 import Dimension + from .metric_specification_py3 import MetricSpecification + from .service_specification_py3 import ServiceSpecification + from .operation_py3 import Operation + from .net_app_account_py3 import NetAppAccount + from .net_app_account_patch_py3 import NetAppAccountPatch + from .capacity_pool_py3 import CapacityPool + from .capacity_pool_patch_py3 import CapacityPoolPatch + from .volume_py3 import Volume + from .volume_patch_py3 import VolumePatch + from .mount_target_py3 import MountTarget + from .snapshot_py3 import Snapshot + from .snapshot_patch_py3 import SnapshotPatch + from .error_py3 import Error, ErrorException +except (SyntaxError, ImportError): + from .operation_display import OperationDisplay + from .dimension import Dimension + from .metric_specification import MetricSpecification + from .service_specification import ServiceSpecification + from .operation import Operation + from .net_app_account import NetAppAccount + from .net_app_account_patch import NetAppAccountPatch + from .capacity_pool import CapacityPool + from .capacity_pool_patch import CapacityPoolPatch + from .volume import Volume + from .volume_patch import VolumePatch + from .mount_target import MountTarget + from .snapshot import Snapshot + from .snapshot_patch import SnapshotPatch + from .error import Error, ErrorException +from .operation_paged import OperationPaged +from .net_app_account_paged import NetAppAccountPaged +from .capacity_pool_paged import CapacityPoolPaged +from .volume_paged import VolumePaged +from .mount_target_paged import MountTargetPaged +from .snapshot_paged import SnapshotPaged +from .azure_net_app_files_management_client_enums import ( + ServiceLevel, +) + +__all__ = [ + 'OperationDisplay', + 'Dimension', + 'MetricSpecification', + 'ServiceSpecification', + 'Operation', + 'NetAppAccount', + 'NetAppAccountPatch', + 'CapacityPool', + 'CapacityPoolPatch', + 'Volume', + 'VolumePatch', + 'MountTarget', + 'Snapshot', + 'SnapshotPatch', + 'Error', 'ErrorException', + 'OperationPaged', + 'NetAppAccountPaged', + 'CapacityPoolPaged', + 'VolumePaged', + 'MountTargetPaged', + 'SnapshotPaged', + 'ServiceLevel', +] diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py new file mode 100644 index 00000000000..70fe875ab01 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py @@ -0,0 +1,19 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from enum import Enum + + +class ServiceLevel(str, Enum): + + standard = "Standard" #: Standard service level + premium = "Premium" #: Premium service level + extreme = "Extreme" #: Extreme service level diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py new file mode 100644 index 00000000000..3dced303adc --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPool(Model): + """Capacity pool resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar pool_id: poolId. UUID v4 used to identify the Pool + :vartype pool_id: str + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'pool_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CapacityPool, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.pool_id = None + self.size = kwargs.get('size', 4398046511104) + self.service_level = kwargs.get('service_level', "Premium") + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py new file mode 100644 index 00000000000..fa7c435c870 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class CapacityPoolPaged(Paged): + """ + A paging container for iterating over a list of :class:`CapacityPool ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[CapacityPool]'} + } + + def __init__(self, *args, **kwargs): + + super(CapacityPoolPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py new file mode 100644 index 00000000000..8a9840b47f7 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(CapacityPoolPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py new file mode 100644 index 00000000000..92c38df46b2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(CapacityPoolPatch, self).__init__(**kwargs) + self.tags = tags diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py new file mode 100644 index 00000000000..c2ad853f9f1 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py @@ -0,0 +1,79 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPool(Model): + """Capacity pool resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar pool_id: poolId. UUID v4 used to identify the Pool + :vartype pool_id: str + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'pool_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'pool_id': {'key': 'properties.poolId', 'type': 'str'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, size: int=4398046511104, service_level="Premium", **kwargs) -> None: + super(CapacityPool, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.pool_id = None + self.size = size + self.service_level = service_level + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py new file mode 100644 index 00000000000..2398aa46e8f --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Dimension(Model): + """Dimension of blobs, possibly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Dimension, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py new file mode 100644 index 00000000000..af5b0aac3d2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py @@ -0,0 +1,32 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Dimension(Model): + """Dimension of blobs, possibly be blob type or access tier. + + :param name: Display name of dimension. + :type name: str + :param display_name: Display name of dimension. + :type display_name: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, **kwargs) -> None: + super(Dimension, self).__init__(**kwargs) + self.name = name + self.display_name = display_name diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py new file mode 100644 index 00000000000..941e7ebc820 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class Error(Model): + """Error response describing why the operation failed. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. Error code + :type code: str + :param message: Required. Detailed error message + :type message: str + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Error, self).__init__(**kwargs) + self.code = kwargs.get('code', None) + self.message = kwargs.get('message', None) + + +class ErrorException(HttpOperationError): + """Server responsed with exception of type: 'Error'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorException, self).__init__(deserialize, response, 'Error', *args) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py new file mode 100644 index 00000000000..1c5b66b4275 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py @@ -0,0 +1,52 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model +from msrest.exceptions import HttpOperationError + + +class Error(Model): + """Error response describing why the operation failed. + + All required parameters must be populated in order to send to Azure. + + :param code: Required. Error code + :type code: str + :param message: Required. Detailed error message + :type message: str + """ + + _validation = { + 'code': {'required': True}, + 'message': {'required': True}, + } + + _attribute_map = { + 'code': {'key': 'code', 'type': 'str'}, + 'message': {'key': 'message', 'type': 'str'}, + } + + def __init__(self, *, code: str, message: str, **kwargs) -> None: + super(Error, self).__init__(**kwargs) + self.code = code + self.message = message + + +class ErrorException(HttpOperationError): + """Server responsed with exception of type: 'Error'. + + :param deserialize: A deserializer + :param response: Server response to be deserialized. + """ + + def __init__(self, deserialize, response, *args): + + super(ErrorException, self).__init__(deserialize, response, 'Error', *args) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py new file mode 100644 index 00000000000..340a905ef64 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.netapp.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MetricSpecification, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display_name = kwargs.get('display_name', None) + self.display_description = kwargs.get('display_description', None) + self.unit = kwargs.get('unit', None) + self.dimensions = kwargs.get('dimensions', None) + self.aggregation_type = kwargs.get('aggregation_type', None) + self.fill_gap_with_zero = kwargs.get('fill_gap_with_zero', None) + self.category = kwargs.get('category', None) + self.resource_id_dimension_name_override = kwargs.get('resource_id_dimension_name_override', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py new file mode 100644 index 00000000000..60388284198 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py @@ -0,0 +1,63 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MetricSpecification(Model): + """Metric specification of operation. + + :param name: Name of metric specification. + :type name: str + :param display_name: Display name of metric specification. + :type display_name: str + :param display_description: Display description of metric specification. + :type display_description: str + :param unit: Unit could be Bytes or Count. + :type unit: str + :param dimensions: Dimensions of blobs, including blob type and access + tier. + :type dimensions: list[~azure.mgmt.netapp.models.Dimension] + :param aggregation_type: Aggregation type could be Average. + :type aggregation_type: str + :param fill_gap_with_zero: The property to decide fill gap with zero or + not. + :type fill_gap_with_zero: bool + :param category: The category this metric specification belong to, could + be Capacity. + :type category: str + :param resource_id_dimension_name_override: Account Resource Id. + :type resource_id_dimension_name_override: str + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, + 'display_description': {'key': 'displayDescription', 'type': 'str'}, + 'unit': {'key': 'unit', 'type': 'str'}, + 'dimensions': {'key': 'dimensions', 'type': '[Dimension]'}, + 'aggregation_type': {'key': 'aggregationType', 'type': 'str'}, + 'fill_gap_with_zero': {'key': 'fillGapWithZero', 'type': 'bool'}, + 'category': {'key': 'category', 'type': 'str'}, + 'resource_id_dimension_name_override': {'key': 'resourceIdDimensionNameOverride', 'type': 'str'}, + } + + def __init__(self, *, name: str=None, display_name: str=None, display_description: str=None, unit: str=None, dimensions=None, aggregation_type: str=None, fill_gap_with_zero: bool=None, category: str=None, resource_id_dimension_name_override: str=None, **kwargs) -> None: + super(MetricSpecification, self).__init__(**kwargs) + self.name = name + self.display_name = display_name + self.display_description = display_description + self.unit = unit + self.dimensions = dimensions + self.aggregation_type = aggregation_type + self.fill_gap_with_zero = fill_gap_with_zero + self.category = category + self.resource_id_dimension_name_override = resource_id_dimension_name_override diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py new file mode 100644 index 00000000000..e118f00da39 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MountTarget(Model): + """Mount Target. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :param tags: Resource tags + :type tags: object + :ivar mount_target_id: mountTargetId. UUID v4 used to identify the + MountTarget + :vartype mount_target_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the MountTarget + :type file_system_id: str + :ivar ip_address: ipAddress. The mount target's IPv4 address + :vartype ip_address: str + :param vlan_id: vlanid. Vlan Id + :type vlan_id: int + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: startIp. The end of IPv4 address range to use when creating + a new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'mount_target_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(MountTarget, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.tags = kwargs.get('tags', None) + self.mount_target_id = None + self.file_system_id = kwargs.get('file_system_id', None) + self.ip_address = None + self.vlan_id = kwargs.get('vlan_id', None) + self.start_ip = kwargs.get('start_ip', None) + self.end_ip = kwargs.get('end_ip', None) + self.gateway = kwargs.get('gateway', None) + self.netmask = kwargs.get('netmask', None) + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py new file mode 100644 index 00000000000..8d9983678f2 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class MountTargetPaged(Paged): + """ + A paging container for iterating over a list of :class:`MountTarget ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[MountTarget]'} + } + + def __init__(self, *args, **kwargs): + + super(MountTargetPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py new file mode 100644 index 00000000000..b4191609e62 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py @@ -0,0 +1,97 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class MountTarget(Model): + """Mount Target. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :param tags: Resource tags + :type tags: object + :ivar mount_target_id: mountTargetId. UUID v4 used to identify the + MountTarget + :vartype mount_target_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the MountTarget + :type file_system_id: str + :ivar ip_address: ipAddress. The mount target's IPv4 address + :vartype ip_address: str + :param vlan_id: vlanid. Vlan Id + :type vlan_id: int + :param start_ip: startIp. The start of IPv4 address range to use when + creating a new mount target + :type start_ip: str + :param end_ip: startIp. The end of IPv4 address range to use when creating + a new mount target + :type end_ip: str + :param gateway: gateway. The gateway of the IPv4 address range to use when + creating a new mount target + :type gateway: str + :param netmask: netmask. The netmask of the IPv4 address range to use when + creating a new mount target + :type netmask: str + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'mount_target_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'ip_address': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, + 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, + 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, + 'gateway': {'key': 'properties.gateway', 'type': 'str'}, + 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, file_system_id: str, tags=None, vlan_id: int=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, **kwargs) -> None: + super(MountTarget, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.tags = tags + self.mount_target_id = None + self.file_system_id = file_system_id + self.ip_address = None + self.vlan_id = vlan_id + self.start_ip = start_ip + self.end_ip = end_ip + self.gateway = gateway + self.netmask = netmask + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py new file mode 100644 index 00000000000..3ec70dc97f9 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccount(Model): + """NetApp account resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(NetAppAccount, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py new file mode 100644 index 00000000000..fd4a719a073 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class NetAppAccountPaged(Paged): + """ + A paging container for iterating over a list of :class:`NetAppAccount ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[NetAppAccount]'} + } + + def __init__(self, *args, **kwargs): + + super(NetAppAccountPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py new file mode 100644 index 00000000000..33d4ec3da53 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(NetAppAccountPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py new file mode 100644 index 00000000000..d42966ff410 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(NetAppAccountPatch, self).__init__(**kwargs) + self.tags = tags diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py new file mode 100644 index 00000000000..a2d9c5c845a --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py @@ -0,0 +1,61 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccount(Model): + """NetApp account resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, tags=None, **kwargs) -> None: + super(NetAppAccount, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py new file mode 100644 index 00000000000..928aa9c0a0b --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """Microsoft.NetApp REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.netapp.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.netapp.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, **kwargs): + super(Operation, self).__init__(**kwargs) + self.name = kwargs.get('name', None) + self.display = kwargs.get('display', None) + self.origin = kwargs.get('origin', None) + self.service_specification = kwargs.get('service_specification', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py new file mode 100644 index 00000000000..e9de65b8880 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft NetApp. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + :param description: Operation description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(OperationDisplay, self).__init__(**kwargs) + self.provider = kwargs.get('provider', None) + self.resource = kwargs.get('resource', None) + self.operation = kwargs.get('operation', None) + self.description = kwargs.get('description', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py new file mode 100644 index 00000000000..a066121cec7 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py @@ -0,0 +1,40 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class OperationDisplay(Model): + """Display metadata associated with the operation. + + :param provider: Service provider: Microsoft NetApp. + :type provider: str + :param resource: Resource on which the operation is performed etc. + :type resource: str + :param operation: Type of operation: get, read, delete, etc. + :type operation: str + :param description: Operation description. + :type description: str + """ + + _attribute_map = { + 'provider': {'key': 'provider', 'type': 'str'}, + 'resource': {'key': 'resource', 'type': 'str'}, + 'operation': {'key': 'operation', 'type': 'str'}, + 'description': {'key': 'description', 'type': 'str'}, + } + + def __init__(self, *, provider: str=None, resource: str=None, operation: str=None, description: str=None, **kwargs) -> None: + super(OperationDisplay, self).__init__(**kwargs) + self.provider = provider + self.resource = resource + self.operation = operation + self.description = description diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py new file mode 100644 index 00000000000..75776552e32 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class OperationPaged(Paged): + """ + A paging container for iterating over a list of :class:`Operation ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Operation]'} + } + + def __init__(self, *args, **kwargs): + + super(OperationPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py new file mode 100644 index 00000000000..a4de32fddd0 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py @@ -0,0 +1,42 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Operation(Model): + """Microsoft.NetApp REST API operation definition. + + :param name: Operation name: {provider}/{resource}/{operation} + :type name: str + :param display: Display metadata associated with the operation. + :type display: ~azure.mgmt.netapp.models.OperationDisplay + :param origin: The origin of operations. + :type origin: str + :param service_specification: One property of operation, include metric + specifications. + :type service_specification: + ~azure.mgmt.netapp.models.ServiceSpecification + """ + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'display': {'key': 'display', 'type': 'OperationDisplay'}, + 'origin': {'key': 'origin', 'type': 'str'}, + 'service_specification': {'key': 'properties.serviceSpecification', 'type': 'ServiceSpecification'}, + } + + def __init__(self, *, name: str=None, display=None, origin: str=None, service_specification=None, **kwargs) -> None: + super(Operation, self).__init__(**kwargs) + self.name = name + self.display = display + self.origin = origin + self.service_specification = service_specification diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py new file mode 100644 index 00000000000..ad10cc9a95f --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.netapp.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, **kwargs): + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = kwargs.get('metric_specifications', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py new file mode 100644 index 00000000000..e6ab3038fbe --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py @@ -0,0 +1,29 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ServiceSpecification(Model): + """One property of operation, include metric specifications. + + :param metric_specifications: Metric specifications of operation. + :type metric_specifications: + list[~azure.mgmt.netapp.models.MetricSpecification] + """ + + _attribute_map = { + 'metric_specifications': {'key': 'metricSpecifications', 'type': '[MetricSpecification]'}, + } + + def __init__(self, *, metric_specifications=None, **kwargs) -> None: + super(ServiceSpecification, self).__init__(**kwargs) + self.metric_specifications = metric_specifications diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py new file mode 100644 index 00000000000..cb9b70ef4d1 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Snapshot(Model): + """Snapshot of a Volume. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot + :vartype snapshot_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the FileSystem + :type file_system_id: str + :ivar creation_date: name. The creation date of the snapshot + :vartype creation_date: datetime + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'snapshot_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_date': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Snapshot, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.snapshot_id = None + self.file_system_id = kwargs.get('file_system_id', None) + self.creation_date = None + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py new file mode 100644 index 00000000000..95ab3fde964 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class SnapshotPaged(Paged): + """ + A paging container for iterating over a list of :class:`Snapshot ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Snapshot]'} + } + + def __init__(self, *args, **kwargs): + + super(SnapshotPaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py new file mode 100644 index 00000000000..9ccd3602fab --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SnapshotPatch(Model): + """Snapshot patch. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, **kwargs): + super(SnapshotPatch, self).__init__(**kwargs) + self.tags = kwargs.get('tags', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py new file mode 100644 index 00000000000..61ba55fecf8 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py @@ -0,0 +1,28 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class SnapshotPatch(Model): + """Snapshot patch. + + :param tags: Resource tags + :type tags: object + """ + + _attribute_map = { + 'tags': {'key': 'tags', 'type': 'object'}, + } + + def __init__(self, *, tags=None, **kwargs) -> None: + super(SnapshotPatch, self).__init__(**kwargs) + self.tags = tags diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py new file mode 100644 index 00000000000..ac94c966980 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py @@ -0,0 +1,77 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Snapshot(Model): + """Snapshot of a Volume. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar snapshot_id: snapshotId. UUID v4 used to identify the Snapshot + :vartype snapshot_id: str + :param file_system_id: Required. fileSystemId. UUID v4 used to identify + the FileSystem + :type file_system_id: str + :ivar creation_date: name. The creation date of the snapshot + :vartype creation_date: datetime + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'snapshot_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'file_system_id': {'required': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_date': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'snapshot_id': {'key': 'properties.snapshotId', 'type': 'str'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_date': {'key': 'properties.creationDate', 'type': 'iso-8601'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + } + + def __init__(self, *, location: str, file_system_id: str, tags=None, **kwargs) -> None: + super(Snapshot, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.snapshot_id = None + self.file_system_id = file_system_id + self.creation_date = None + self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py new file mode 100644 index 00000000000..2daa2c273f0 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Volume(Model): + """Volume resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. + :vartype file_system_id: str + :param creation_token: Required. Creation Token or File Path. A unique + file path for the volume. Used when creating mount targets + :type creation_token: str + :param service_level: Required. serviceLevel. The service level of the + file system. Possible values include: 'Standard', 'Premium', 'Extreme'. + Default value: "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param subnet_id: The Azure Resource URI for a delegated subnet. Must have + the delegation Microsoft.NetApp/volumes + :type subnet_id: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'file_system_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_token': {'required': True}, + 'service_level': {'required': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(Volume, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.file_system_id = None + self.creation_token = kwargs.get('creation_token', None) + self.service_level = kwargs.get('service_level', "Premium") + self.usage_threshold = kwargs.get('usage_threshold', 107374182400) + self.provisioning_state = None + self.subnet_id = kwargs.get('subnet_id', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py new file mode 100644 index 00000000000..17d9bd4c9d3 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py @@ -0,0 +1,27 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.paging import Paged + + +class VolumePaged(Paged): + """ + A paging container for iterating over a list of :class:`Volume ` object + """ + + _attribute_map = { + 'next_link': {'key': 'nextLink', 'type': 'str'}, + 'current_page': {'key': 'value', 'type': '[Volume]'} + } + + def __init__(self, *args, **kwargs): + + super(VolumePaged, self).__init__(*args, **kwargs) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py new file mode 100644 index 00000000000..a3b5a30bc49 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VolumePatch(Model): + """Volume patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + } + + def __init__(self, **kwargs): + super(VolumePatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.service_level = kwargs.get('service_level', "Premium") + self.usage_threshold = kwargs.get('usage_threshold', 107374182400) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py new file mode 100644 index 00000000000..7d1490e1ef0 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py @@ -0,0 +1,67 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class VolumePatch(Model): + """Volume patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + } + + def __init__(self, *, location: str=None, tags=None, service_level="Premium", usage_threshold: int=107374182400, **kwargs) -> None: + super(VolumePatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.service_level = service_level + self.usage_threshold = usage_threshold diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py new file mode 100644 index 00000000000..4a282416271 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py @@ -0,0 +1,92 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class Volume(Model): + """Volume resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + All required parameters must be populated in order to send to Azure. + + :param location: Required. Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar file_system_id: FileSystem ID. Unique FileSystem Identifier. + :vartype file_system_id: str + :param creation_token: Required. Creation Token or File Path. A unique + file path for the volume. Used when creating mount targets + :type creation_token: str + :param service_level: Required. serviceLevel. The service level of the + file system. Possible values include: 'Standard', 'Premium', 'Extreme'. + Default value: "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + :param usage_threshold: usageThreshold. Maximum storage quota allowed for + a file system in bytes. This is a soft quota used for alerting only. + Minimum size is 100 GiB. Upper limit is 100TiB. Default value: + 107374182400 . + :type usage_threshold: long + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param subnet_id: The Azure Resource URI for a delegated subnet. Must have + the delegation Microsoft.NetApp/volumes + :type subnet_id: str + """ + + _validation = { + 'location': {'required': True}, + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'file_system_id': {'readonly': True, 'max_length': 36, 'min_length': 36, 'pattern': r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$'}, + 'creation_token': {'required': True}, + 'service_level': {'required': True}, + 'usage_threshold': {'maximum': 109951162777600, 'minimum': 107374182400}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, + 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, + } + + def __init__(self, *, location: str, creation_token: str, tags=None, service_level="Premium", usage_threshold: int=107374182400, subnet_id: str=None, **kwargs) -> None: + super(Volume, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.file_system_id = None + self.creation_token = creation_token + self.service_level = service_level + self.usage_threshold = usage_threshold + self.provisioning_state = None + self.subnet_id = subnet_id diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py new file mode 100644 index 00000000000..99c673b8e4d --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py @@ -0,0 +1,26 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from .operations import Operations +from .accounts_operations import AccountsOperations +from .pools_operations import PoolsOperations +from .volumes_operations import VolumesOperations +from .mount_targets_operations import MountTargetsOperations +from .snapshots_operations import SnapshotsOperations + +__all__ = [ + 'Operations', + 'AccountsOperations', + 'PoolsOperations', + 'VolumesOperations', + 'MountTargetsOperations', + 'SnapshotsOperations', +] diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py new file mode 100644 index 00000000000..19addfef5df --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py @@ -0,0 +1,417 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class AccountsOperations(object): + """AccountsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, custom_headers=None, raw=False, **operation_config): + """Lists all NetApp accounts in the resource group. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of NetAppAccount + :rtype: + ~azure.mgmt.netapp.models.NetAppAccountPaged[~azure.mgmt.netapp.models.NetAppAccount] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.NetAppAccountPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts'} + + def get( + self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + """Get the NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetAppAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.NetAppAccount or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + + + def _create_or_update_initial( + self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config): + body = models.NetAppAccount(location=location, tags=tags) + + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'NetAppAccount') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + """Create or update a NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param location: Resource location + :type location: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns NetAppAccount or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.NetAppAccount] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.NetAppAccount]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + resource_group=resource_group, + account_name=account_name, + location=location, + tags=tags, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + + + def _delete_initial( + self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + + def update( + self, resource_group, account_name, tags=None, custom_headers=None, raw=False, **operation_config): + """Patch a NetApp account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: NetAppAccount or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.NetAppAccount or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + body = models.NetAppAccountPatch(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'NetAppAccountPatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('NetAppAccount', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py new file mode 100644 index 00000000000..a900436b7de --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py @@ -0,0 +1,112 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class MountTargetsOperations(object): + """MountTargetsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """List mount targets. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of MountTarget + :rtype: + ~azure.mgmt.netapp.models.MountTargetPaged[~azure.mgmt.netapp.models.MountTarget] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.MountTargetPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.MountTargetPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py new file mode 100644 index 00000000000..45d58bfbb76 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py @@ -0,0 +1,96 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse + +from .. import models + + +class Operations(object): + """Operations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, custom_headers=None, raw=False, **operation_config): + """Lists all of the available Microsoft.NetApp Rest API operations. + + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Operation + :rtype: + ~azure.mgmt.netapp.models.OperationPaged[~azure.mgmt.netapp.models.Operation] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.OperationPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.OperationPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/providers/Microsoft.NetApp/operations'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py new file mode 100644 index 00000000000..5bf900e3c39 --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py @@ -0,0 +1,432 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class PoolsOperations(object): + """PoolsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + """Lists all capacity pools in the NetApp Account. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of CapacityPool + :rtype: + ~azure.mgmt.netapp.models.CapacityPoolPaged[~azure.mgmt.netapp.models.CapacityPool] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.CapacityPoolPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} + + def get( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + """Get a capacity pool. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: CapacityPool or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.CapacityPool or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + + + def _create_or_update_initial( + self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'CapacityPool') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CapacityPool', response) + if response.status_code == 201: + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Create or Update a capacity pool. + + :param body: Capacity pool object supplied in the body of the + operation. + :type body: ~azure.mgmt.netapp.models.CapacityPool + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns CapacityPool or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.CapacityPool] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.CapacityPool]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + body=body, + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + + def update( + self, resource_group, account_name, pool_name, tags=None, custom_headers=None, raw=False, **operation_config): + """Patch a capacity pool. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: CapacityPool or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.CapacityPool or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + body = models.CapacityPoolPatch(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'CapacityPoolPatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('CapacityPool', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + + + def _delete_initial( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a capacity pool. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py new file mode 100644 index 00000000000..9216a465f1b --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py @@ -0,0 +1,463 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class SnapshotsOperations(object): + """SnapshotsOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """List snapshots. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Snapshot + :rtype: + ~azure.mgmt.netapp.models.SnapshotPaged[~azure.mgmt.netapp.models.Snapshot] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.SnapshotPaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.SnapshotPaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} + + def get( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + """Get a snapshot. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Snapshot or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Snapshot or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + + + def _create_initial( + self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'Snapshot') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 201: + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create( + self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Create a snapshot. + + :param body: Snapshot object supplied in the body of the operation. + :type body: ~azure.mgmt.netapp.models.Snapshot + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns Snapshot or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.Snapshot] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.Snapshot]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_initial( + body=body, + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + snapshot_name=snapshot_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + + def update( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): + """Patch a snapshot. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param tags: Resource tags + :type tags: object + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Snapshot or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Snapshot or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + body = models.SnapshotPatch(tags=tags) + + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'SnapshotPatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Snapshot', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + + + def _delete_initial( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), + 'snapshotName': self._serialize.url("snapshot_name", snapshot_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete snapshot. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param snapshot_name: The name of the mount target + :type snapshot_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + snapshot_name=snapshot_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py new file mode 100644 index 00000000000..c31c39a6abf --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py @@ -0,0 +1,446 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import uuid +from msrest.pipeline import ClientRawResponse +from msrest.polling import LROPoller, NoPolling +from msrestazure.polling.arm_polling import ARMPolling + +from .. import models + + +class VolumesOperations(object): + """VolumesOperations operations. + + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + :ivar api_version: Version of the API to be used with the client request. Constant value: "2017-08-15". + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self.api_version = "2017-08-15" + + self.config = config + + def list( + self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + """List volumes. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: An iterator like instance of Volume + :rtype: + ~azure.mgmt.netapp.models.VolumePaged[~azure.mgmt.netapp.models.Volume] + :raises: + :class:`ErrorException` + """ + def internal_paging(next_link=None, raw=False): + + if not next_link: + # Construct URL + url = self.list.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + else: + url = next_link + query_parameters = {} + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + return response + + # Deserialize response + deserialized = models.VolumePaged(internal_paging, self._deserialize.dependencies) + + if raw: + header_dict = {} + client_raw_response = models.VolumePaged(internal_paging, self._deserialize.dependencies, header_dict) + return client_raw_response + + return deserialized + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} + + def get( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """Get a volume. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Volume or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Volume or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.get.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.get(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + + + def _create_or_update_initial( + self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.create_or_update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'Volume') + + # Construct and send request + request = self._client.put(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200, 201, 202]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Volume', response) + if response.status_code == 201: + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + def create_or_update( + self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Create or update a volume. + + :param body: Volume object supplied in the body of the operation. + :type body: ~azure.mgmt.netapp.models.Volume + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns Volume or + ClientRawResponse if raw==True + :rtype: + ~msrestazure.azure_operation.AzureOperationPoller[~azure.mgmt.netapp.models.Volume] + or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[~azure.mgmt.netapp.models.Volume]] + :raises: + :class:`ErrorException` + """ + raw_result = self._create_or_update_initial( + body=body, + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + + def update( + self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + """Patch a volume. + + :param body: Volume object supplied in the body of the operation. + :type body: ~azure.mgmt.netapp.models.VolumePatch + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: returns the direct response alongside the + deserialized response + :param operation_config: :ref:`Operation configuration + overrides`. + :return: Volume or ClientRawResponse if raw=true + :rtype: ~azure.mgmt.netapp.models.Volume or + ~msrest.pipeline.ClientRawResponse + :raises: + :class:`ErrorException` + """ + # Construct URL + url = self.update.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + header_parameters['Accept'] = 'application/json' + header_parameters['Content-Type'] = 'application/json; charset=utf-8' + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct body + body_content = self._serialize.body(body, 'VolumePatch') + + # Construct and send request + request = self._client.patch(url, query_parameters, header_parameters, body_content) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [200]: + raise models.ErrorException(self._deserialize, response) + + deserialized = None + + if response.status_code == 200: + deserialized = self._deserialize('Volume', response) + + if raw: + client_raw_response = ClientRawResponse(deserialized, response) + return client_raw_response + + return deserialized + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + + + def _delete_initial( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + # Construct URL + url = self.delete.metadata['url'] + path_format_arguments = { + 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), + 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'accountName': self._serialize.url("account_name", account_name, 'str'), + 'poolName': self._serialize.url("pool_name", pool_name, 'str'), + 'volumeName': self._serialize.url("volume_name", volume_name, 'str') + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} + query_parameters['api-version'] = self._serialize.query("self.api_version", self.api_version, 'str') + + # Construct headers + header_parameters = {} + if self.config.generate_client_request_id: + header_parameters['x-ms-client-request-id'] = str(uuid.uuid1()) + if custom_headers: + header_parameters.update(custom_headers) + if self.config.accept_language is not None: + header_parameters['accept-language'] = self._serialize.header("self.config.accept_language", self.config.accept_language, 'str') + + # Construct and send request + request = self._client.delete(url, query_parameters, header_parameters) + response = self._client.send(request, stream=False, **operation_config) + + if response.status_code not in [202, 204]: + raise models.ErrorException(self._deserialize, response) + + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + def delete( + self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + """Delete a volume. + + :param resource_group: The name of the resource group. + :type resource_group: str + :param account_name: The name of the NetApp account + :type account_name: str + :param pool_name: The name of the capacity pool + :type pool_name: str + :param volume_name: The name of the volume + :type volume_name: str + :param dict custom_headers: headers that will be added to the request + :param bool raw: The poller return type is ClientRawResponse, the + direct response alongside the deserialized response + :param polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :return: An instance of LROPoller that returns None or + ClientRawResponse if raw==True + :rtype: ~msrestazure.azure_operation.AzureOperationPoller[None] or + ~msrestazure.azure_operation.AzureOperationPoller[~msrest.pipeline.ClientRawResponse[None]] + :raises: + :class:`ErrorException` + """ + raw_result = self._delete_initial( + resource_group=resource_group, + account_name=account_name, + pool_name=pool_name, + volume_name=volume_name, + custom_headers=custom_headers, + raw=True, + **operation_config + ) + + def get_long_running_output(response): + if raw: + client_raw_response = ClientRawResponse(None, response) + return client_raw_response + + lro_delay = operation_config.get( + 'long_running_operation_timeout', + self.config.long_running_operation_timeout) + if polling is True: polling_method = ARMPolling(lro_delay, **operation_config) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/version.py b/src/anf-preview/azext_anf_preview/vendored_sdks/version.py new file mode 100644 index 00000000000..e0ec669828c --- /dev/null +++ b/src/anf-preview/azext_anf_preview/vendored_sdks/version.py @@ -0,0 +1,13 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +VERSION = "0.1.0" + diff --git a/src/anf-preview/azext_metadata.json b/src/anf-preview/azext_metadata.json new file mode 100644 index 00000000000..4646a496f2e --- /dev/null +++ b/src/anf-preview/azext_metadata.json @@ -0,0 +1,4 @@ +{ + "azext.minCliCoreVersion": "2.0.56", + "azext.isPreview": true +} \ No newline at end of file diff --git a/src/anf-preview/setup.py b/src/anf-preview/setup.py index bccbfb5314a..791b6f1c65c 100644 --- a/src/anf-preview/setup.py +++ b/src/anf-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.0.1" +VERSION = "0.1.0" CLASSIFIERS = [ 'Development Status :: 4 - Beta', @@ -24,12 +24,9 @@ 'License :: OSI Approved :: MIT License', ] -DEPENDENCIES = [ - 'azure-mgmt-netapp==0.1.0', - 'azure-cli-core' -] +DEPENDENCIES = [] -with open('README.rst', 'r', encoding='utf-8') as f: +with open('README.md', 'r', encoding='utf-8') as f: README = f.read() with open('HISTORY.rst', 'r', encoding='utf-8') as f: HISTORY = f.read() @@ -45,5 +42,6 @@ url='https://github.com/Azure/azure-cli-extensions/tree/master/src/anf-preview', classifiers=CLASSIFIERS, packages=find_packages(exclude=["tests"]), + package_data={'azext_anf_preview': ['azext_metadata.json']}, install_requires=DEPENDENCIES ) From 46deb542906fec6955671aa2102fc9213f672ecb Mon Sep 17 00:00:00 2001 From: leonard Date: Wed, 20 Feb 2019 15:38:17 +0000 Subject: [PATCH 05/15] NFSAAS-1708 update from review comments --- src/anf-preview/azext_anf_preview/_params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index 511656f7fa0..e62cbf4e8ff 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -47,7 +47,7 @@ def load_arguments(self, _): with self.argument_context('anf snapshot') as c: c.argument('account_name', options_list=['--account-name', '-a'], id_part='name') c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') - c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name','-v'], required=True, help='The name of the ANF volume') + c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name', '-v'], required=True, help='The name of the ANF volume') c.argument('snapshot_name', id_part='child_name_3', options_list=['--snapshot-name', '-n', '-s'], required=True, help='The name of the ANF snapshot') with self.argument_context('anf snapshot list') as c: From b3bb6e1b152516487b506eee0a0720e5aef1c1cb Mon Sep 17 00:00:00 2001 From: leonard Date: Wed, 20 Feb 2019 16:16:31 +0000 Subject: [PATCH 06/15] NFSAAS-1708 update with code review comments --- .../azext_anf_preview/tests/latest/test_volume_commands_ext.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index ee696a3eeb0..fef9dd5e6f0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -16,7 +16,6 @@ def setup_vnet(self, rg, vnet_name, subnet_name, ip_pre): self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix %s/16" % (vnet_name, rg, ip_pre)) self.cmd("az network vnet subnet create -n %s -g %s --vnet-name %s --address-prefixes '%s/24' --delegations 'Microsoft.Netapp/volumes'" % (subnet_name, rg, vnet_name, ip_pre)) - def current_subscription(self): subs = self.cmd("az account show").get_output_in_json() return subs['id'] From a7becd6521a0a6172aaa45be354f377e22e9b57d Mon Sep 17 00:00:00 2001 From: leonard Date: Wed, 20 Feb 2019 16:33:55 +0000 Subject: [PATCH 07/15] NFSAAS-1708 updates from review comments --- src/anf-preview/{ => azext_anf_preview}/azext_metadata.json | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/anf-preview/{ => azext_anf_preview}/azext_metadata.json (100%) diff --git a/src/anf-preview/azext_metadata.json b/src/anf-preview/azext_anf_preview/azext_metadata.json similarity index 100% rename from src/anf-preview/azext_metadata.json rename to src/anf-preview/azext_anf_preview/azext_metadata.json From a8e625a4b233ae5ad651b8ead0233b44f926e2d4 Mon Sep 17 00:00:00 2001 From: leonard Date: Wed, 20 Feb 2019 17:19:11 +0000 Subject: [PATCH 08/15] NFSAAS-1708 updates from review comments --- .../azext_anf_preview/_client_factory.py | 2 +- .../azext_anf_preview/_exception_handler.py | 2 +- src/anf-preview/azext_anf_preview/commands.py | 24 +++++++++---------- src/anf-preview/azext_anf_preview/custom.py | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/_client_factory.py b/src/anf-preview/azext_anf_preview/_client_factory.py index d74f169b31c..1e47638bd89 100644 --- a/src/anf-preview/azext_anf_preview/_client_factory.py +++ b/src/anf-preview/azext_anf_preview/_client_factory.py @@ -8,7 +8,7 @@ def cf_netapp(cli_ctx, *kwargs): from azure.cli.core.commands.client_factory import get_mgmt_service_client - from azure.mgmt.netapp import AzureNetAppFilesManagementClient + from azext_anf_preview.vendored_sdks import AzureNetAppFilesManagementClient return get_mgmt_service_client(cli_ctx, AzureNetAppFilesManagementClient) diff --git a/src/anf-preview/azext_anf_preview/_exception_handler.py b/src/anf-preview/azext_anf_preview/_exception_handler.py index 4388088c72e..c5567550c88 100644 --- a/src/anf-preview/azext_anf_preview/_exception_handler.py +++ b/src/anf-preview/azext_anf_preview/_exception_handler.py @@ -7,7 +7,7 @@ def netapp_exception_handler(ex): - from azure.mgmt.netapp.models import ErrorException + from azext_anf_preview.vendored_sdks.models import ErrorException if isinstance(ex, ErrorException): message = ex raise CLIError(message) diff --git a/src/anf-preview/azext_anf_preview/commands.py b/src/anf-preview/azext_anf_preview/commands.py index f65b6e45d28..5ef3e44cb7f 100644 --- a/src/anf-preview/azext_anf_preview/commands.py +++ b/src/anf-preview/azext_anf_preview/commands.py @@ -17,31 +17,31 @@ def load_command_table(self, _): anf_accounts_sdk = CliCommandType( - operations_tmpl='azure.mgmt.netapp.operations.accounts_operations#AccountsOperations.{}', + operations_tmpl='azext_anf_preview.vendored_sdks.operations.accounts_operations#AccountsOperations.{}', client_factory=accounts_mgmt_client_factory, exception_handler=netapp_exception_handler ) anf_pools_sdk = CliCommandType( - operations_tmpl='azure.mgmt.netapp.operations.pools_operations#PoolsOperations.{}', + operations_tmpl='azext_anf_preview.vendored_sdks.operations.pools_operations#PoolsOperations.{}', client_factory=pools_mgmt_client_factory, exception_handler=netapp_exception_handler ) anf_volumes_sdk = CliCommandType( - operations_tmpl='azure.mgmt.netapp.operations.volumes_operations#VolumesOperations.{}', + operations_tmpl='azext_anf_preview.vendored_sdks.operations.volumes_operations#VolumesOperations.{}', client_factory=volumes_mgmt_client_factory, exception_handler=netapp_exception_handler ) anf_mount_targets_sdk = CliCommandType( - operations_tmpl='azure.mgmt.netapp.operations.mount_targets_operations#MountTargetsOperations.{}', + operations_tmpl='azext_anf_preview.vendored_sdks.operations.mount_targets_operations#MountTargetsOperations.{}', client_factory=mount_targets_mgmt_client_factory, exception_handler=netapp_exception_handler ) anf_snapshots_sdk = CliCommandType( - operations_tmpl='azure.mgmt.netapp.operations.snapshots_operations#SnapshotsOperations.{}', + operations_tmpl='azext_anf_preview.vendored_sdks.operations.snapshots_operations#SnapshotsOperations.{}', client_factory=snapshots_mgmt_client_factory, exception_handler=netapp_exception_handler ) @@ -51,30 +51,30 @@ def load_command_table(self, _): g.command('list', 'list') g.command('delete', 'delete') g.custom_command('create', 'create_account', client_factory=accounts_mgmt_client_factory, - doc_string_source='azure.mgmt.netapp.models#NetAppAccount') + doc_string_source='azext_anf_preview.vendored_sdks.models#NetAppAccount') g.generic_update_command('update', setter_name='update', custom_func_name='update_account', setter_arg_name='tags', - doc_string_source='azure.mgmt.netapp.models#NetAppAccountPatch') + doc_string_source='azext_anf_preview.vendored_sdks.models#NetAppAccountPatch') with self.command_group('anf pool', anf_pools_sdk) as g: g.show_command('show', 'get') g.command('list', 'list') g.command('delete', 'delete') g.custom_command('create', 'create_pool', client_factory=pools_mgmt_client_factory, - doc_string_source='azure.mgmt.netapp.models#CapacityPool') + doc_string_source='azext_anf_preview.vendored_sdks.models#CapacityPool') g.generic_update_command('update', setter_name='create_or_update', custom_func_name='update_pool', setter_arg_name='body', - doc_string_source='azure.mgmt.netapp.models#CapacityPool') + doc_string_source='azext_anf_preview.vendored_sdks.models#CapacityPool') with self.command_group('anf volume', anf_volumes_sdk) as g: g.show_command('show', 'get') g.command('list', 'list') g.command('delete', 'delete') g.custom_command('create', 'create_volume', client_factory=volumes_mgmt_client_factory, - doc_string_source='azure.mgmt.netapp.models#Volume') + doc_string_source='azext_anf_preview.vendored_sdks.models#Volume') g.generic_update_command('update', setter_name='update', custom_func_name='patch_volume', setter_arg_name='body', - doc_string_source='azure.mgmt.netapp.models#VolumePatch') + doc_string_source='azext_anf_preview.vendored_sdks.models#VolumePatch') with self.command_group('anf mount-target', anf_mount_targets_sdk) as g: g.command('list', 'list') @@ -84,4 +84,4 @@ def load_command_table(self, _): g.command('list', 'list') g.command('delete', 'delete') g.custom_command('create', 'create_snapshot', client_factory=snapshots_mgmt_client_factory, - doc_string_source='azure.mgmt.netapp.models#Snapshot') + doc_string_source='azext_anf_preview.vendored_sdks.models#Snapshot') diff --git a/src/anf-preview/azext_anf_preview/custom.py b/src/anf-preview/azext_anf_preview/custom.py index 6050ae5fa02..5746eb9dfc3 100644 --- a/src/anf-preview/azext_anf_preview/custom.py +++ b/src/anf-preview/azext_anf_preview/custom.py @@ -6,7 +6,7 @@ # pylint: disable=line-too-long from knack.log import get_logger -from azure.mgmt.netapp.models import NetAppAccountPatch, CapacityPool, Volume, VolumePatch, Snapshot +from azext_anf_preview.vendored_sdks.models import NetAppAccountPatch, CapacityPool, Volume, VolumePatch, Snapshot logger = get_logger(__name__) From 9ec6de4b30dba2a1b9ce1e4360171d2e96a9454d Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 25 Feb 2019 12:35:17 +0000 Subject: [PATCH 09/15] NFSAAS-1708 updates from review comments (#9) --- src/anf-preview/azext_anf_preview/_params.py | 3 - src/anf-preview/azext_anf_preview/custom.py | 4 +- .../test_ext_create_delete_account.yaml | 166 ++++----- .../test_ext_create_delete_pool.yaml | 192 +++++----- .../test_ext_create_delete_volumes.yaml | 290 +++++++-------- .../recordings/test_ext_create_snapshots.yaml | 232 ++++++------ .../test_ext_get_account_by_name_ext.yaml | 78 ++-- .../recordings/test_ext_get_pool_by_name.yaml | 114 +++--- .../recordings/test_ext_get_snapshot.yaml | 253 ++++++------- .../test_ext_get_volume_by_name.yaml | 246 ++++++------ .../test_ext_list_accounts_ext.yaml | 156 ++++---- .../test_ext_list_mount_targets.yaml | 237 ++++++------ .../recordings/test_ext_list_pools.yaml | 192 +++++----- .../recordings/test_ext_list_snapshots.yaml | 255 +++++++------ .../recordings/test_ext_list_volumes.yaml | 349 +++++++++++------- .../test_ext_update_account_ext.yaml | 84 ++--- .../recordings/test_ext_update_pool.yaml | 110 +++--- .../recordings/test_ext_update_volume.yaml | 242 ++++++------ .../tests/latest/test_account_commands_ext.py | 18 +- .../latest/test_mount_target_commands_ext.py | 2 +- .../tests/latest/test_pool_commands_ext.py | 16 +- .../latest/test_snapshot_commands_ext.py | 6 +- .../tests/latest/test_volume_commands_ext.py | 16 +- 23 files changed, 1673 insertions(+), 1588 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index e62cbf4e8ff..ece7e56e1f9 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -7,9 +7,6 @@ def load_arguments(self, _): - with self.argument_context('anf') as c: - c.argument('resource_group', options_list=['--resource-group', '-g'], required=True, help='The name of the resource group') - with self.argument_context('anf') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account') diff --git a/src/anf-preview/azext_anf_preview/custom.py b/src/anf-preview/azext_anf_preview/custom.py index 5746eb9dfc3..f135f9ba671 100644 --- a/src/anf-preview/azext_anf_preview/custom.py +++ b/src/anf-preview/azext_anf_preview/custom.py @@ -46,9 +46,9 @@ def update_account(cmd, instance, tag=None): return params.tags -def create_pool(cmd, client, account_name, pool_name, resource_group, location, size, service_level, tag=None): +def create_pool(cmd, client, account_name, pool_name, resource_group_name, location, size, service_level, tag=None): body = CapacityPool(service_level=service_level, size=int(size), location=location, tags=generate_tags(tag)) - return client.create_or_update(body, resource_group, account_name, pool_name) + return client.create_or_update(body, resource_group_name, account_name, pool_name) def update_pool(cmd, instance, location=None, size=None, service_level=None, tag=None): diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml index 0be78c98f0f..7c1b5f599cc 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:47:59Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:44:25Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:47:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:44:25Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:48:04 GMT'] + date: ['Mon, 25 Feb 2019 09:44:34 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1", "Tag2": @@ -39,26 +39,26 @@ interactions: Content-Length: ['69'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.0012757Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A44%3A37.4687781Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff52757f-c70e-4f25-b211-dca086a71a9f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:48:09 GMT'] - etag: [W/"datetime'2019-02-20T13%3A48%3A09.0012757Z'"] + date: ['Mon, 25 Feb 2019 09:44:48 GMT'] + etag: [W/"datetime'2019-02-25T09%3A44%3A37.4687781Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -69,17 +69,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff52757f-c70e-4f25-b211-dca086a71a9f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bded32a8-2606-4f9f-bc28-5be99ead69c4","name":"bded32a8-2606-4f9f-bc28-5be99ead69c4","status":"Succeeded","startTime":"2019-02-20T13:48:08.9444994Z","endTime":"2019-02-20T13:48:09.2100581Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff52757f-c70e-4f25-b211-dca086a71a9f","name":"ff52757f-c70e-4f25-b211-dca086a71a9f","status":"Succeeded","startTime":"2019-02-25T09:44:37.3806231Z","endTime":"2019-02-25T09:44:37.6986511Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:48:41 GMT'] + date: ['Mon, 25 Feb 2019 09:45:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -97,18 +97,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.2584581Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A44%3A37.7429724Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:48:42 GMT'] - etag: [W/"datetime'2019-02-20T13%3A48%3A09.2584581Z'"] + date: ['Mon, 25 Feb 2019 09:45:18 GMT'] + etag: [W/"datetime'2019-02-25T09%3A44%3A37.7429724Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -126,18 +126,18 @@ interactions: CommandName: [anf account list] Connection: [keep-alive] ParameterSetName: [--resource-group] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A48%3A09.2584581Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A44%3A37.7429724Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:48:44 GMT'] + date: ['Mon, 25 Feb 2019 09:45:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -156,20 +156,20 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--resource-group --account-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:48:47 GMT'] + date: ['Mon, 25 Feb 2019 09:45:22 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -185,17 +185,17 @@ interactions: CommandName: [anf account delete] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/858d1481-f3c5-4479-bed9-2b8e80d576d5","name":"858d1481-f3c5-4479-bed9-2b8e80d576d5","status":"Succeeded","startTime":"2019-02-20T13:48:47.6147485Z","endTime":"2019-02-20T13:48:47.6929132Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6","name":"157cd573-b18a-49ee-bd7b-ed25adc126c6","status":"Succeeded","startTime":"2019-02-25T09:45:21.2676037Z","endTime":"2019-02-25T09:45:21.3612898Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:49:18 GMT'] + date: ['Mon, 25 Feb 2019 09:45:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -213,8 +213,8 @@ interactions: CommandName: [anf account list] Connection: [keep-alive] ParameterSetName: [--resource-group] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 @@ -224,7 +224,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:49:19 GMT'] + date: ['Mon, 25 Feb 2019 09:45:58 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -242,26 +242,26 @@ interactions: Content-Length: ['69'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.011456Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A46%3A02.1379144Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb8087fc-face-4e6a-a06f-97b31de12930?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['492'] + content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:49:24 GMT'] - etag: [W/"datetime'2019-02-20T13%3A49%3A24.011456Z'"] + date: ['Mon, 25 Feb 2019 09:46:01 GMT'] + etag: [W/"datetime'2019-02-25T09%3A46%3A02.1379144Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -272,17 +272,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb8087fc-face-4e6a-a06f-97b31de12930?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dcf71bbb-5ada-400f-9030-7992d6798177","name":"dcf71bbb-5ada-400f-9030-7992d6798177","status":"Succeeded","startTime":"2019-02-20T13:49:23.9546463Z","endTime":"2019-02-20T13:49:24.2359049Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb8087fc-face-4e6a-a06f-97b31de12930","name":"fb8087fc-face-4e6a-a06f-97b31de12930","status":"Succeeded","startTime":"2019-02-25T09:46:02.0724694Z","endTime":"2019-02-25T09:46:02.3693327Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:49:55 GMT'] + date: ['Mon, 25 Feb 2019 09:46:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -300,18 +300,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.2866511Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A46%3A02.4201157Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:49:57 GMT'] - etag: [W/"datetime'2019-02-20T13%3A49%3A24.2866511Z'"] + date: ['Mon, 25 Feb 2019 09:46:35 GMT'] + etag: [W/"datetime'2019-02-25T09%3A46%3A02.4201157Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -328,19 +328,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account list] Connection: [keep-alive] - ParameterSetName: [-g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A49%3A24.2866511Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A46%3A02.4201157Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:49:58 GMT'] + date: ['Mon, 25 Feb 2019 09:46:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -358,21 +358,21 @@ interactions: CommandName: [anf account delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:49:59 GMT'] + date: ['Mon, 25 Feb 2019 09:46:41 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -387,18 +387,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account delete] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/481b740e-59de-495e-98fb-1ccd0b211e81","name":"481b740e-59de-495e-98fb-1ccd0b211e81","status":"Succeeded","startTime":"2019-02-20T13:49:59.7519293Z","endTime":"2019-02-20T13:49:59.8143994Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87","name":"d7dfc8f2-0ce8-40c9-b078-517925c88c87","status":"Succeeded","startTime":"2019-02-25T09:46:41.4880515Z","endTime":"2019-02-25T09:46:41.9413517Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:50:30 GMT'] + date: ['Mon, 25 Feb 2019 09:47:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -415,9 +415,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account list] Connection: [keep-alive] - ParameterSetName: [-g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 @@ -427,7 +427,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:50:32 GMT'] + date: ['Mon, 25 Feb 2019 09:47:13 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -443,8 +443,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -453,9 +453,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:50:36 GMT'] + date: ['Mon, 25 Feb 2019 09:47:18 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNlpRUURLNFo1WjczVzYzTURLQzc1NUlTT0oyTk01WHwwNDMyRjkzMUJBOUM1NTA5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQ0dCUEhMWjM0TkpYRDJTTUs0NDZWSElYTU5US1ZYQXw3RTk2MjgzNzI3NjMyODFDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml index 8f257c3ab0e..f7b27945fa7 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:55:56Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:53:50Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:55:56Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:53:50Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:56:00 GMT'] + date: ['Mon, 25 Feb 2019 09:53:54 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -38,26 +38,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A56%3A04.2170001Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A53%3A59.0481637Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3eca049c-2332-4c9e-b8a0-b8f30577586f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:56:04 GMT'] - etag: [W/"datetime'2019-02-20T13%3A56%3A04.2170001Z'"] + date: ['Mon, 25 Feb 2019 09:53:59 GMT'] + etag: [W/"datetime'2019-02-25T09%3A53%3A59.0481637Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3eca049c-2332-4c9e-b8a0-b8f30577586f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a03a03bf-5cc2-4f53-bbc3-94cbe140435b","name":"a03a03bf-5cc2-4f53-bbc3-94cbe140435b","status":"Succeeded","startTime":"2019-02-20T13:56:04.1769689Z","endTime":"2019-02-20T13:56:04.4581488Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3eca049c-2332-4c9e-b8a0-b8f30577586f","name":"3eca049c-2332-4c9e-b8a0-b8f30577586f","status":"Succeeded","startTime":"2019-02-25T09:53:58.9445496Z","endTime":"2019-02-25T09:53:59.2726684Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:56:36 GMT'] + date: ['Mon, 25 Feb 2019 09:54:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A56%3A04.5082069Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A53%3A59.3173549Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:56:37 GMT'] - etag: [W/"datetime'2019-02-20T13%3A56%3A04.5082069Z'"] + date: ['Mon, 25 Feb 2019 09:54:32 GMT'] + etag: [W/"datetime'2019-02-25T09%3A53%3A59.3173549Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -129,26 +129,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A39.8664454Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A54%3A36.5179507Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a8db45d-7600-48ca-be40-4180c0014a7d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:56:40 GMT'] - etag: [W/"datetime'2019-02-20T13%3A56%3A39.8664454Z'"] + date: ['Mon, 25 Feb 2019 09:54:36 GMT'] + etag: [W/"datetime'2019-02-25T09%3A54%3A36.5179507Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -160,17 +160,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a8db45d-7600-48ca-be40-4180c0014a7d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e60f8c4f-bdc8-4669-9958-66a808955cda","name":"e60f8c4f-bdc8-4669-9958-66a808955cda","status":"Succeeded","startTime":"2019-02-20T13:56:39.754507Z","endTime":"2019-02-20T13:56:40.3951529Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a8db45d-7600-48ca-be40-4180c0014a7d","name":"8a8db45d-7600-48ca-be40-4180c0014a7d","status":"Succeeded","startTime":"2019-02-25T09:54:36.460036Z","endTime":"2019-02-25T09:54:36.8819512Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:57:10 GMT'] + date: ['Mon, 25 Feb 2019 09:55:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -189,18 +189,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A40.4368539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4a3c77d-1720-489b-5855-a9e520314774","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A54%3A36.9252426Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"152a0b24-d074-ed91-d6d9-1548156740a2","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:57:12 GMT'] - etag: [W/"datetime'2019-02-20T13%3A56%3A40.4368539Z'"] + date: ['Mon, 25 Feb 2019 09:55:15 GMT'] + etag: [W/"datetime'2019-02-25T09%3A54%3A36.9252426Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -218,18 +218,18 @@ interactions: CommandName: [anf pool list] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A56%3A40.4368539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e4a3c77d-1720-489b-5855-a9e520314774","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A54%3A36.9252426Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"152a0b24-d074-ed91-d6d9-1548156740a2","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] content-length: ['703'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:57:14 GMT'] + date: ['Mon, 25 Feb 2019 09:55:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -248,20 +248,20 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--resource-group --account-name --pool-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:57:17 GMT'] + date: ['Mon, 25 Feb 2019 09:55:18 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -277,17 +277,17 @@ interactions: CommandName: [anf pool delete] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d689093a-285f-4474-b8c8-ff350b0534ba","name":"d689093a-285f-4474-b8c8-ff350b0534ba","status":"Succeeded","startTime":"2019-02-20T13:57:17.5366406Z","endTime":"2019-02-20T13:57:20.8212201Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5","name":"107007ad-0bfd-4eda-900c-72ba82112ea5","status":"Succeeded","startTime":"2019-02-25T09:55:19.1726892Z","endTime":"2019-02-25T09:55:22.532112Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:57:49 GMT'] + date: ['Mon, 25 Feb 2019 09:55:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -305,8 +305,8 @@ interactions: CommandName: [anf pool list] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 @@ -316,7 +316,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:57:50 GMT'] + date: ['Mon, 25 Feb 2019 09:55:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -337,20 +337,20 @@ interactions: Content-Length: ['135'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A57%3A53.9523303Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A55%3A58.3104282Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/81ad42f5-815e-4b1d-b7a4-e67737673336?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:57:53 GMT'] - etag: [W/"datetime'2019-02-20T13%3A57%3A53.9523303Z'"] + date: ['Mon, 25 Feb 2019 09:56:04 GMT'] + etag: [W/"datetime'2019-02-25T09%3A55%3A58.3104282Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -367,17 +367,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/81ad42f5-815e-4b1d-b7a4-e67737673336?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/377285bf-3566-48e8-80ed-5b295e3ae19e","name":"377285bf-3566-48e8-80ed-5b295e3ae19e","status":"Succeeded","startTime":"2019-02-20T13:57:53.8815021Z","endTime":"2019-02-20T13:57:54.2878138Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/81ad42f5-815e-4b1d-b7a4-e67737673336","name":"81ad42f5-815e-4b1d-b7a4-e67737673336","status":"Succeeded","startTime":"2019-02-25T09:55:58.2539699Z","endTime":"2019-02-25T09:55:58.6601849Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:58:25 GMT'] + date: ['Mon, 25 Feb 2019 09:56:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -395,18 +395,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A57%3A54.335604Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"d8994edb-1b76-29db-cadf-dcdfecb21c74","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A55%3A58.7107147Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"c5fdf966-54f4-71a5-e5f2-eded3bd59e9c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['690'] + content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:58:27 GMT'] - etag: [W/"datetime'2019-02-20T13%3A57%3A54.335604Z'"] + date: ['Mon, 25 Feb 2019 09:56:43 GMT'] + etag: [W/"datetime'2019-02-25T09%3A55%3A58.7107147Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -424,21 +424,21 @@ interactions: CommandName: [anf pool delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:58:30 GMT'] + date: ['Mon, 25 Feb 2019 09:56:42 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -453,18 +453,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool delete] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d8484306-8ef9-4c70-8ba4-1382fbac6115","name":"d8484306-8ef9-4c70-8ba4-1382fbac6115","status":"Succeeded","startTime":"2019-02-20T13:58:31.0783282Z","endTime":"2019-02-20T13:58:34.3755461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4","name":"94c53461-bf23-42f9-a815-7f596bd9d2b4","status":"Succeeded","startTime":"2019-02-25T09:56:37.8092326Z","endTime":"2019-02-25T09:56:41.12564Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:05 GMT'] + date: ['Mon, 25 Feb 2019 09:57:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -481,9 +481,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool list] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 @@ -493,7 +493,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:07 GMT'] + date: ['Mon, 25 Feb 2019 09:57:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -512,8 +512,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -522,9 +522,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:59:12 GMT'] + date: ['Mon, 25 Feb 2019 09:57:29 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQUgyNkFNTEZFR1pVWjYyS1pCNUVMWDVMV0JKS0o1UHxFNUVBMERDNDFCN0ZGNzNFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHU1BCM1c2TDQ2T1RIS09WVVROVU5aTDdUM09FT0dKUHwxQkQwNjlEMTIxRjU1QTVELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml index 29d42a34f3d..3faf7805fae 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:23:55Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T11:03:17Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,27 +10,27 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:23:55Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T11:03:17Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:01 GMT'] + date: ['Mon, 25 Feb 2019 11:03: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: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -39,35 +39,35 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"55fdd07b-3d8e-4f6a-adf1-7b1c12da5dec\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"8acffba5-272b-44fd-a46f-6043b45c38c3\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"335fe4ca-e7e3-42fb-b8cb-384fc6a3b3eb\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"0a5c3aaf-a3fe-4f2b-9804-3e681a754593\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9c4d472d-249d-4f79-bad7-1e49eb8ca125?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/089a2b0c-cd39-4608-ab45-f47182b3e3d6?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:05 GMT'] + date: ['Mon, 25 Feb 2019 11:03:27 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9c4d472d-249d-4f79-bad7-1e49eb8ca125?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/089a2b0c-cd39-4608-ab45-f47182b3e3d6?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:10 GMT'] + date: ['Mon, 25 Feb 2019 11:03:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,19 +104,19 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"80e78f6f-4be2-4451-93ee-badf74abac10\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"ee1db2d6-dc5f-4e44-9a46-de2f8d18d455\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"335fe4ca-e7e3-42fb-b8cb-384fc6a3b3eb\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"0a5c3aaf-a3fe-4f2b-9804-3e681a754593\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:11 GMT'] - etag: [W/"80e78f6f-4be2-4451-93ee-badf74abac10"] + date: ['Mon, 25 Feb 2019 11:03:32 GMT'] + etag: [W/"ee1db2d6-dc5f-4e44-9a46-de2f8d18d455"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -136,7 +136,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": - "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"a9869a98-5f1e-49a1-8e22-733b47d676da\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f2289b83-9568-4b1d-92b6-d5eff3136650\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"a9869a98-5f1e-49a1-8e22-733b47d676da\\\"\"\ + ,\r\n \"etag\": \"W/\\\"f2289b83-9568-4b1d-92b6-d5eff3136650\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e0592747-1efd-4774-a7f2-2ec6bba10e29?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/baa0074a-706c-4bce-88dc-9df88b4b9155?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:12 GMT'] + date: ['Mon, 25 Feb 2019 11:03:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e0592747-1efd-4774-a7f2-2ec6bba10e29?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/baa0074a-706c-4bce-88dc-9df88b4b9155?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:16 GMT'] + date: ['Mon, 25 Feb 2019 11:03:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"5d77f4cc-9328-4154-ba2a-05ceb26a154f\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891\\\"\"\ + ,\r\n \"etag\": \"W/\\\"5d77f4cc-9328-4154-ba2a-05ceb26a154f\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:16 GMT'] - etag: [W/"6cd0338f-a4dd-47d1-a4ba-13bf3cf8a891"] + date: ['Mon, 25 Feb 2019 11:03:40 GMT'] + etag: [W/"5d77f4cc-9328-4154-ba2a-05ceb26a154f"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A24%3A21.7306018Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A03%3A44.6207098Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3163cf1-985a-43ab-8860-396f777b9259?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:22 GMT'] - etag: [W/"datetime'2019-02-20T14%3A24%3A21.7306018Z'"] + date: ['Mon, 25 Feb 2019 11:03:45 GMT'] + etag: [W/"datetime'2019-02-25T11%3A03%3A44.6207098Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3163cf1-985a-43ab-8860-396f777b9259?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0cf40c4-58f9-4780-9c5c-468f0cee65f8","name":"b0cf40c4-58f9-4780-9c5c-468f0cee65f8","status":"Succeeded","startTime":"2019-02-20T14:24:21.6764379Z","endTime":"2019-02-20T14:24:21.957712Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3163cf1-985a-43ab-8860-396f777b9259","name":"a3163cf1-985a-43ab-8860-396f777b9259","status":"Succeeded","startTime":"2019-02-25T11:03:44.5616763Z","endTime":"2019-02-25T11:03:44.8429209Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:53 GMT'] + date: ['Mon, 25 Feb 2019 11:04:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A24%3A22.0067994Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A03%3A44.8868992Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:54 GMT'] - etag: [W/"datetime'2019-02-20T14%3A24%3A22.0067994Z'"] + date: ['Mon, 25 Feb 2019 11:04:24 GMT'] + etag: [W/"datetime'2019-02-25T11%3A03%3A44.8868992Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['135'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A24%3A58.0765458Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A04%3A26.3495596Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3cde5de5-caa9-4344-84c4-dee2944aff6a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:24:57 GMT'] - etag: [W/"datetime'2019-02-20T14%3A24%3A58.0765458Z'"] + date: ['Mon, 25 Feb 2019 11:04:26 GMT'] + etag: [W/"datetime'2019-02-25T11%3A04%3A26.3495596Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3cde5de5-caa9-4344-84c4-dee2944aff6a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c367fa5-96fd-4ba3-a937-76c44ecdff4b","name":"4c367fa5-96fd-4ba3-a937-76c44ecdff4b","status":"Succeeded","startTime":"2019-02-20T14:24:58.0145837Z","endTime":"2019-02-20T14:24:58.3895952Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3cde5de5-caa9-4344-84c4-dee2944aff6a","name":"3cde5de5-caa9-4344-84c4-dee2944aff6a","status":"Succeeded","startTime":"2019-02-25T11:04:26.2973797Z","endTime":"2019-02-25T11:04:26.6908811Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:25:29 GMT'] + date: ['Mon, 25 Feb 2019 11:05:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A24%3A58.4307988Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"fbcb05c6-c0a2-4c23-6129-289c3fa7864b","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A04%3A26.7278306Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"651039f7-a6ae-360c-4a7a-2592eef713c5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:25:30 GMT'] - etag: [W/"datetime'2019-02-20T14%3A24%3A58.4307988Z'"] + date: ['Mon, 25 Feb 2019 11:05:03 GMT'] + etag: [W/"datetime'2019-02-25T11%3A04%3A26.7278306Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -440,20 +440,20 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A25%3A33.8770988Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A05%3A08.9720539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['951'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:25:34 GMT'] - etag: [W/"datetime'2019-02-20T14%3A25%3A33.8770988Z'"] + date: ['Mon, 25 Feb 2019 11:05:11 GMT'] + etag: [W/"datetime'2019-02-25T11%3A05%3A08.9720539Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -471,17 +471,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","name":"d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","status":"Creating","startTime":"2019-02-20T14:25:33.8379972Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708","name":"899c42be-0b3c-4508-99bc-568c22432708","status":"Creating","startTime":"2019-02-25T11:05:08.9056752Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:26:05 GMT'] + date: ['Mon, 25 Feb 2019 11:05:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -500,17 +500,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","name":"d7eec8f3-3cac-4716-a093-87dfbc6f0a7a","status":"Succeeded","startTime":"2019-02-20T14:25:33.8379972Z","endTime":"2019-02-20T14:26:06.6666426Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708","name":"899c42be-0b3c-4508-99bc-568c22432708","status":"Succeeded","startTime":"2019-02-25T11:05:08.9056752Z","endTime":"2019-02-25T11:05:45.2381826Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:26:37 GMT'] + date: ['Mon, 25 Feb 2019 11:06:25 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -529,18 +529,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A26%3A06.7065336Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f7791238","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7df6a4f4-ae97-dd8c-6f7c-132f1d5e81c7","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A05%3A45.2670204Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_91f9733c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0d4b2f67-ea80-3682-6600-13863127c18c","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1642'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:26:38 GMT'] - etag: [W/"datetime'2019-02-20T14%3A26%3A06.7065336Z'"] + date: ['Mon, 25 Feb 2019 11:06:23 GMT'] + etag: [W/"datetime'2019-02-25T11%3A05%3A45.2670204Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -558,18 +558,18 @@ interactions: CommandName: [anf volume list] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A26%3A06.7065336Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f7791238","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7df6a4f4-ae97-dd8c-6f7c-132f1d5e81c7","fileSystemId":"ee510556-903d-a866-14ac-e93473127c32","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A05%3A45.2670204Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_91f9733c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0d4b2f67-ea80-3682-6600-13863127c18c","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} headers: cache-control: [no-cache] content-length: ['1654'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:26:39 GMT'] + date: ['Mon, 25 Feb 2019 11:06:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -588,25 +588,25 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--resource-group --account-name --pool-name --volume-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:26:41 GMT'] + date: ['Mon, 25 Feb 2019 11:06:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -617,45 +617,17 @@ interactions: CommandName: [anf volume delete] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Deleting","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:27:12 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Deleting","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5","name":"ca29099e-8890-4492-989f-101b84ebb0a5","status":"Deleting","startTime":"2019-02-25T11:06:25.1258766Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:27:44 GMT'] + date: ['Mon, 25 Feb 2019 11:07:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -673,17 +645,17 @@ interactions: CommandName: [anf volume delete] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b69af858-a3d2-4a7d-91ed-18cac09b8aad","name":"b69af858-a3d2-4a7d-91ed-18cac09b8aad","status":"Succeeded","startTime":"2019-02-20T14:26:41.9554929Z","endTime":"2019-02-20T14:27:46.7729814Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5","name":"ca29099e-8890-4492-989f-101b84ebb0a5","status":"Succeeded","startTime":"2019-02-25T11:06:25.1258766Z","endTime":"2019-02-25T11:07:17.3790907Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:16 GMT'] + date: ['Mon, 25 Feb 2019 11:07:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -700,9 +672,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume list] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 @@ -712,7 +684,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:18 GMT'] + date: ['Mon, 25 Feb 2019 11:07:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -731,8 +703,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -741,12 +713,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:28:22 GMT'] + date: ['Mon, 25 Feb 2019 11:07:37 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNENNTks1UUQyS0dZWkdFUVJITDVaN0dJV0VJMk5TT3w0NDQzMDE4MjA4RTM0RTg5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQkVaWVNSUEJZVTIyQ1FPUTdaQkw3S1BSRUZRWFE2T3w5Q0ZCMUY0QzdCNEVDNjZELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml index 8f6bf656b62..20e229191c5 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:04:53Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T12:10:36Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T15:04:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T12:10:36Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:04:56 GMT'] + date: ['Mon, 25 Feb 2019 12:10:41 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -39,35 +39,35 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"fc72d45c-a3a1-4091-857c-bd7828259a3c\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"1007de68-fb9d-4d1a-be85-c20307ee2ad3\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"1a1d352f-1416-4e34-af81-6093f2e8f92e\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"447ca765-5eb0-4984-a888-2325c838d1c3\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/de65e53b-cc21-4eae-831f-2bd9aee11c1a?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0ac4bce8-bd81-4c72-8cbf-e4722eb1c212?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:10 GMT'] + date: ['Mon, 25 Feb 2019 12:10:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/de65e53b-cc21-4eae-831f-2bd9aee11c1a?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0ac4bce8-bd81-4c72-8cbf-e4722eb1c212?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:11 GMT'] + date: ['Mon, 25 Feb 2019 12:10:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,17 +104,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"eab8aa99-2136-4df3-b58f-65c7a8ce2272\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"43044bc5-5b34-48c6-a25e-d8bbf39daf5f\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"1a1d352f-1416-4e34-af81-6093f2e8f92e\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"447ca765-5eb0-4984-a888-2325c838d1c3\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:10 GMT'] - etag: [W/"eab8aa99-2136-4df3-b58f-65c7a8ce2272"] + date: ['Mon, 25 Feb 2019 12:10:53 GMT'] + etag: [W/"43044bc5-5b34-48c6-a25e-d8bbf39daf5f"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"5a7a9234-8d37-497a-a403-be66ff4f6de8\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"39d8c677-c426-40f9-a95f-05051765b3c4\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"5a7a9234-8d37-497a-a403-be66ff4f6de8\\\"\"\ + ,\r\n \"etag\": \"W/\\\"39d8c677-c426-40f9-a95f-05051765b3c4\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/592a17cf-55d1-4dc9-b901-39f732136160?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fe0b3e94-d83b-4361-89c3-177af8b29f9d?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:18 GMT'] + date: ['Mon, 25 Feb 2019 12:10:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/592a17cf-55d1-4dc9-b901-39f732136160?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fe0b3e94-d83b-4361-89c3-177af8b29f9d?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:39 GMT'] + date: ['Mon, 25 Feb 2019 12:10:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"be82c6c0-114f-4e77-8929-0f88e38ef419\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"bda5c635-a5cc-41d9-a2b2-f84aa790d0c2\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"be82c6c0-114f-4e77-8929-0f88e38ef419\\\"\"\ + ,\r\n \"etag\": \"W/\\\"bda5c635-a5cc-41d9-a2b2-f84aa790d0c2\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:23 GMT'] - etag: [W/"be82c6c0-114f-4e77-8929-0f88e38ef419"] + date: ['Mon, 25 Feb 2019 12:10:59 GMT'] + etag: [W/"bda5c635-a5cc-41d9-a2b2-f84aa790d0c2"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A05%3A26.1663938Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A11%3A04.1844024Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d41a6eca-208f-49db-b138-4c440354011f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:37 GMT'] - etag: [W/"datetime'2019-02-20T15%3A05%3A26.1663938Z'"] + date: ['Mon, 25 Feb 2019 12:11:04 GMT'] + etag: [W/"datetime'2019-02-25T12%3A11%3A04.1844024Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d41a6eca-208f-49db-b138-4c440354011f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/33f1b475-00b8-428c-947a-2998ffbb423c","name":"33f1b475-00b8-428c-947a-2998ffbb423c","status":"Succeeded","startTime":"2019-02-20T15:05:26.119423Z","endTime":"2019-02-20T15:05:26.4006911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d41a6eca-208f-49db-b138-4c440354011f","name":"d41a6eca-208f-49db-b138-4c440354011f","status":"Succeeded","startTime":"2019-02-25T12:11:04.0278058Z","endTime":"2019-02-25T12:11:04.4809516Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:06:01 GMT'] + date: ['Mon, 25 Feb 2019 12:11:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A05%3A26.4525968Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A11%3A04.6847597Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:06:00 GMT'] - etag: [W/"datetime'2019-02-20T15%3A05%3A26.4525968Z'"] + date: ['Mon, 25 Feb 2019 12:11:38 GMT'] + etag: [W/"datetime'2019-02-25T12%3A11%3A04.6847597Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A06%3A08.1403511Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A11%3A46.584732Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cfa1e68c-1345-4091-abcb-5ca54121e391?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['542'] + content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:06:42 GMT'] - etag: [W/"datetime'2019-02-20T15%3A06%3A08.1403511Z'"] + date: ['Mon, 25 Feb 2019 12:11:46 GMT'] + etag: [W/"datetime'2019-02-25T12%3A11%3A46.584732Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cfa1e68c-1345-4091-abcb-5ca54121e391?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d88a50db-83b3-4247-bc43-cda287c000ed","name":"d88a50db-83b3-4247-bc43-cda287c000ed","status":"Succeeded","startTime":"2019-02-20T15:06:08.0722669Z","endTime":"2019-02-20T15:06:08.4785248Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cfa1e68c-1345-4091-abcb-5ca54121e391","name":"cfa1e68c-1345-4091-abcb-5ca54121e391","status":"Succeeded","startTime":"2019-02-25T12:11:46.3829378Z","endTime":"2019-02-25T12:11:47.1856287Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:07:47 GMT'] + date: ['Mon, 25 Feb 2019 12:12:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A06%3A08.5336308Z''\"","location":"westus2","properties":{"poolId":"1d265bfa-942e-3e3a-41e2-36ee9f1c5015","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A11%3A47.3833039Z''\"","location":"westus2","properties":{"poolId":"a9a513aa-1bdb-4c0b-f52f-5192939b36b8","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:06:55 GMT'] - etag: [W/"datetime'2019-02-20T15%3A06%3A08.5336308Z'"] + date: ['Mon, 25 Feb 2019 12:12:20 GMT'] + etag: [W/"datetime'2019-02-25T12%3A11%3A47.3833039Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -439,26 +439,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A06%3A49.6739958Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A12%3A27.0847056Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:07:00 GMT'] - etag: [W/"datetime'2019-02-20T15%3A06%3A49.6739958Z'"] + date: ['Mon, 25 Feb 2019 12:12:27 GMT'] + etag: [W/"datetime'2019-02-25T12%3A12%3A27.0847056Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -470,17 +470,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e","name":"9bbbaa39-7396-4ac4-b16a-76270fffa51e","status":"Creating","startTime":"2019-02-20T15:06:49.6074941Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365","name":"d7cc7bb0-413d-4887-b54c-f00346c22365","status":"Creating","startTime":"2019-02-25T12:12:26.980598Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['637'] + content-length: ['636'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:07:21 GMT'] + date: ['Mon, 25 Feb 2019 12:12:59 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -499,17 +499,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9bbbaa39-7396-4ac4-b16a-76270fffa51e","name":"9bbbaa39-7396-4ac4-b16a-76270fffa51e","status":"Succeeded","startTime":"2019-02-20T15:06:49.6074941Z","endTime":"2019-02-20T15:07:24.1418446Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365","name":"d7cc7bb0-413d-4887-b54c-f00346c22365","status":"Succeeded","startTime":"2019-02-25T12:12:26.980598Z","endTime":"2019-02-25T12:13:07.575048Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['648'] + content-length: ['646'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:07:53 GMT'] + date: ['Mon, 25 Feb 2019 12:13:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -528,18 +528,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A07%3A24.175617Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f16bcf84","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"d939d933-5caa-59e0-bdab-2913cb3a362e","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A13%3A07.612699Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_20f93ced","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"b820d667-11d6-6882-f75d-0e57cfbd7552","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1600'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:07:54 GMT'] - etag: [W/"datetime'2019-02-20T15%3A07%3A24.175617Z'"] + date: ['Mon, 25 Feb 2019 12:13:33 GMT'] + etag: [W/"datetime'2019-02-25T12%3A13%3A07.612699Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -550,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "52508b2e-1bff-cca5-22fb-ba855fc11b2d"}, + body: !!python/unicode '{"properties": {"fileSystemId": "d4a8016d-7532-8933-67cc-30f6545e1f42"}, "location": "westus2"}' headers: Accept: [application/json] @@ -560,25 +560,25 @@ interactions: Content-Length: ['95'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -v -s -l --file-system-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 - 3:08:02 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4786e04-3c90-269b-967a-065ed5789cd7","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","name":"cli-sn-000005","created":"2019-02-20T15:08:00Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 + 12:13:44 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"d8927a8e-c1d8-0501-08bd-62a0386627d1","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","name":"cli-sn-000005","created":"2019-02-25T12:13:41Z"}}'} headers: cache-control: [no-cache] - content-length: ['778'] + content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:08:03 GMT'] + date: ['Mon, 25 Feb 2019 12:13:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -589,18 +589,18 @@ interactions: CommandName: [anf snapshot list] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4786e04-3c90-269b-967a-065ed5789cd7","fileSystemId":"52508b2e-1bff-cca5-22fb-ba855fc11b2d","name":"cli-sn-000005","created":"2019-02-20T15:08:00Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"d8927a8e-c1d8-0501-08bd-62a0386627d1","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","name":"cli-sn-000005","created":"2019-02-25T12:13:41Z"}}]}'} headers: cache-control: [no-cache] content-length: ['760'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:08:05 GMT'] + date: ['Mon, 25 Feb 2019 12:13:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -619,8 +619,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 @@ -629,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 15:08:08 GMT'] + date: ['Mon, 25 Feb 2019 12:13:55 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJWUtQM09GRDJOVjJOQllCTFdRSlJCU1lVTk9OSTNHSVBVWnw1ODMzQzY4MkI4RUQ1NDExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc3N0RBWVZMRUhINzZPNVVMVTZEUVpFUDc3N1BNWkZINkozWXw0MERCMkY0Qzk2RTNEMUNCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml index 6b9a5af677e..2ef07bfcd6f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:50:37Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:47:18Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:50:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:47:18Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:50:39 GMT'] + date: ['Mon, 25 Feb 2019 09:47: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: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -38,20 +38,20 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A43.8673224Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.0475122Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:50:44 GMT'] - etag: [W/"datetime'2019-02-20T13%3A50%3A43.8673224Z'"] + date: ['Mon, 25 Feb 2019 09:47:26 GMT'] + etag: [W/"datetime'2019-02-25T09%3A47%3A26.0475122Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1ffd10b7-74e6-404e-a01c-6ef3bd5f1696","name":"1ffd10b7-74e6-404e-a01c-6ef3bd5f1696","status":"Succeeded","startTime":"2019-02-20T13:50:43.7852954Z","endTime":"2019-02-20T13:50:44.0821455Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba","name":"2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba","status":"Succeeded","startTime":"2019-02-25T09:47:25.8883093Z","endTime":"2019-02-25T09:47:26.284462Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:51:15 GMT'] + date: ['Mon, 25 Feb 2019 09:47:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.3347162Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:51:16 GMT'] - etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] + date: ['Mon, 25 Feb 2019 09:47:58 GMT'] + etag: [W/"datetime'2019-02-25T09%3A47%3A26.3347162Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -124,20 +124,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account show] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.3347162Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:51:18 GMT'] - etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] + date: ['Mon, 25 Feb 2019 09:48:01 GMT'] + etag: [W/"datetime'2019-02-25T09%3A47%3A26.3347162Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -154,20 +154,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account show] Connection: [keep-alive] - ParameterSetName: [-g --ids] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A50%3A44.1295084Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.3347162Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:51:20 GMT'] - etag: [W/"datetime'2019-02-20T13%3A50%3A44.1295084Z'"] + date: ['Mon, 25 Feb 2019 09:48:03 GMT'] + etag: [W/"datetime'2019-02-25T09%3A47%3A26.3347162Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -186,8 +186,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -196,9 +196,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:51:24 GMT'] + date: ['Mon, 25 Feb 2019 09:48:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSE5PNUhWSFBESUJFSVBZWElXQkJBS0ZKRlBUTE9MSHwxODM0ODQ0QUMxN0E5QjgxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVjRaUlEzWDZRTE1aNDNMRlZNSVJWVVFDU1hJRVQ0UXxFNkI3OUEyNTFFM0ZDREExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml index ba19af9f94d..9d5fe471bb4 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:59:12Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:57:19Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:59:12Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:57:19Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:15 GMT'] + date: ['Mon, 25 Feb 2019 09:57:28 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: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -38,20 +38,20 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A59%3A18.2454983Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A57%3A28.8281449Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e2a9cb3b-1866-418a-a693-0a5d8a926c0d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:18 GMT'] - etag: [W/"datetime'2019-02-20T13%3A59%3A18.2454983Z'"] + date: ['Mon, 25 Feb 2019 09:57:32 GMT'] + etag: [W/"datetime'2019-02-25T09%3A57%3A28.8281449Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e2a9cb3b-1866-418a-a693-0a5d8a926c0d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7","name":"d4af0186-bc6c-46ab-9340-9fa3ab6fb9a7","status":"Succeeded","startTime":"2019-02-20T13:59:18.1974235Z","endTime":"2019-02-20T13:59:18.4786746Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e2a9cb3b-1866-418a-a693-0a5d8a926c0d","name":"e2a9cb3b-1866-418a-a693-0a5d8a926c0d","status":"Succeeded","startTime":"2019-02-25T09:57:28.6244635Z","endTime":"2019-02-25T09:57:29.1244899Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:49 GMT'] + date: ['Mon, 25 Feb 2019 09:58:00 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A59%3A18.5337034Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A57%3A29.3285035Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:51 GMT'] - etag: [W/"datetime'2019-02-20T13%3A59%3A18.5337034Z'"] + date: ['Mon, 25 Feb 2019 09:58:02 GMT'] + etag: [W/"datetime'2019-02-25T09%3A57%3A29.3285035Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -128,26 +128,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A54.8086002Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A06.652188Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1326fd61-7cc4-4f59-8524-cecf4e0fdbf4?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['542'] + content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:59:54 GMT'] - etag: [W/"datetime'2019-02-20T13%3A59%3A54.8086002Z'"] + date: ['Mon, 25 Feb 2019 09:58:07 GMT'] + etag: [W/"datetime'2019-02-25T09%3A58%3A06.652188Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -158,17 +158,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1326fd61-7cc4-4f59-8524-cecf4e0fdbf4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e4c9c346-4f80-4760-ab53-d0c83c32ef24","name":"e4c9c346-4f80-4760-ab53-d0c83c32ef24","status":"Succeeded","startTime":"2019-02-20T13:59:54.7651227Z","endTime":"2019-02-20T13:59:55.2182617Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1326fd61-7cc4-4f59-8524-cecf4e0fdbf4","name":"1326fd61-7cc4-4f59-8524-cecf4e0fdbf4","status":"Succeeded","startTime":"2019-02-25T09:58:06.5864002Z","endTime":"2019-02-25T09:58:07.0082179Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:00:26 GMT'] + date: ['Mon, 25 Feb 2019 09:58:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -186,18 +186,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A07.0644831Z''\"","location":"westus2","properties":{"poolId":"364eea87-29e3-f7e0-daf3-152e3160b194","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:00:26 GMT'] - etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] + date: ['Mon, 25 Feb 2019 09:58:38 GMT'] + etag: [W/"datetime'2019-02-25T09%3A58%3A07.0644831Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -214,20 +214,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool show] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A07.0644831Z''\"","location":"westus2","properties":{"poolId":"364eea87-29e3-f7e0-daf3-152e3160b194","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:00:29 GMT'] - etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] + date: ['Mon, 25 Feb 2019 09:58:41 GMT'] + etag: [W/"datetime'2019-02-25T09%3A58%3A07.0644831Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -244,20 +244,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool show] Connection: [keep-alive] - ParameterSetName: [-g --ids] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T13%3A59%3A55.2749308Z''\"","location":"westus2","properties":{"poolId":"36071094-c0a2-88c3-51a5-89dfae8a52e2","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A07.0644831Z''\"","location":"westus2","properties":{"poolId":"364eea87-29e3-f7e0-daf3-152e3160b194","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:00:30 GMT'] - etag: [W/"datetime'2019-02-20T13%3A59%3A55.2749308Z'"] + date: ['Mon, 25 Feb 2019 09:58:43 GMT'] + etag: [W/"datetime'2019-02-25T09%3A58%3A07.0644831Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -276,8 +276,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -286,12 +286,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:00:34 GMT'] + date: ['Mon, 25 Feb 2019 09:58:47 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHTVdPQkpRSENHQ09RU1ZKSFU1SU1VQkpIS1ZOUUNBRnwxMDhBNzcwQTU5MUQxNzE5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNlRORVNNWldOWUZYTUdMWEU1Q1FNQVA1UDJSTUYySXw0OERCMjk4QTNBNTUzOEU2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml index c596928181b..ada779c235a 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:57:47Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T12:13:53Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,18 +10,18 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T14:57:47Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T12:13:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:12 GMT'] + date: ['Mon, 25 Feb 2019 12:13:59 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -39,29 +39,29 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"a3ba3ffb-895d-4934-978c-c8d986e18451\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f26dfea5-e47d-441d-b981-ebceccd8ae4a\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"f477064f-605a-4528-9ec9-5c7ebc406d33\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"58b14c97-82e2-4f58-8bb9-fdc261836f67\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8580b825-85fb-4ca1-98d8-aa66250e3fcc?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fb72743b-bb3f-4a2d-a36b-620fafab75fd?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:57:57 GMT'] + date: ['Mon, 25 Feb 2019 12:14:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8580b825-85fb-4ca1-98d8-aa66250e3fcc?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fb72743b-bb3f-4a2d-a36b-620fafab75fd?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:11 GMT'] + date: ['Mon, 25 Feb 2019 12:14:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,17 +104,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"10114caa-c1df-474b-8336-c3a143800718\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"66bb39f2-fd63-48c9-b255-d2775f11ccc9\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"f477064f-605a-4528-9ec9-5c7ebc406d33\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"58b14c97-82e2-4f58-8bb9-fdc261836f67\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:09 GMT'] - etag: [W/"10114caa-c1df-474b-8336-c3a143800718"] + date: ['Mon, 25 Feb 2019 12:14:07 GMT'] + etag: [W/"66bb39f2-fd63-48c9-b255-d2775f11ccc9"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"6282813a-3d24-4073-b026-76540fd1e6cf\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"d9dff826-8ad2-46c9-92be-c4bbeaa47ce6\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"6282813a-3d24-4073-b026-76540fd1e6cf\\\"\"\ + ,\r\n \"etag\": \"W/\\\"d9dff826-8ad2-46c9-92be-c4bbeaa47ce6\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ff96f0b6-7e51-44fe-a4e4-4a246e1fec0d?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/546b6fa1-3625-4442-8e3f-7a337ee2ab7f?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:06 GMT'] + date: ['Mon, 25 Feb 2019 12:14:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ff96f0b6-7e51-44fe-a4e4-4a246e1fec0d?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/546b6fa1-3625-4442-8e3f-7a337ee2ab7f?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:23 GMT'] + date: ['Mon, 25 Feb 2019 12:14:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"427240bf-2241-4c0d-bc10-45d4f9e09263\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"b96bf06e-9171-4b6f-bfe5-317baaf23061\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"427240bf-2241-4c0d-bc10-45d4f9e09263\\\"\"\ + ,\r\n \"etag\": \"W/\\\"b96bf06e-9171-4b6f-bfe5-317baaf23061\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:35 GMT'] - etag: [W/"427240bf-2241-4c0d-bc10-45d4f9e09263"] + date: ['Mon, 25 Feb 2019 12:14:17 GMT'] + etag: [W/"b96bf06e-9171-4b6f-bfe5-317baaf23061"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A58%3A20.7317608Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A14%3A25.5304438Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c9add457-a28d-4724-9e5d-d0998d829486?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:41 GMT'] - etag: [W/"datetime'2019-02-20T14%3A58%3A20.7317608Z'"] + date: ['Mon, 25 Feb 2019 12:14:28 GMT'] + etag: [W/"datetime'2019-02-25T12%3A14%3A25.5304438Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c9add457-a28d-4724-9e5d-d0998d829486?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9f874f42-f14a-4e43-a360-1f543704f096","name":"9f874f42-f14a-4e43-a360-1f543704f096","status":"Succeeded","startTime":"2019-02-20T14:58:20.6647853Z","endTime":"2019-02-20T14:58:20.9772461Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c9add457-a28d-4724-9e5d-d0998d829486","name":"c9add457-a28d-4724-9e5d-d0998d829486","status":"Succeeded","startTime":"2019-02-25T12:14:25.3720695Z","endTime":"2019-02-25T12:14:25.7898139Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:58:56 GMT'] + date: ['Mon, 25 Feb 2019 12:15:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A58%3A21.0209685Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A14%3A25.8836953Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:59:02 GMT'] - etag: [W/"datetime'2019-02-20T14%3A58%3A21.0209685Z'"] + date: ['Mon, 25 Feb 2019 12:14:59 GMT'] + etag: [W/"datetime'2019-02-25T12%3A14%3A25.8836953Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A59%3A02.2914218Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A15%3A07.5274839Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ff427ad-f7cf-48a8-a12d-f806f23e8fe7?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:59:37 GMT'] - etag: [W/"datetime'2019-02-20T14%3A59%3A02.2914218Z'"] + date: ['Mon, 25 Feb 2019 12:15:10 GMT'] + etag: [W/"datetime'2019-02-25T12%3A15%3A07.5274839Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ff427ad-f7cf-48a8-a12d-f806f23e8fe7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/59d0971c-e13d-429a-913f-ad66b77886ba","name":"59d0971c-e13d-429a-913f-ad66b77886ba","status":"Succeeded","startTime":"2019-02-20T14:59:02.2369849Z","endTime":"2019-02-20T14:59:02.6900037Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ff427ad-f7cf-48a8-a12d-f806f23e8fe7","name":"8ff427ad-f7cf-48a8-a12d-f806f23e8fe7","status":"Succeeded","startTime":"2019-02-25T12:15:07.4271735Z","endTime":"2019-02-25T12:15:07.8802968Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:59:42 GMT'] + date: ['Mon, 25 Feb 2019 12:15:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A59%3A02.7407432Z''\"","location":"westus2","properties":{"poolId":"90c93128-f312-cd36-7dfb-b07c80456081","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A15%3A07.983811Z''\"","location":"westus2","properties":{"poolId":"f3f3c4c6-f0e7-5154-d3c1-b0bdb41583a2","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['650'] + content-length: ['649'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:59:36 GMT'] - etag: [W/"datetime'2019-02-20T14%3A59%3A02.7407432Z'"] + date: ['Mon, 25 Feb 2019 12:15:45 GMT'] + etag: [W/"datetime'2019-02-25T12%3A15%3A07.983811Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -439,26 +439,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A59%3A44.6296393Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A15%3A49.0199926Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3877b00-692a-4382-95d2-70ab8ab75671?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:00:51 GMT'] - etag: [W/"datetime'2019-02-20T14%3A59%3A44.6296393Z'"] + date: ['Mon, 25 Feb 2019 12:15:50 GMT'] + etag: [W/"datetime'2019-02-25T12%3A15%3A49.0199926Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -470,46 +470,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2","name":"4317f215-876f-4479-bf43-f6cbb2c8f6e2","status":"Creating","startTime":"2019-02-20T14:59:44.5850016Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:00:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3877b00-692a-4382-95d2-70ab8ab75671?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4317f215-876f-4479-bf43-f6cbb2c8f6e2","name":"4317f215-876f-4479-bf43-f6cbb2c8f6e2","status":"Succeeded","startTime":"2019-02-20T14:59:44.5850016Z","endTime":"2019-02-20T15:00:26.9341911Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3877b00-692a-4382-95d2-70ab8ab75671","name":"a3877b00-692a-4382-95d2-70ab8ab75671","status":"Succeeded","startTime":"2019-02-25T12:15:48.903755Z","endTime":"2019-02-25T12:16:21.2234433Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['648'] + content-length: ['647'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:01:24 GMT'] + date: ['Mon, 25 Feb 2019 12:16:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -528,18 +499,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A00%3A26.9628533Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_22945af0","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"ab28a39f-afbf-4314-9a91-00434e44eb41","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A16%3A21.2598916Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5f9520d6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4c4cc6c8-af29-61cc-a731-0700b915708c","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:00:51 GMT'] - etag: [W/"datetime'2019-02-20T15%3A00%3A26.9628533Z'"] + date: ['Mon, 25 Feb 2019 12:16:33 GMT'] + etag: [W/"datetime'2019-02-25T12%3A16%3A21.2598916Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -550,7 +521,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "38347f9e-0e90-95da-3d89-ce9e6212e50b"}, + body: !!python/unicode '{"properties": {"fileSystemId": "6ac875a3-27a4-883d-4440-70e7db58749b"}, "location": "westus2"}' headers: Accept: [application/json] @@ -560,19 +531,19 @@ interactions: Content-Length: ['95'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -v -s -l --file-system-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 - 3:01:02 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 + 12:16:32 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"1d4a00cb-9740-e06e-dfcb-e7318a9c6a30","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","name":"cli-sn-000005","created":"2019-02-25T12:16:30Z"}}'} headers: cache-control: [no-cache] - content-length: ['778'] + content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:01:11 GMT'] + date: ['Mon, 25 Feb 2019 12:16:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -588,19 +559,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf snapshot show] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v -s] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v -s] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"1d4a00cb-9740-e06e-dfcb-e7318a9c6a30","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","name":"cli-sn-000005","created":"2019-02-25T12:16:30Z"}}'} headers: cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:01:12 GMT'] + date: ['Mon, 25 Feb 2019 12:16:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -617,19 +588,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf snapshot show] Connection: [keep-alive] - ParameterSetName: [-g --ids] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"7f3f0845-ba0a-bb00-0570-5a1c7b8c1610","fileSystemId":"38347f9e-0e90-95da-3d89-ce9e6212e50b","name":"cli-sn-000005","created":"2019-02-20T15:00:59Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"1d4a00cb-9740-e06e-dfcb-e7318a9c6a30","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","name":"cli-sn-000005","created":"2019-02-25T12:16:30Z"}}'} headers: cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:01:08 GMT'] + date: ['Mon, 25 Feb 2019 12:16:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -648,8 +619,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 @@ -658,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 15:01:13 GMT'] + date: ['Mon, 25 Feb 2019 12:16:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdMSlRPVU9GVlY1RTU1TFRVN0kzM05LQ0M0Tk9WNk9ZV1RLVHw0M0UzNDNGODNCMTE1RjdGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdITDRVMlVVRVJUUTJVNEtaSUYyTjQzN0M1SEVRUDM0QkVMWHw3OTdBRUZEMzRGODY0MzgyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml index 47cca9f244b..004f9ce4d4d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:28:37Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:59:49Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,27 +10,27 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:28:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:59:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:41 GMT'] + date: ['Mon, 25 Feb 2019 10:59:53 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1192'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -39,35 +39,35 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"b36c44cd-1927-475c-9401-a128e742a1c7\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"9ea42d67-0b55-456a-9443-fffe127f8742\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"012d81eb-2bca-4b6a-9419-eb8df627d6bf\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"fb6c9760-0008-4c78-9d40-957a8f5dcd38\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/851d13d7-2178-40de-a6bf-87468dd39965?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0c0e7cea-8278-4a1c-bee4-adf2155d817e?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:46 GMT'] + date: ['Mon, 25 Feb 2019 10:59:59 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/851d13d7-2178-40de-a6bf-87468dd39965?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0c0e7cea-8278-4a1c-bee4-adf2155d817e?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:52 GMT'] + date: ['Mon, 25 Feb 2019 11:00:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,19 +104,19 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"ea4593f6-b2e7-4433-91d2-2f89dc005c93\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"87e02dc5-213d-4378-939b-507c5d8022f0\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"012d81eb-2bca-4b6a-9419-eb8df627d6bf\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"fb6c9760-0008-4c78-9d40-957a8f5dcd38\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:53 GMT'] - etag: [W/"ea4593f6-b2e7-4433-91d2-2f89dc005c93"] + date: ['Mon, 25 Feb 2019 11:00:04 GMT'] + etag: [W/"87e02dc5-213d-4378-939b-507c5d8022f0"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -136,7 +136,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": - "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"3eecf67a-e3ef-4c3d-8fd1-3b287a6d7d2d\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f0ecf2d5-c5a9-4dbb-aca0-ca6215a9cf4e\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"3eecf67a-e3ef-4c3d-8fd1-3b287a6d7d2d\\\"\"\ + ,\r\n \"etag\": \"W/\\\"f0ecf2d5-c5a9-4dbb-aca0-ca6215a9cf4e\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b1771ef6-d42d-4b47-8f41-3db1f7fa0924?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/5c9ab9fd-eb11-4828-950e-8d749dc298c1?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:54 GMT'] + date: ['Mon, 25 Feb 2019 11:00:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b1771ef6-d42d-4b47-8f41-3db1f7fa0924?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/5c9ab9fd-eb11-4828-950e-8d749dc298c1?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:58 GMT'] + date: ['Mon, 25 Feb 2019 11:00:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"3b932532-465d-4cfc-b052-895f15f4a479\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"72f3d547-518b-4017-9e5d-23e842bd7b21\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"3b932532-465d-4cfc-b052-895f15f4a479\\\"\"\ + ,\r\n \"etag\": \"W/\\\"72f3d547-518b-4017-9e5d-23e842bd7b21\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:28:59 GMT'] - etag: [W/"3b932532-465d-4cfc-b052-895f15f4a479"] + date: ['Mon, 25 Feb 2019 11:00:10 GMT'] + etag: [W/"72f3d547-518b-4017-9e5d-23e842bd7b21"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A29%3A04.4774175Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A00%3A14.9477089Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7d744a5-2a4b-49a1-b480-48626cbf82ea?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:29:04 GMT'] - etag: [W/"datetime'2019-02-20T14%3A29%3A04.4774175Z'"] + date: ['Mon, 25 Feb 2019 11:00:14 GMT'] + etag: [W/"datetime'2019-02-25T11%3A00%3A14.9477089Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7d744a5-2a4b-49a1-b480-48626cbf82ea?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d2cc6cab-12a5-4911-b635-aaacf5f6f1de","name":"d2cc6cab-12a5-4911-b635-aaacf5f6f1de","status":"Succeeded","startTime":"2019-02-20T14:29:04.4291228Z","endTime":"2019-02-20T14:29:04.7103802Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7d744a5-2a4b-49a1-b480-48626cbf82ea","name":"c7d744a5-2a4b-49a1-b480-48626cbf82ea","status":"Succeeded","startTime":"2019-02-25T11:00:14.8816609Z","endTime":"2019-02-25T11:00:15.1784916Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:29:35 GMT'] + date: ['Mon, 25 Feb 2019 11:00:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A29%3A04.7596176Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A00%3A15.226909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:29:38 GMT'] - etag: [W/"datetime'2019-02-20T14%3A29%3A04.7596176Z'"] + date: ['Mon, 25 Feb 2019 11:00:55 GMT'] + etag: [W/"datetime'2019-02-25T11%3A00%3A15.226909Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['117'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A29%3A41.9981967Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A00%3A56.5164481Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5857defc-fda7-4d20-a43b-931f1eee7b25?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:29:42 GMT'] - etag: [W/"datetime'2019-02-20T14%3A29%3A41.9981967Z'"] + date: ['Mon, 25 Feb 2019 11:00:56 GMT'] + etag: [W/"datetime'2019-02-25T11%3A00%3A56.5164481Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5857defc-fda7-4d20-a43b-931f1eee7b25?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8b0be358-019f-4708-b140-6b59cc6ad150","name":"8b0be358-019f-4708-b140-6b59cc6ad150","status":"Succeeded","startTime":"2019-02-20T14:29:41.942778Z","endTime":"2019-02-20T14:29:42.317781Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5857defc-fda7-4d20-a43b-931f1eee7b25","name":"5857defc-fda7-4d20-a43b-931f1eee7b25","status":"Succeeded","startTime":"2019-02-25T11:00:56.4209448Z","endTime":"2019-02-25T11:00:56.8896547Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['613'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:30:14 GMT'] + date: ['Mon, 25 Feb 2019 11:01:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A29%3A42.3654594Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"381f2e7c-687e-695f-3754-441c1922ad13","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A00%3A56.9277429Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"29570baf-e12c-e3cd-f5ec-40628262f915","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:30:15 GMT'] - etag: [W/"datetime'2019-02-20T14%3A29%3A42.3654594Z'"] + date: ['Mon, 25 Feb 2019 11:01:47 GMT'] + etag: [W/"datetime'2019-02-25T11%3A00%3A56.9277429Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -440,26 +440,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A19.7121162Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A01%3A39.5682446Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:30:19 GMT'] - etag: [W/"datetime'2019-02-20T14%3A30%3A19.7121162Z'"] + date: ['Mon, 25 Feb 2019 11:01:41 GMT'] + etag: [W/"datetime'2019-02-25T11%3A01%3A39.5682446Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -471,17 +471,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af","name":"8da17c23-d49d-4d34-8390-1f8f00bb32af","status":"Creating","startTime":"2019-02-20T14:30:19.6610494Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e","name":"ae8b0fbb-1ed8-47af-8e04-067e220a271e","status":"Creating","startTime":"2019-02-25T11:01:39.5033548Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:30:50 GMT'] + date: ['Mon, 25 Feb 2019 11:02:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -500,17 +500,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8da17c23-d49d-4d34-8390-1f8f00bb32af","name":"8da17c23-d49d-4d34-8390-1f8f00bb32af","status":"Succeeded","startTime":"2019-02-20T14:30:19.6610494Z","endTime":"2019-02-20T14:30:52.8293325Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e","name":"ae8b0fbb-1ed8-47af-8e04-067e220a271e","status":"Succeeded","startTime":"2019-02-25T11:01:39.5033548Z","endTime":"2019-02-25T11:02:15.0471389Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:31:23 GMT'] + date: ['Mon, 25 Feb 2019 11:03:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -529,18 +529,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A02%3A15.086655Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_1e303a3a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1f3f9266-d835-6a78-fe0b-5d7389355390","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1626'] + content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:31:24 GMT'] - etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] + date: ['Mon, 25 Feb 2019 11:02:47 GMT'] + etag: [W/"datetime'2019-02-25T11%3A02%3A15.086655Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -557,20 +557,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume show] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A02%3A15.086655Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_1e303a3a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1f3f9266-d835-6a78-fe0b-5d7389355390","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1626'] + content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:31:26 GMT'] - etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] + date: ['Mon, 25 Feb 2019 11:02:55 GMT'] + etag: [W/"datetime'2019-02-25T11%3A02%3A15.086655Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -587,20 +587,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume show] Connection: [keep-alive] - ParameterSetName: [-g --ids] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group --ids] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A30%3A52.8887948Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5707e712","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2ebabbda-581e-265a-b3a0-4c4fec8bc545","fileSystemId":"2ba343d9-5016-8f68-4c80-a1c487f20adc","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A02%3A15.086655Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_1e303a3a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1f3f9266-d835-6a78-fe0b-5d7389355390","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1626'] + content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:31:28 GMT'] - etag: [W/"datetime'2019-02-20T14%3A30%3A52.8887948Z'"] + date: ['Mon, 25 Feb 2019 11:02:53 GMT'] + etag: [W/"datetime'2019-02-25T11%3A02%3A15.086655Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -619,8 +619,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -629,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:31:32 GMT'] + date: ['Mon, 25 Feb 2019 11:02:57 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSTVOWFYyU0g1TUpQQjVDWVJCWEpaRFY2SllVWDVGU3w1MUQxQUFCQzBCREU4Mjc5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNk9WNlNOUVJKQ01CWVdVMkdUU0hZVTM2T0s2Sk02RnxGQkU4RkNCQ0ZCRTI1NjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml index 3f2d4bd3d84..4d2f1b7c35f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:51:25Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:48:08Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,18 +10,18 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:51:25Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:48:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:51:28 GMT'] + date: ['Mon, 25 Feb 2019 09:48:10 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,26 +38,26 @@ interactions: Content-Length: ['51'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.5283462Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A14.7611109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:51:31 GMT'] - etag: [W/"datetime'2019-02-20T13%3A51%3A31.5283462Z'"] + date: ['Mon, 25 Feb 2019 09:48:14 GMT'] + etag: [W/"datetime'2019-02-25T09%3A48%3A14.7611109Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98994aad-2d1c-433c-8a41-237bd24ff9cd","name":"98994aad-2d1c-433c-8a41-237bd24ff9cd","status":"Succeeded","startTime":"2019-02-20T13:51:31.4641366Z","endTime":"2019-02-20T13:51:31.7612545Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd","name":"6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd","status":"Succeeded","startTime":"2019-02-25T09:48:14.6963505Z","endTime":"2019-02-25T09:48:14.9932288Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:52:02 GMT'] + date: ['Mon, 25 Feb 2019 09:48:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.8095478Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A15.0453132Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:52:03 GMT'] - etag: [W/"datetime'2019-02-20T13%3A51%3A31.8095478Z'"] + date: ['Mon, 25 Feb 2019 09:48:47 GMT'] + etag: [W/"datetime'2019-02-25T09%3A48%3A15.0453132Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -127,26 +127,26 @@ interactions: Content-Length: ['51'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.7269002Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A53.351605Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94a1de1a-b195-4775-9869-2cdf01402012?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['477'] + content-length: ['476'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:52:09 GMT'] - etag: [W/"datetime'2019-02-20T13%3A52%3A08.7269002Z'"] + date: ['Mon, 25 Feb 2019 09:48:53 GMT'] + etag: [W/"datetime'2019-02-25T09%3A48%3A53.351605Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -157,17 +157,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94a1de1a-b195-4775-9869-2cdf01402012?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0377a757-d797-4066-83ed-67a0b6a9af68","name":"0377a757-d797-4066-83ed-67a0b6a9af68","status":"Succeeded","startTime":"2019-02-20T13:52:08.6675732Z","endTime":"2019-02-20T13:52:08.9487867Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94a1de1a-b195-4775-9869-2cdf01402012","name":"94a1de1a-b195-4775-9869-2cdf01402012","status":"Succeeded","startTime":"2019-02-25T09:48:53.2571367Z","endTime":"2019-02-25T09:48:53.5697184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:52:39 GMT'] + date: ['Mon, 25 Feb 2019 09:49:25 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -185,18 +185,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.9990945Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A53.6358091Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:52:40 GMT'] - etag: [W/"datetime'2019-02-20T13%3A52%3A08.9990945Z'"] + date: ['Mon, 25 Feb 2019 09:49:26 GMT'] + etag: [W/"datetime'2019-02-25T09%3A48%3A53.6358091Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -213,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account list] Connection: [keep-alive] - ParameterSetName: [-g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A52%3A08.9990945Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A51%3A31.8095478Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A53.6358091Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A15.0453132Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['969'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:52:41 GMT'] + date: ['Mon, 25 Feb 2019 09:49:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -243,21 +243,21 @@ interactions: CommandName: [anf account delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:52:43 GMT'] + date: ['Mon, 25 Feb 2019 09:49:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -272,18 +272,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account delete] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f6d7e901-264a-4ca8-ac29-9d634d16ce98","name":"f6d7e901-264a-4ca8-ac29-9d634d16ce98","status":"Succeeded","startTime":"2019-02-20T13:52:44.5231521Z","endTime":"2019-02-20T13:52:44.6012807Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c","name":"c95b357b-3ace-4cfa-9dbd-5ff7e47c220c","status":"Succeeded","startTime":"2019-02-25T09:49:32.3916024Z","endTime":"2019-02-25T09:49:32.4696999Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:53:16 GMT'] + date: ['Mon, 25 Feb 2019 09:50:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -301,21 +301,21 @@ interactions: CommandName: [anf account delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:53:18 GMT'] + date: ['Mon, 25 Feb 2019 09:50:06 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -330,18 +330,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account delete] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/11a76c1d-5537-4d56-97a6-56139dfd7865","name":"11a76c1d-5537-4d56-97a6-56139dfd7865","status":"Succeeded","startTime":"2019-02-20T13:53:18.2180582Z","endTime":"2019-02-20T13:53:18.2962231Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d","name":"6943fcb5-8dbc-4feb-aa00-d4bac004ce7d","status":"Succeeded","startTime":"2019-02-25T09:50:07.1573991Z","endTime":"2019-02-25T09:50:07.219929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:53:49 GMT'] + date: ['Mon, 25 Feb 2019 09:50:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -358,9 +358,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account list] Connection: [keep-alive] - ParameterSetName: [-g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 @@ -370,7 +370,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:53:50 GMT'] + date: ['Mon, 25 Feb 2019 09:50:42 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -386,8 +386,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -396,9 +396,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:53:55 GMT'] + date: ['Mon, 25 Feb 2019 09:50:46 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNUxGV1lFR1hDSkY2VldOSVdTSVlGWkMzVEw2SUpMQ3xFNDEwMUNFNzM4RTZDODY4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNDRRRU9ZR0ZSSFYzQk1RNVE1SFQ0TTNPQU5KS0pQR3xCMTg1RDlDNTYyMzYwM0YxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml index 5d116f4b2f1..b1165a27156 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:37:50Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T11:10:19Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T14:37:50Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T11:10:19Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:37:54 GMT'] + date: ['Mon, 25 Feb 2019 11:10:23 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: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -39,35 +39,35 @@ interactions: Content-Length: ['124'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"0de37e81-af20-414c-b256-d7db9c7a2c61\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c2b1b012-06f2-4a07-8cf5-ad143dd24fec\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"a9e16f63-96fc-4d0b-becf-38cd144e4ee3\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"301ac39f-6302-4e05-b58c-6e393bbbfdab\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4ab22115-f632-44ce-949a-f0c4f386ed12?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ea5a44ef-3f66-477d-bce9-ccd425955618?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['805'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:00 GMT'] + date: ['Mon, 25 Feb 2019 11:10:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4ab22115-f632-44ce-949a-f0c4f386ed12?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ea5a44ef-3f66-477d-bce9-ccd425955618?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:05 GMT'] + date: ['Mon, 25 Feb 2019 11:10:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,17 +104,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"9250ec51-e78f-4726-96b9-b0d7c73a1906\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"73ba6bbd-53e8-4888-84fb-0336e4cd1602\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"a9e16f63-96fc-4d0b-becf-38cd144e4ee3\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"301ac39f-6302-4e05-b58c-6e393bbbfdab\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:06 GMT'] - etag: [W/"9250ec51-e78f-4726-96b9-b0d7c73a1906"] + date: ['Mon, 25 Feb 2019 11:10:42 GMT'] + etag: [W/"73ba6bbd-53e8-4888-84fb-0336e4cd1602"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -145,19 +145,19 @@ interactions: Content-Length: ['158'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"19d367f3-a118-4540-b50c-61f6d5fba1cd\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"27774972-dfe3-4853-92d6-026b45f4f20e\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"19d367f3-a118-4540-b50c-61f6d5fba1cd\\\"\"\ + ,\r\n \"etag\": \"W/\\\"27774972-dfe3-4853-92d6-026b45f4f20e\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +166,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/55b779d0-5b2a-493f-91f3-43c8375a862a?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1f995ec3-c2c3-455d-b419-355cde8d8d7d?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1274'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:07 GMT'] + date: ['Mon, 25 Feb 2019 11:10:45 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -186,17 +186,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/55b779d0-5b2a-493f-91f3-43c8375a862a?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1f995ec3-c2c3-455d-b419-355cde8d8d7d?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:11 GMT'] + date: ['Mon, 25 Feb 2019 11:10:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -213,18 +213,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c877aadf-4b5a-44cf-8364-823951df76ea\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3\\\"\"\ + ,\r\n \"etag\": \"W/\\\"c877aadf-4b5a-44cf-8364-823951df76ea\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1275'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:12 GMT'] - etag: [W/"bb7b6a23-f10e-4fe1-bea7-88ffebf16dc3"] + date: ['Mon, 25 Feb 2019 11:10:49 GMT'] + etag: [W/"c877aadf-4b5a-44cf-8364-823951df76ea"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -256,26 +256,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A38%3A17.5653746Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A10%3A54.873292Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71c39a61-52c4-4a8b-b992-01cc798d3c44?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['452'] + content-length: ['451'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:18 GMT'] - etag: [W/"datetime'2019-02-20T14%3A38%3A17.5653746Z'"] + date: ['Mon, 25 Feb 2019 11:11:11 GMT'] + etag: [W/"datetime'2019-02-25T11%3A10%3A54.873292Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -286,17 +286,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71c39a61-52c4-4a8b-b992-01cc798d3c44?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9d71a34-1a9a-4f4c-804e-dbee370f895a","name":"d9d71a34-1a9a-4f4c-804e-dbee370f895a","status":"Succeeded","startTime":"2019-02-20T14:38:17.4962987Z","endTime":"2019-02-20T14:38:17.7932565Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71c39a61-52c4-4a8b-b992-01cc798d3c44","name":"71c39a61-52c4-4a8b-b992-01cc798d3c44","status":"Succeeded","startTime":"2019-02-25T11:10:54.8133277Z","endTime":"2019-02-25T11:10:55.0946244Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:49 GMT'] + date: ['Mon, 25 Feb 2019 11:11:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -314,18 +314,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A38%3A17.844573Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A10%3A55.1414825Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['452'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:50 GMT'] - etag: [W/"datetime'2019-02-20T14%3A38%3A17.844573Z'"] + date: ['Mon, 25 Feb 2019 11:11:36 GMT'] + etag: [W/"datetime'2019-02-25T11%3A10%3A55.1414825Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -346,26 +346,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A38%3A54.5606033Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A11%3A36.371767Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2380faf0-14c1-4ec9-b045-1f172789bc76?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['542'] + content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:38:54 GMT'] - etag: [W/"datetime'2019-02-20T14%3A38%3A54.5606033Z'"] + date: ['Mon, 25 Feb 2019 11:11:41 GMT'] + etag: [W/"datetime'2019-02-25T11%3A11%3A36.371767Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -376,17 +376,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2380faf0-14c1-4ec9-b045-1f172789bc76?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/42e3fc57-df4c-4a64-93a8-10589a938e27","name":"42e3fc57-df4c-4a64-93a8-10589a938e27","status":"Succeeded","startTime":"2019-02-20T14:38:54.4940735Z","endTime":"2019-02-20T14:38:54.8534771Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2380faf0-14c1-4ec9-b045-1f172789bc76","name":"2380faf0-14c1-4ec9-b045-1f172789bc76","status":"Succeeded","startTime":"2019-02-25T11:11:36.2198052Z","endTime":"2019-02-25T11:11:36.7822263Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:39:26 GMT'] + date: ['Mon, 25 Feb 2019 11:12:09 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -404,18 +404,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A38%3A54.9038466Z''\"","location":"westus2","properties":{"poolId":"9e3717f0-c653-8410-d202-3fc0fcebea53","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A11%3A36.8330942Z''\"","location":"westus2","properties":{"poolId":"2c572e24-7d52-97c9-9966-48034ac25b43","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:39:27 GMT'] - etag: [W/"datetime'2019-02-20T14%3A38%3A54.9038466Z'"] + date: ['Mon, 25 Feb 2019 11:12:14 GMT'] + etag: [W/"datetime'2019-02-25T11%3A11%3A36.8330942Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -438,26 +438,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A39%3A32.8767685Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A12%3A18.3315688Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['901'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:39:32 GMT'] - etag: [W/"datetime'2019-02-20T14%3A39%3A32.8767685Z'"] + date: ['Mon, 25 Feb 2019 11:12:21 GMT'] + etag: [W/"datetime'2019-02-25T11%3A12%3A18.3315688Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1192'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -469,17 +469,46 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157555c7-ba1d-451b-8572-6f8f7169d741","name":"157555c7-ba1d-451b-8572-6f8f7169d741","status":"Succeeded","startTime":"2019-02-20T14:39:32.8222794Z","endTime":"2019-02-20T14:40:02.0022952Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0","name":"bf2d04fd-bec6-49fc-ac78-363454af49a0","status":"Creating","startTime":"2019-02-25T11:12:18.2761136Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 25 Feb 2019 11:12:50 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0","name":"bf2d04fd-bec6-49fc-ac78-363454af49a0","status":"Succeeded","startTime":"2019-02-25T11:12:18.2761136Z","endTime":"2019-02-25T11:12:53.5338513Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:40:03 GMT'] + date: ['Mon, 25 Feb 2019 11:13:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -498,18 +527,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A40%3A02.0314388Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_8300a848","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"3426a906-c18f-c4c9-4614-0a1c6d11111e","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A12%3A53.5675954Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"68886447-6e0d-e784-bd81-6f4461bba41f","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f027c6ca","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f677241e-83b8-1822-6ffb-c1aad15ef1f4","fileSystemId":"68886447-6e0d-e784-bd81-6f4461bba41f","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1588'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:40:05 GMT'] - etag: [W/"datetime'2019-02-20T14%3A40%3A02.0314388Z'"] + date: ['Mon, 25 Feb 2019 11:13:29 GMT'] + etag: [W/"datetime'2019-02-25T11%3A12%3A53.5675954Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -526,19 +555,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf mount-target list] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/3426a906-c18f-c4c9-4614-0a1c6d11111e","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/3426a906-c18f-c4c9-4614-0a1c6d11111e","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"3426a906-c18f-c4c9-4614-0a1c6d11111e","fileSystemId":"1bc26b4d-9380-1980-617f-985eeb9888c2","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/f677241e-83b8-1822-6ffb-c1aad15ef1f4","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/f677241e-83b8-1822-6ffb-c1aad15ef1f4","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"f677241e-83b8-1822-6ffb-c1aad15ef1f4","fileSystemId":"68886447-6e0d-e784-bd81-6f4461bba41f","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} headers: cache-control: [no-cache] content-length: ['836'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:40:06 GMT'] + date: ['Mon, 25 Feb 2019 11:13:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -557,8 +586,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 @@ -567,12 +596,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:40:11 GMT'] + date: ['Mon, 25 Feb 2019 11:13:38 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdGTFROVkhNV1RVSjZRN0Q3VVVYNUlDVjNRVlZaTVRVNVpFV3wxOTYzNjQ5MTE5Q0QxOENELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdVRTZGNTVQTk1RR081Q0pNUDdGWTRYT0FDVU01RjQzWE41VnwyQTlCMkUzQUM0RTlDMUIzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml index 9d806907091..cb19c3a996b 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:00:35Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:58:48Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:00:35Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:58:48Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:00:38 GMT'] + date: ['Mon, 25 Feb 2019 09:58:50 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -38,20 +38,20 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A00%3A41.5598419Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A58%3A54.6124182Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3379e616-e0d1-4cb1-8fa0-78e1c57cada3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:00:41 GMT'] - etag: [W/"datetime'2019-02-20T14%3A00%3A41.5598419Z'"] + date: ['Mon, 25 Feb 2019 09:58:54 GMT'] + etag: [W/"datetime'2019-02-25T09%3A58%3A54.6124182Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3379e616-e0d1-4cb1-8fa0-78e1c57cada3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6076bef2-b3ba-43f6-9195-2861fa606ccd","name":"6076bef2-b3ba-43f6-9195-2861fa606ccd","status":"Succeeded","startTime":"2019-02-20T14:00:41.4954389Z","endTime":"2019-02-20T14:00:41.7923216Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3379e616-e0d1-4cb1-8fa0-78e1c57cada3","name":"3379e616-e0d1-4cb1-8fa0-78e1c57cada3","status":"Succeeded","startTime":"2019-02-25T09:58:54.5542514Z","endTime":"2019-02-25T09:58:54.8355159Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:01:13 GMT'] + date: ['Mon, 25 Feb 2019 09:59:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A00%3A41.8440438Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A58%3A54.8866126Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:01:15 GMT'] - etag: [W/"datetime'2019-02-20T14%3A00%3A41.8440438Z'"] + date: ['Mon, 25 Feb 2019 09:59:40 GMT'] + etag: [W/"datetime'2019-02-25T09%3A58%3A54.8866126Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -128,20 +128,20 @@ interactions: Content-Length: ['117'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.1141759Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A59%3A36.5221849Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dc46b5-2a74-461c-bcb6-af676f5cc3d0?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:01:20 GMT'] - etag: [W/"datetime'2019-02-20T14%3A01%3A20.1141759Z'"] + date: ['Mon, 25 Feb 2019 09:59:39 GMT'] + etag: [W/"datetime'2019-02-25T09%3A59%3A36.5221849Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -158,17 +158,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dc46b5-2a74-461c-bcb6-af676f5cc3d0?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cb519edf-8c69-4ad1-9290-eba1217e0c75","name":"cb519edf-8c69-4ad1-9290-eba1217e0c75","status":"Succeeded","startTime":"2019-02-20T14:01:20.0661035Z","endTime":"2019-02-20T14:01:20.4723019Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dc46b5-2a74-461c-bcb6-af676f5cc3d0","name":"f7dc46b5-2a74-461c-bcb6-af676f5cc3d0","status":"Succeeded","startTime":"2019-02-25T09:59:36.4404785Z","endTime":"2019-02-25T09:59:36.8935682Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:01:52 GMT'] + date: ['Mon, 25 Feb 2019 10:00:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -186,18 +186,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.5154608Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f6135f90-5dfa-fc29-0378-df9c9c6ac36e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A59%3A36.9374799Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2e8e53c9-7b00-c77d-81b0-debbe3fc4581","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:01:53 GMT'] - etag: [W/"datetime'2019-02-20T14%3A01%3A20.5154608Z'"] + date: ['Mon, 25 Feb 2019 10:00:10 GMT'] + etag: [W/"datetime'2019-02-25T09%3A59%3A36.9374799Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -218,20 +218,20 @@ interactions: Content-Length: ['117'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A57.9469993Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A00%3A17.5173015Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db9bd374-d4a0-49e1-9ba3-18888fabe3fb?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:01:58 GMT'] - etag: [W/"datetime'2019-02-20T14%3A01%3A57.9469993Z'"] + date: ['Mon, 25 Feb 2019 10:00:21 GMT'] + etag: [W/"datetime'2019-02-25T10%3A00%3A17.5173015Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -248,17 +248,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db9bd374-d4a0-49e1-9ba3-18888fabe3fb?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/be70704e-cc7c-45c6-9e34-6a74c86d72a6","name":"be70704e-cc7c-45c6-9e34-6a74c86d72a6","status":"Succeeded","startTime":"2019-02-20T14:01:57.89473Z","endTime":"2019-02-20T14:01:58.2541197Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db9bd374-d4a0-49e1-9ba3-18888fabe3fb","name":"db9bd374-d4a0-49e1-9ba3-18888fabe3fb","status":"Succeeded","startTime":"2019-02-25T10:00:17.4689969Z","endTime":"2019-02-25T10:00:18.031524Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] - content-length: ['613'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:02:30 GMT'] + date: ['Mon, 25 Feb 2019 10:00:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -276,18 +276,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A58.2972472Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"dcb2fef4-fe0f-f3fc-74fd-7e117684cf5e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A00%3A18.0827031Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0d9c73b-b442-1e5a-b963-258da09cd272","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:02:31 GMT'] - etag: [W/"datetime'2019-02-20T14%3A01%3A58.2972472Z'"] + date: ['Mon, 25 Feb 2019 10:01:03 GMT'] + etag: [W/"datetime'2019-02-25T10%3A00%3A18.0827031Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -304,19 +304,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool list] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A20.5154608Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f6135f90-5dfa-fc29-0378-df9c9c6ac36e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A01%3A58.2972472Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"dcb2fef4-fe0f-f3fc-74fd-7e117684cf5e","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A00%3A18.0827031Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0d9c73b-b442-1e5a-b963-258da09cd272","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A59%3A36.9374799Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2e8e53c9-7b00-c77d-81b0-debbe3fc4581","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] content-length: ['1363'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:02:34 GMT'] + date: ['Mon, 25 Feb 2019 10:00:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -334,26 +334,26 @@ interactions: CommandName: [anf pool delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:02:37 GMT'] + date: ['Mon, 25 Feb 2019 10:01:03 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -363,18 +363,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool delete] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/99c70979-01e6-4b4d-a7c4-9bf6358d82e5","name":"99c70979-01e6-4b4d-a7c4-9bf6358d82e5","status":"Succeeded","startTime":"2019-02-20T14:02:37.1301277Z","endTime":"2019-02-20T14:02:40.335556Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3","name":"66249d72-d039-45ae-9af9-8dd53443fcd3","status":"Succeeded","startTime":"2019-02-25T10:01:00.1349706Z","endTime":"2019-02-25T10:01:03.4960715Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:03:08 GMT'] + date: ['Mon, 25 Feb 2019 10:01:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -392,21 +392,21 @@ interactions: CommandName: [anf pool delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:03:10 GMT'] + date: ['Mon, 25 Feb 2019 10:01:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -421,18 +421,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool delete] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1e9ddb70-b940-440f-9a6d-68a0bd4ef066","name":"1e9ddb70-b940-440f-9a6d-68a0bd4ef066","status":"Succeeded","startTime":"2019-02-20T14:03:11.4974465Z","endTime":"2019-02-20T14:03:14.8412929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f","name":"ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f","status":"Succeeded","startTime":"2019-02-25T10:01:34.79491Z","endTime":"2019-02-25T10:01:38.2280348Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:03:42 GMT'] + date: ['Mon, 25 Feb 2019 10:02:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -449,9 +449,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool list] Connection: [keep-alive] - ParameterSetName: [-g -a] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 @@ -461,7 +461,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:03:44 GMT'] + date: ['Mon, 25 Feb 2019 10:02:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -480,8 +480,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -490,12 +490,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:03:48 GMT'] + date: ['Mon, 25 Feb 2019 10:02:12 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWVU0QzJMVEJVMlNJS0dUQ0lLV1ZRWkRUVkYzNUpNRHxEMUFBOTAxRUU0ODZDQzQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVUUzTTdLWERCQUVMQzM2Mkw3WEkzTzM0MkRINlY0UHwzOEE3MzM1M0RGQTUwREUzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14997'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml index 06e149b752e..462b7259dd0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:01:49Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T12:16:45Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,18 +10,18 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-20T15:01:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T12:16:45Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:01:53 GMT'] + date: ['Mon, 25 Feb 2019 12:16:46 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -39,29 +39,29 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"3cf6df38-6756-4062-a2c6-26915b8d5fe7\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"268b0438-8ceb-4bb8-84fb-1623a487f42a\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"cf8453be-54cd-45c4-a26b-f54c64c09a18\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"78f51908-413f-4d12-81a2-f6ac96a1627d\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1ab26b7b-4a51-4f83-8ff4-a00eba29b399?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9cffc8ac-1ab6-4841-a547-a1e4b7110d18?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:01:59 GMT'] + date: ['Mon, 25 Feb 2019 12:16:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1ab26b7b-4a51-4f83-8ff4-a00eba29b399?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9cffc8ac-1ab6-4841-a547-a1e4b7110d18?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:02:05 GMT'] + date: ['Mon, 25 Feb 2019 12:16:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,17 +104,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"7eb81694-cabc-47f1-8eb6-a4eeed26399c\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f8cec6d1-3142-40b0-adbd-77e545aca791\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"cf8453be-54cd-45c4-a26b-f54c64c09a18\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"78f51908-413f-4d12-81a2-f6ac96a1627d\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:02:05 GMT'] - etag: [W/"7eb81694-cabc-47f1-8eb6-a4eeed26399c"] + date: ['Mon, 25 Feb 2019 12:17:03 GMT'] + etag: [W/"f8cec6d1-3142-40b0-adbd-77e545aca791"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ - ,\r\n \"etag\": \"W/\\\"95995467-93ca-46bd-a211-cf46ae6011cf\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"cf990d9b-3919-42c5-8535-21265028b0cb\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"95995467-93ca-46bd-a211-cf46ae6011cf\\\"\"\ + ,\r\n \"etag\": \"W/\\\"cf990d9b-3919-42c5-8535-21265028b0cb\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/725f6b28-f76f-4eaf-b0a2-c959b772d97b?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2abc83c5-48cb-4ffa-bf80-65708208f673?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:02:08 GMT'] + date: ['Mon, 25 Feb 2019 12:17:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/725f6b28-f76f-4eaf-b0a2-c959b772d97b?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2abc83c5-48cb-4ffa-bf80-65708208f673?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:03:18 GMT'] + date: ['Mon, 25 Feb 2019 12:17:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n --vnet-name --address-prefixes --delegations -g] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ - ,\r\n \"etag\": \"W/\\\"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"ae16d12c-3d7b-47bd-b3a6-854301a12ec9\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2\\\"\"\ + ,\r\n \"etag\": \"W/\\\"ae16d12c-3d7b-47bd-b3a6-854301a12ec9\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:02:13 GMT'] - etag: [W/"fb4a6ab3-1424-42ba-9fe6-6313e00e24a2"] + date: ['Mon, 25 Feb 2019 12:17:11 GMT'] + etag: [W/"ae16d12c-3d7b-47bd-b3a6-854301a12ec9"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A02%3A20.9301913Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A17%3A15.7435886Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8159bdf7-9fe6-4a59-b874-466a38144ac9?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:02:40 GMT'] - etag: [W/"datetime'2019-02-20T15%3A02%3A20.9301913Z'"] + date: ['Mon, 25 Feb 2019 12:17:20 GMT'] + etag: [W/"datetime'2019-02-25T12%3A17%3A15.7435886Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8159bdf7-9fe6-4a59-b874-466a38144ac9?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bbfb8456-12c7-4f87-b573-8aa63aa9090c","name":"bbfb8456-12c7-4f87-b573-8aa63aa9090c","status":"Succeeded","startTime":"2019-02-20T15:02:20.8684737Z","endTime":"2019-02-20T15:02:21.1497248Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8159bdf7-9fe6-4a59-b874-466a38144ac9","name":"8159bdf7-9fe6-4a59-b874-466a38144ac9","status":"Succeeded","startTime":"2019-02-25T12:17:15.5802421Z","endTime":"2019-02-25T12:17:15.9864759Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:03:02 GMT'] + date: ['Mon, 25 Feb 2019 12:17:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A02%3A21.1963818Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A17%3A16.0828295Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:04:02 GMT'] - etag: [W/"datetime'2019-02-20T15%3A02%3A21.1963818Z'"] + date: ['Mon, 25 Feb 2019 12:18:07 GMT'] + etag: [W/"datetime'2019-02-25T12%3A17%3A16.0828295Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A03%3A01.8814194Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A17%3A57.2810909Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41bf7c2a-1625-450b-abb8-8f1ea4cd30a5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:03:13 GMT'] - etag: [W/"datetime'2019-02-20T15%3A03%3A01.8814194Z'"] + date: ['Mon, 25 Feb 2019 12:17:58 GMT'] + etag: [W/"datetime'2019-02-25T12%3A17%3A57.2810909Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41bf7c2a-1625-450b-abb8-8f1ea4cd30a5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b902110a-d3a9-4c49-afce-ae0da9db5bec","name":"b902110a-d3a9-4c49-afce-ae0da9db5bec","status":"Succeeded","startTime":"2019-02-20T15:03:01.8198977Z","endTime":"2019-02-20T15:03:02.2417082Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41bf7c2a-1625-450b-abb8-8f1ea4cd30a5","name":"41bf7c2a-1625-450b-abb8-8f1ea4cd30a5","status":"Succeeded","startTime":"2019-02-25T12:17:57.1687373Z","endTime":"2019-02-25T12:17:57.6531462Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:03:33 GMT'] + date: ['Mon, 25 Feb 2019 12:18:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A03%3A02.2947123Z''\"","location":"westus2","properties":{"poolId":"086b6040-7aff-2687-5081-0341f16403d3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A17%3A57.7694394Z''\"","location":"westus2","properties":{"poolId":"05d0dc9b-da34-d28a-b57c-30e1fd245767","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:03:35 GMT'] - etag: [W/"datetime'2019-02-20T15%3A03%3A02.2947123Z'"] + date: ['Mon, 25 Feb 2019 12:18:32 GMT'] + etag: [W/"datetime'2019-02-25T12%3A17%3A57.7694394Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -439,26 +439,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A03%3A40.8642402Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A18%3A40.0494674Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:03:41 GMT'] - etag: [W/"datetime'2019-02-20T15%3A03%3A40.8642402Z'"] + date: ['Mon, 25 Feb 2019 12:18:38 GMT'] + etag: [W/"datetime'2019-02-25T12%3A18%3A40.0494674Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -470,17 +470,46 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","name":"4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","status":"Creating","startTime":"2019-02-25T12:18:39.9492954Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 25 Feb 2019 12:19:12 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/98701f62-6d2d-4db6-9c14-87c2fcbacd8c","name":"98701f62-6d2d-4db6-9c14-87c2fcbacd8c","status":"Succeeded","startTime":"2019-02-20T15:03:40.8055188Z","endTime":"2019-02-20T15:04:10.3593713Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","name":"4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","status":"Succeeded","startTime":"2019-02-25T12:18:39.9492954Z","endTime":"2019-02-25T12:19:13.6555311Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:04:12 GMT'] + date: ['Mon, 25 Feb 2019 12:19:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -499,18 +528,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A04%3A10.3883099Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_ad48a205","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"dac0f0ce-109a-308b-28a7-9842c1bca873","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A19%3A13.6863582Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_68fad43e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"df6cee23-d517-552f-fc4b-bedbdb8c4609","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:04:13 GMT'] - etag: [W/"datetime'2019-02-20T15%3A04%3A10.3883099Z'"] + date: ['Mon, 25 Feb 2019 12:19:50 GMT'] + etag: [W/"datetime'2019-02-25T12%3A19%3A13.6863582Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -521,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "8192477a-0b9d-d7e9-f9a1-312868eb5eaf"}, + body: !!python/unicode '{"properties": {"fileSystemId": "b29661fe-2c9c-2fff-5efe-5a8b1c5926f0"}, "location": "westus2"}' headers: Accept: [application/json] @@ -531,29 +560,29 @@ interactions: Content-Length: ['95'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -v -s -l --file-system-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 - 3:04:21 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"ba94313e-7294-26f6-2081-54af109199c2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000005","created":"2019-02-20T15:04:19Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 + 12:19:57 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"a0898c22-140e-5378-e576-c53812d4420d","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000005","created":"2019-02-25T12:19:54Z"}}'} headers: cache-control: [no-cache] - content-length: ['778'] + content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:04:22 GMT'] + date: ['Mon, 25 Feb 2019 12:19:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "8192477a-0b9d-d7e9-f9a1-312868eb5eaf"}, + body: !!python/unicode '{"properties": {"fileSystemId": "b29661fe-2c9c-2fff-5efe-5a8b1c5926f0"}, "location": "westus2"}' headers: Accept: [application/json] @@ -563,19 +592,19 @@ interactions: Content-Length: ['95'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -v -s -l --file-system-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/20/2019 - 3:04:29 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"4aa3bc8e-3d72-5839-de06-5dcdfe5448e2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000006","created":"2019-02-20T15:04:26Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 + 12:20:06 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"21ed077c-62f9-36f8-f058-52f64b353163","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000006","created":"2019-02-25T12:20:03Z"}}'} headers: cache-control: [no-cache] - content-length: ['778'] + content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:04:29 GMT'] + date: ['Mon, 25 Feb 2019 12:20:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -591,19 +620,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf snapshot list] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"ba94313e-7294-26f6-2081-54af109199c2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000005","created":"2019-02-20T15:04:19Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"4aa3bc8e-3d72-5839-de06-5dcdfe5448e2","fileSystemId":"8192477a-0b9d-d7e9-f9a1-312868eb5eaf","name":"cli-sn-000006","created":"2019-02-20T15:04:26Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"a0898c22-140e-5378-e576-c53812d4420d","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000005","created":"2019-02-25T12:19:54Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"21ed077c-62f9-36f8-f058-52f64b353163","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000006","created":"2019-02-25T12:20:03Z"}}]}'} headers: cache-control: [no-cache] content-length: ['1509'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:05:06 GMT'] + date: ['Mon, 25 Feb 2019 12:20:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -622,8 +651,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 @@ -632,9 +661,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 15:04:44 GMT'] + date: ['Mon, 25 Feb 2019 12:20:15 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdKWlFDUU9OSERETUVIUTZJWVlBRFlCWE9JNkhGUEI2SDRHRnwwODEwODZFQzY5RDZFN0FELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdDTUlPUTJaUkhBUlMzSzdVT0JWRzdFSjY2TVUzSjVGVlFCUHw1NDgzQzA4QzFGOTEyM0ZFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml index 226989a6be0..c879ad08cdc 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T15:24:26Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:50:30Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,27 +10,27 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T15:24:26Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:50:30Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:24:31 GMT'] + date: ['Mon, 25 Feb 2019 10:50:37 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: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -39,29 +39,29 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"653bca3e-7d74-4972-bbce-2a21db008c86\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"7c95ec5a-bcea-4dce-8472-898e7a9f07a6\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"f4332b57-6c66-4f39-a764-8983ed29b1ff\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"8d6ef035-4ec9-46d5-9478-aac0f74db4f6\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/822bf5c6-0f21-4701-8a07-33f089895a65?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fd54185f-9368-4702-abc2-d8060824baf0?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:24:57 GMT'] + date: ['Mon, 25 Feb 2019 10:50:45 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/822bf5c6-0f21-4701-8a07-33f089895a65?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fd54185f-9368-4702-abc2-d8060824baf0?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:24:49 GMT'] + date: ['Mon, 25 Feb 2019 10:51:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,19 +104,19 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"3b8ffc46-8811-4bea-8282-ee0ef1099cbf\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"79242319-bb74-4e95-a5c2-0ece7c977d1b\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"f4332b57-6c66-4f39-a764-8983ed29b1ff\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"8d6ef035-4ec9-46d5-9478-aac0f74db4f6\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:24:53 GMT'] - etag: [W/"3b8ffc46-8811-4bea-8282-ee0ef1099cbf"] + date: ['Mon, 25 Feb 2019 10:51:04 GMT'] + etag: [W/"79242319-bb74-4e95-a5c2-0ece7c977d1b"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -136,7 +136,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": - "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"6e792952-a52e-4490-b248-01d1318f8722\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"a0ba7ae0-a992-43e0-b97e-2809743f796c\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"6e792952-a52e-4490-b248-01d1318f8722\\\"\"\ + ,\r\n \"etag\": \"W/\\\"a0ba7ae0-a992-43e0-b97e-2809743f796c\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a90732d6-1885-40ad-aa4d-59b5a3d1c422?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/50426098-3c3b-41d6-92af-00b93c40309d?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:24:58 GMT'] + date: ['Mon, 25 Feb 2019 10:50:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/a90732d6-1885-40ad-aa4d-59b5a3d1c422?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/50426098-3c3b-41d6-92af-00b93c40309d?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:25:14 GMT'] + date: ['Mon, 25 Feb 2019 10:51:05 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"d7905402-7b50-4cc4-9168-9064dc162dd1\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"1c24bfae-c7ea-442f-8d95-6bf62ea13410\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"d7905402-7b50-4cc4-9168-9064dc162dd1\\\"\"\ + ,\r\n \"etag\": \"W/\\\"1c24bfae-c7ea-442f-8d95-6bf62ea13410\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:25:28 GMT'] - etag: [W/"d7905402-7b50-4cc4-9168-9064dc162dd1"] + date: ['Mon, 25 Feb 2019 10:51:02 GMT'] + etag: [W/"1c24bfae-c7ea-442f-8d95-6bf62ea13410"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A24%3A59.6043327Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A51%3A04.4905065Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f06133dc-7dc5-41e0-9ef6-3b07b905112c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:25:19 GMT'] - etag: [W/"datetime'2019-02-20T15%3A24%3A59.6043327Z'"] + date: ['Mon, 25 Feb 2019 10:51:03 GMT'] + etag: [W/"datetime'2019-02-25T10%3A51%3A04.4905065Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f06133dc-7dc5-41e0-9ef6-3b07b905112c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4f96eac1-5cee-4bdc-8e90-dc45481950e3","name":"4f96eac1-5cee-4bdc-8e90-dc45481950e3","status":"Succeeded","startTime":"2019-02-20T15:24:59.5307857Z","endTime":"2019-02-20T15:24:59.8308075Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f06133dc-7dc5-41e0-9ef6-3b07b905112c","name":"f06133dc-7dc5-41e0-9ef6-3b07b905112c","status":"Succeeded","startTime":"2019-02-25T10:51:04.4360548Z","endTime":"2019-02-25T10:51:04.7173294Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:25:31 GMT'] + date: ['Mon, 25 Feb 2019 10:51:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T15%3A24%3A59.881531Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A51%3A04.7637006Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['452'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:25:32 GMT'] - etag: [W/"datetime'2019-02-20T15%3A24%3A59.881531Z'"] + date: ['Mon, 25 Feb 2019 10:51:42 GMT'] + etag: [W/"datetime'2019-02-25T10%3A51%3A04.7637006Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['117'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A25%3A37.9717042Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A51%3A46.1040628Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e015bb05-6edf-4647-ad5b-73c2f7ce6a4e?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:25:38 GMT'] - etag: [W/"datetime'2019-02-20T15%3A25%3A37.9717042Z'"] + date: ['Mon, 25 Feb 2019 10:51:47 GMT'] + etag: [W/"datetime'2019-02-25T10%3A51%3A46.1040628Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e015bb05-6edf-4647-ad5b-73c2f7ce6a4e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/84c45784-fa64-4c1b-9d63-147ac7daf86b","name":"84c45784-fa64-4c1b-9d63-147ac7daf86b","status":"Succeeded","startTime":"2019-02-20T15:25:37.9150354Z","endTime":"2019-02-20T15:25:38.2643959Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e015bb05-6edf-4647-ad5b-73c2f7ce6a4e","name":"e015bb05-6edf-4647-ad5b-73c2f7ce6a4e","status":"Succeeded","startTime":"2019-02-25T10:51:46.0461475Z","endTime":"2019-02-25T10:51:46.4367693Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:26:09 GMT'] + date: ['Mon, 25 Feb 2019 10:52:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T15%3A25%3A38.3069418Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"3b927fee-20aa-4a9b-a449-8926a99c291e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A51%3A46.4863344Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2800cf56-5997-9805-c42e-b92ec430bed6","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:26:11 GMT'] - etag: [W/"datetime'2019-02-20T15%3A25%3A38.3069418Z'"] + date: ['Mon, 25 Feb 2019 10:52:19 GMT'] + etag: [W/"datetime'2019-02-25T10%3A51%3A46.4863344Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -440,26 +440,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A16.9203182Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A52%3A24.1711006Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:26:17 GMT'] - etag: [W/"datetime'2019-02-20T15%3A26%3A16.9203182Z'"] + date: ['Mon, 25 Feb 2019 10:52:24 GMT'] + etag: [W/"datetime'2019-02-25T10%3A52%3A24.1711006Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -471,17 +471,104 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Creating","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 25 Feb 2019 10:52:56 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Creating","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 25 Feb 2019 10:53:28 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/52d9b169-46ed-4b7a-a0c0-2bf92eb58150","name":"52d9b169-46ed-4b7a-a0c0-2bf92eb58150","status":"Succeeded","startTime":"2019-02-20T15:26:16.8594852Z","endTime":"2019-02-20T15:26:49.3733161Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Creating","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + headers: + cache-control: [no-cache] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 25 Feb 2019 10:54:07 GMT'] + expires: ['-1'] + pragma: [no-cache] + server: [Microsoft-IIS/10.0] + strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] + x-content-type-options: [nosniff] + x-powered-by: [ASP.NET] + status: {code: 200, message: OK} +- request: + body: null + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [anf volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Succeeded","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"2019-02-25T10:54:17.6139255Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:26:48 GMT'] + date: ['Mon, 25 Feb 2019 10:54:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -500,18 +587,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A49.4083513Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_55cd961b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"18d9bbcd-3c4c-b5ba-595e-95c274c2343e","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A54%3A17.639692Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_d032150e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"06845067-48a8-6755-a4c1-8b7328779006","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1626'] + content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:27:03 GMT'] - etag: [W/"datetime'2019-02-20T15%3A26%3A49.4083513Z'"] + date: ['Mon, 25 Feb 2019 10:54:53 GMT'] + etag: [W/"datetime'2019-02-25T10%3A54%3A17.639692Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -528,19 +615,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume list] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T15%3A26%3A49.4083513Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_55cd961b","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"18d9bbcd-3c4c-b5ba-595e-95c274c2343e","fileSystemId":"0546488f-a464-7ba6-1a78-452291378dd4","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A54%3A17.639692Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_d032150e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"06845067-48a8-6755-a4c1-8b7328779006","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} headers: cache-control: [no-cache] - content-length: ['1638'] + content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:27:17 GMT'] + date: ['Mon, 25 Feb 2019 10:54:43 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -558,26 +645,26 @@ interactions: CommandName: [anf volume delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 15:27:09 GMT'] + date: ['Mon, 25 Feb 2019 10:54:54 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -587,18 +674,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume delete] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32","name":"92547f17-747e-4ebc-bdd2-f7323b5d6b32","status":"Deleting","startTime":"2019-02-20T15:26:58.6429708Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac","name":"bdd4e88d-addf-4c15-be04-73c69be08eac","status":"Deleting","startTime":"2019-02-25T10:54:45.0367442Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:27:37 GMT'] + date: ['Mon, 25 Feb 2019 10:55:22 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -615,18 +702,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume delete] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/92547f17-747e-4ebc-bdd2-f7323b5d6b32","name":"92547f17-747e-4ebc-bdd2-f7323b5d6b32","status":"Succeeded","startTime":"2019-02-20T15:26:58.6429708Z","endTime":"2019-02-20T15:27:45.1808275Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac","name":"bdd4e88d-addf-4c15-be04-73c69be08eac","status":"Succeeded","startTime":"2019-02-25T10:54:45.0367442Z","endTime":"2019-02-25T10:55:35.0961232Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:28:06 GMT'] + date: ['Mon, 25 Feb 2019 10:55:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -643,9 +730,9 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume list] Connection: [keep-alive] - ParameterSetName: [-g -a -p] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 @@ -655,7 +742,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 15:29:13 GMT'] + date: ['Mon, 25 Feb 2019 10:55:51 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -674,8 +761,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -684,9 +771,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 15:28:21 GMT'] + date: ['Mon, 25 Feb 2019 10:55:55 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSU1ZWkJQUEw2UVNTSzcyM1E2S1k0TjZPMkg1RFFOUXw5NUMyNDU4ODk4NUIyRjA1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUEk3TkxLTUdFT0xZRTRSSE1ZUkZPWlJOQUVKWVJRTnxBMjVCN0M1QTAzOEE5RUI3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml index b6b41dd7411..c5b547cb543 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T13:53:55Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:50:47Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,23 +10,23 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T13:53:55Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:50:47Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:53:57 GMT'] + date: ['Mon, 25 Feb 2019 09:50:49 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -38,20 +38,20 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.4060444Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A50%3A56.4646243Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f27aff38-3a50-4334-9009-db28b9298de2?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:54:02 GMT'] - etag: [W/"datetime'2019-02-20T13%3A54%3A02.4060444Z'"] + date: ['Mon, 25 Feb 2019 09:50:56 GMT'] + etag: [W/"datetime'2019-02-25T09%3A50%3A56.4646243Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f27aff38-3a50-4334-9009-db28b9298de2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/93c0c1bd-cb5a-4657-b27d-ff2e859616cf","name":"93c0c1bd-cb5a-4657-b27d-ff2e859616cf","status":"Succeeded","startTime":"2019-02-20T13:54:02.3392937Z","endTime":"2019-02-20T13:54:02.636145Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f27aff38-3a50-4334-9009-db28b9298de2","name":"f27aff38-3a50-4334-9009-db28b9298de2","status":"Succeeded","startTime":"2019-02-25T09:50:56.4241044Z","endTime":"2019-02-25T09:50:56.6897053Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:54:34 GMT'] + date: ['Mon, 25 Feb 2019 09:51:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.687246Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A50%3A56.7368198Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['452'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:54:35 GMT'] - etag: [W/"datetime'2019-02-20T13%3A54%3A02.687246Z'"] + date: ['Mon, 25 Feb 2019 09:51:47 GMT'] + etag: [W/"datetime'2019-02-25T09%3A50%3A56.7368198Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -124,20 +124,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account update] Connection: [keep-alive] - ParameterSetName: [-g -a --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A02.687246Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A50%3A56.7368198Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['452'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:54:36 GMT'] - etag: [W/"datetime'2019-02-20T13%3A54%3A02.687246Z'"] + date: ['Mon, 25 Feb 2019 09:51:36 GMT'] + etag: [W/"datetime'2019-02-25T09%3A50%3A56.7368198Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -156,20 +156,20 @@ interactions: Connection: [keep-alive] Content-Length: ['28'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -a --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T13%3A54%3A39.8127469Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A51%3A39.7775947Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 13:54:40 GMT'] - etag: [W/"datetime'2019-02-20T13%3A54%3A39.8127469Z'"] + date: ['Mon, 25 Feb 2019 09:51:50 GMT'] + etag: [W/"datetime'2019-02-25T09%3A51%3A39.7775947Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -177,7 +177,7 @@ interactions: transfer-encoding: [chunked] vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -189,8 +189,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -199,9 +199,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 13:54:44 GMT'] + date: ['Mon, 25 Feb 2019 09:51:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSEJWWU5JSExWNEpTVU5VVTNaS0pBVVBGTjVSTEQ0SXxGMkNGRUZCQUY2RjgyQTIxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRU00N0VPRjdSQURBNTVYTzdIQ0w1N0RTUjZSWDZKQ3w2N0U2NEFGRDZCQ0IxQ0QyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml index 850f8b22855..d4405dcb372 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:03:48Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:05:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,18 +10,18 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:03:48Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:05: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, 20 Feb 2019 14:03:50 GMT'] + date: ['Mon, 25 Feb 2019 10:05:42 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,20 +38,20 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A03%3A54.5000161Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A05%3A46.763733Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ced30a26-2b27-4b9b-b364-e3258dc972db?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['452'] + content-length: ['451'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:03:54 GMT'] - etag: [W/"datetime'2019-02-20T14%3A03%3A54.5000161Z'"] + date: ['Mon, 25 Feb 2019 10:05:46 GMT'] + etag: [W/"datetime'2019-02-25T10%3A05%3A46.763733Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -68,17 +68,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ced30a26-2b27-4b9b-b364-e3258dc972db?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/82709e4b-85f4-46e3-b769-4ad35b7f11de","name":"82709e4b-85f4-46e3-b769-4ad35b7f11de","status":"Succeeded","startTime":"2019-02-20T14:03:54.4377907Z","endTime":"2019-02-20T14:03:54.7190043Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ced30a26-2b27-4b9b-b364-e3258dc972db","name":"ced30a26-2b27-4b9b-b364-e3258dc972db","status":"Succeeded","startTime":"2019-02-25T10:05:46.6799828Z","endTime":"2019-02-25T10:05:47.0081757Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:04:26 GMT'] + date: ['Mon, 25 Feb 2019 10:06:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -96,18 +96,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A03%3A54.7722091Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A05%3A47.0569432Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:04:27 GMT'] - etag: [W/"datetime'2019-02-20T14%3A03%3A54.7722091Z'"] + date: ['Mon, 25 Feb 2019 10:06:20 GMT'] + etag: [W/"datetime'2019-02-25T10%3A05%3A47.0569432Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -128,26 +128,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A31.8945279Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A06%3A24.1714901Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/14a91ec9-d317-4603-a609-734319aa2e65?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:04:32 GMT'] - etag: [W/"datetime'2019-02-20T14%3A04%3A31.8945279Z'"] + date: ['Mon, 25 Feb 2019 10:06:24 GMT'] + etag: [W/"datetime'2019-02-25T10%3A06%3A24.1714901Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -158,17 +158,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/14a91ec9-d317-4603-a609-734319aa2e65?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2628f370-2e40-44df-b393-e3d0e6534fbd","name":"2628f370-2e40-44df-b393-e3d0e6534fbd","status":"Succeeded","startTime":"2019-02-20T14:04:31.8404504Z","endTime":"2019-02-20T14:04:32.1998407Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/14a91ec9-d317-4603-a609-734319aa2e65","name":"14a91ec9-d317-4603-a609-734319aa2e65","status":"Succeeded","startTime":"2019-02-25T10:06:24.1047522Z","endTime":"2019-02-25T10:06:24.6360085Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:05:04 GMT'] + date: ['Mon, 25 Feb 2019 10:06:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -186,18 +186,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A32.2537826Z''\"","location":"westus2","properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A06%3A24.6868599Z''\"","location":"westus2","properties":{"poolId":"f4dce9de-fa7d-889f-cacf-e869aec317fa","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:05:05 GMT'] - etag: [W/"datetime'2019-02-20T14%3A04%3A32.2537826Z'"] + date: ['Mon, 25 Feb 2019 10:06:56 GMT'] + etag: [W/"datetime'2019-02-25T10%3A06%3A24.6868599Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -214,20 +214,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool update] Connection: [keep-alive] - ParameterSetName: [-g -a -p --tags --service-level] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A04%3A32.2537826Z''\"","location":"westus2","properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A06%3A24.6868599Z''\"","location":"westus2","properties":{"poolId":"f4dce9de-fa7d-889f-cacf-e869aec317fa","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:05:08 GMT'] - etag: [W/"datetime'2019-02-20T14%3A04%3A32.2537826Z'"] + date: ['Mon, 25 Feb 2019 10:06:59 GMT'] + etag: [W/"datetime'2019-02-25T10%3A06%3A24.6868599Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -247,20 +247,20 @@ interactions: Connection: [keep-alive] Content-Length: ['118'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -a -p --tags --service-level] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A05%3A09.9535107Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0b13284-be7f-0996-78a4-813d69d038b3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A07%3A02.4908988Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f4dce9de-fa7d-889f-cacf-e869aec317fa","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['676'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:05:10 GMT'] - etag: [W/"datetime'2019-02-20T14%3A05%3A09.9535107Z'"] + date: ['Mon, 25 Feb 2019 10:07:03 GMT'] + etag: [W/"datetime'2019-02-25T10%3A07%3A02.4908988Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -280,8 +280,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -290,9 +290,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:05:15 GMT'] + date: ['Mon, 25 Feb 2019 10:07:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWlpYM0hIRTdIU1hMTEEzQ1JQNE1YTE5PSEdUR1NWT3wxNDY4NjA5MzY4ODVFMzkwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQUU0TVBRS0tNQzY3SERJVzQ3REJQTDM0QUhHREFGSXwwQzBCMUZEODdDMzVENjdGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml index 0f811d57cc8..44af09d3157 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-20T14:33:49Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:56:15Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -10,27 +10,27 @@ interactions: Content-Length: ['110'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--location --name --tag] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-20T14:33:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:56:15Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:33:50 GMT'] + date: ['Mon, 25 Feb 2019 10:56:20 GMT'] expires: ['-1'] pragma: [no-cache] 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: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": - {}, "addressSpace": {"addressPrefixes": ["10.14.0.0/16"]}}, "tags": {}}' + {}, "addressSpace": {"addressPrefixes": ["10.12.0.0/16"]}}, "tags": {}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] @@ -39,35 +39,35 @@ interactions: Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"4fbde2f4-53ee-4870-89b9-1c4a10e18689\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"b691179f-0e6b-44a4-8cc2-9bcf0e91d183\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"511acbe0-49c7-4845-8a06-8d69d2340056\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"278fe9e1-9ee5-4396-bf7c-bf63137c3c3c\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ba04e6a5-890a-495b-bbec-88133dfe4ea7?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/247f1c01-9687-4f78-bf41-e1d610d20025?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:33:54 GMT'] + date: ['Mon, 25 Feb 2019 10:56:25 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -77,17 +77,17 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ba04e6a5-890a-495b-bbec-88133dfe4ea7?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/247f1c01-9687-4f78-bf41-e1d610d20025?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:33:58 GMT'] + date: ['Mon, 25 Feb 2019 10:56:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -104,19 +104,19 @@ interactions: CommandName: [network vnet create] Connection: [keep-alive] ParameterSetName: [-n -g -l --address-prefix] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"55d95f5a-240d-4afe-b469-e1d5644e91a8\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"31bd69a8-2f82-48ad-9c49-ee66e9f65eb9\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"511acbe0-49c7-4845-8a06-8d69d2340056\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"278fe9e1-9ee5-4396-bf7c-bf63137c3c3c\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ - 10.14.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ + 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:33:59 GMT'] - etag: [W/"55d95f5a-240d-4afe-b469-e1d5644e91a8"] + date: ['Mon, 25 Feb 2019 10:56:30 GMT'] + etag: [W/"31bd69a8-2f82-48ad-9c49-ee66e9f65eb9"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -136,7 +136,7 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"name": "cli-subnet-000006", "properties": {"addressPrefix": - "10.14.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": + "10.12.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}' headers: Accept: [application/json] @@ -146,19 +146,19 @@ interactions: Content-Length: ['168'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"675b211a-3d41-467d-ba07-4f88e4bbbadc\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"a9800b34-9cb6-44ee-89c7-b690f58f5f7e\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"675b211a-3d41-467d-ba07-4f88e4bbbadc\\\"\"\ + ,\r\n \"etag\": \"W/\\\"a9800b34-9cb6-44ee-89c7-b690f58f5f7e\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f85eaa5d-6995-4137-8d38-dac1c4c323a7?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f68f00cf-0094-4348-ad19-6a5efb9b070f?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:00 GMT'] + date: ['Mon, 25 Feb 2019 10:56:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1190'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -187,17 +187,17 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f85eaa5d-6995-4137-8d38-dac1c4c323a7?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f68f00cf-0094-4348-ad19-6a5efb9b070f?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:04 GMT'] + date: ['Mon, 25 Feb 2019 10:56:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -214,18 +214,18 @@ interactions: CommandName: [network vnet subnet create] Connection: [keep-alive] ParameterSetName: [-n -g --vnet-name --address-prefixes --delegations] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"688294c3-0871-40e9-8568-134365d532ac\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"3768347f-61a3-4663-ba43-c5b386113d1a\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ - addressPrefix\": \"10.14.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ + addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"688294c3-0871-40e9-8568-134365d532ac\\\"\"\ + ,\r\n \"etag\": \"W/\\\"3768347f-61a3-4663-ba43-c5b386113d1a\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:04 GMT'] - etag: [W/"688294c3-0871-40e9-8568-134365d532ac"] + date: ['Mon, 25 Feb 2019 10:56:36 GMT'] + etag: [W/"3768347f-61a3-4663-ba43-c5b386113d1a"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -257,26 +257,26 @@ interactions: Content-Length: ['23'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A34%3A09.4430871Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A56%3A41.4619803Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c86acddc-865e-4c36-85c5-c272635550d7?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:09 GMT'] - etag: [W/"datetime'2019-02-20T14%3A34%3A09.4430871Z'"] + date: ['Mon, 25 Feb 2019 10:56:41 GMT'] + etag: [W/"datetime'2019-02-25T10%3A56%3A41.4619803Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1194'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -287,17 +287,17 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c86acddc-865e-4c36-85c5-c272635550d7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a8afc8c8-c363-40d9-b702-4d482102ded0","name":"a8afc8c8-c363-40d9-b702-4d482102ded0","status":"Succeeded","startTime":"2019-02-20T14:34:09.2726637Z","endTime":"2019-02-20T14:34:09.6632479Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c86acddc-865e-4c36-85c5-c272635550d7","name":"c86acddc-865e-4c36-85c5-c272635550d7","status":"Succeeded","startTime":"2019-02-25T10:56:41.4185112Z","endTime":"2019-02-25T10:56:41.684093Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:42 GMT'] + date: ['Mon, 25 Feb 2019 10:57:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -315,18 +315,18 @@ interactions: CommandName: [anf account create] Connection: [keep-alive] ParameterSetName: [-g -a -l] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-20T14%3A34%3A09.7152812Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A56%3A41.7321739Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:43 GMT'] - etag: [W/"datetime'2019-02-20T14%3A34%3A09.7152812Z'"] + date: ['Mon, 25 Feb 2019 10:57:15 GMT'] + etag: [W/"datetime'2019-02-25T10%3A56%3A41.7321739Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -347,26 +347,26 @@ interactions: Content-Length: ['89'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A34%3A47.6442385Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A57%3A22.7295036Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/936d51ec-1523-45e9-81b1-dc5b737ec13d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:34:48 GMT'] - etag: [W/"datetime'2019-02-20T14%3A34%3A47.6442385Z'"] + date: ['Mon, 25 Feb 2019 10:57:22 GMT'] + etag: [W/"datetime'2019-02-25T10%3A57%3A22.7295036Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1193'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -377,17 +377,17 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/936d51ec-1523-45e9-81b1-dc5b737ec13d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/89e3affc-9b91-445b-ad8f-65859d582bac","name":"89e3affc-9b91-445b-ad8f-65859d582bac","status":"Succeeded","startTime":"2019-02-20T14:34:47.5865323Z","endTime":"2019-02-20T14:34:48.0708984Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/936d51ec-1523-45e9-81b1-dc5b737ec13d","name":"936d51ec-1523-45e9-81b1-dc5b737ec13d","status":"Succeeded","startTime":"2019-02-25T10:57:22.6708803Z","endTime":"2019-02-25T10:57:23.1404501Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:35:19 GMT'] + date: ['Mon, 25 Feb 2019 10:57:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -405,18 +405,18 @@ interactions: CommandName: [anf pool create] Connection: [keep-alive] ParameterSetName: [-g -a -p -l --service-level --size] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-20T14%3A34%3A48.1245795Z''\"","location":"westus2","properties":{"poolId":"85f927d5-3941-7af6-397f-280b48a8a73c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A57%3A23.1928357Z''\"","location":"westus2","properties":{"poolId":"9ffed657-7ee3-d5d0-a532-85f89f2554c9","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:35:20 GMT'] - etag: [W/"datetime'2019-02-20T14%3A34%3A48.1245795Z'"] + date: ['Mon, 25 Feb 2019 10:58:08 GMT'] + etag: [W/"datetime'2019-02-25T10%3A57%3A23.1928357Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -439,26 +439,26 @@ interactions: Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A35%3A24.7365369Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A58%3A05.0908117Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:35:25 GMT'] - etag: [W/"datetime'2019-02-20T14%3A35%3A24.7365369Z'"] + date: ['Mon, 25 Feb 2019 10:58:08 GMT'] + etag: [W/"datetime'2019-02-25T10%3A58%3A05.0908117Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -470,17 +470,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4","name":"6b6b9789-6543-40ce-af64-b4d5f3db63d4","status":"Creating","startTime":"2019-02-20T14:35:24.6704203Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b","name":"face580e-59f8-4c03-b754-02804237034b","status":"Creating","startTime":"2019-02-25T10:58:04.9438567Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:35:56 GMT'] + date: ['Mon, 25 Feb 2019 10:58:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -499,17 +499,17 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b6b9789-6543-40ce-af64-b4d5f3db63d4","name":"6b6b9789-6543-40ce-af64-b4d5f3db63d4","status":"Succeeded","startTime":"2019-02-20T14:35:24.6704203Z","endTime":"2019-02-20T14:36:05.5401711Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b","name":"face580e-59f8-4c03-b754-02804237034b","status":"Succeeded","startTime":"2019-02-25T10:58:04.9438567Z","endTime":"2019-02-25T10:58:38.9535185Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:36:28 GMT'] + date: ['Mon, 25 Feb 2019 10:59:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -528,18 +528,18 @@ interactions: Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A05.5764909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A58%3A38.9780521Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_291be34d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c4ff85a1-14cd-6de7-1fe0-5502799baa83","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:36:29 GMT'] - etag: [W/"datetime'2019-02-20T14%3A36%3A05.5764909Z'"] + date: ['Mon, 25 Feb 2019 10:59:10 GMT'] + etag: [W/"datetime'2019-02-25T10%3A58%3A38.9780521Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -556,20 +556,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume update] Connection: [keep-alive] - ParameterSetName: [-g -a -p -v --tags --service-level] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A05.5764909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A58%3A38.9780521Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_291be34d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c4ff85a1-14cd-6de7-1fe0-5502799baa83","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:36:31 GMT'] - etag: [W/"datetime'2019-02-20T14%3A36%3A05.5764909Z'"] + date: ['Mon, 25 Feb 2019 10:59:12 GMT'] + etag: [W/"datetime'2019-02-25T10%3A58%3A38.9780521Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -589,20 +589,20 @@ interactions: Connection: [keep-alive] Content-Length: ['104'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-g -a -p -v --tags --service-level] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + ParameterSetName: [--resource-group -a -p -v --tags --service-level] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-20T14%3A36%3A38.8913796Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_450237a1","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4aefa523-c0c6-83bd-10fb-53488b63b21b","fileSystemId":"0c587d06-6b0e-4bff-ec77-485b5904d5ce","startIp":"10.14.0.4","endIp":"10.14.0.4","gateway":"10.14.0.1","netmask":"255.255.255.0","ipAddress":"10.14.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A59%3A19.3309208Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_291be34d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c4ff85a1-14cd-6de7-1fe0-5502799baa83","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Wed, 20 Feb 2019 14:36:39 GMT'] - etag: [W/"datetime'2019-02-20T14%3A36%3A38.8913796Z'"] + date: ['Mon, 25 Feb 2019 10:59:20 GMT'] + etag: [W/"datetime'2019-02-25T10%3A59%3A19.3309208Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -610,7 +610,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'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -622,8 +622,8 @@ interactions: Connection: [keep-alive] Content-Length: ['0'] ParameterSetName: [--name --yes --no-wait] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.4 msrest_azure/0.6.0 - resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.58] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 @@ -632,12 +632,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Wed, 20 Feb 2019 14:36:42 GMT'] + date: ['Mon, 25 Feb 2019 10:59:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWFBTN0pJRjZaWEI0TTRXQUhUVjVIQ1haUE1HUVZQTnxCREM4MTI5RDE4NjlDMjMyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUFdPNTVaS0VHNTRONDVRVjRTRFFBS1pMSTdQTUJSM3wzNkJBRERENkZBOTAxMEExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14996'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py index e04430f509f..4ef935d9aac 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py @@ -31,11 +31,11 @@ def test_ext_create_delete_account(self): # and again with short forms and also unquoted account = self.cmd("az anf account create -g {rg} -a %s -l westus2 --tags '%s'" % (account_name, tags)).get_output_in_json() assert account['name'] == account_name - account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() assert len(account_list) > 0 - self.cmd("az anf account delete -g {rg} -a %s" % account_name) - account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + self.cmd("az anf account delete --resource-group {rg} -a %s" % account_name) + account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() assert len(account_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -45,22 +45,22 @@ def test_ext_list_accounts_ext(self): for account_name in accounts: self.cmd("az anf account create -g {rg} -a %s -l 'westus2' --tags 'Tag1=Value1'" % account_name).get_output_in_json() - account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() assert len(account_list) == 2 for account_name in accounts: - self.cmd("az anf account delete -g {rg} -a %s" % account_name) + self.cmd("az anf account delete --resource-group {rg} -a %s" % account_name) - account_list = self.cmd("anf account list -g {rg}").get_output_in_json() + account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() assert len(account_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') def test_ext_get_account_by_name_ext(self): account_name = self.create_random_name(prefix='cli', length=24) account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() - account = self.cmd("az anf account show -g {rg} -a %s" % account_name).get_output_in_json() + account = self.cmd("az anf account show --resource-group {rg} -a %s" % account_name).get_output_in_json() assert account['name'] == account_name - account_from_id = self.cmd("az anf account show -g {rg} --ids %s" % account['id']).get_output_in_json() + account_from_id = self.cmd("az anf account show --resource-group {rg} --ids %s" % account['id']).get_output_in_json() assert account_from_id['name'] == account_name @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -69,6 +69,6 @@ def test_ext_update_account_ext(self): tag = "Tag1=Value1" account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() - account = self.cmd("az anf account update -g {rg} -a %s --tags %s" % (account_name, tag)).get_output_in_json() + account = self.cmd("az anf account update --resource-group {rg} -a %s --tags %s" % (account_name, tag)).get_output_in_json() assert account['name'] == account_name assert account['tags']['Tag1'] == 'Value1' diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py index f6f7ecf3bd4..e85a575eefc 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py @@ -40,5 +40,5 @@ def test_ext_list_mount_targets(self): volume_name = self.create_random_name(prefix='cli-vol-', length=24) self.create_volume(account_name, pool_name, volume_name, '{rg}') - volume_list = self.cmd("anf mount-target list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + volume_list = self.cmd("anf mount-target list --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert len(volume_list) == 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py index 5e802ff28d0..6fabfd5f2f7 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py @@ -36,8 +36,8 @@ def test_ext_create_delete_pool(self): assert pool['tags']['Tag1'] == 'Value1' assert pool['tags']['Tag2'] == 'Value2' - self.cmd("az anf pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) - pool_list = self.cmd("anf pool list -g {rg} -a %s" % account_name).get_output_in_json() + self.cmd("az anf pool delete --resource-group {rg} -a %s -p %s" % (account_name, pool_name)) + pool_list = self.cmd("anf pool list --resource-group {rg} -a %s" % account_name).get_output_in_json() assert len(pool_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -49,12 +49,12 @@ def test_ext_list_pools(self): for pool_name in pools: self.cmd("az anf pool create -g {rg} -a '%s' -p '%s' -l 'westus2' %s --tags 'Tag1=Value1'" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() - pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() + pool_list = self.cmd("anf pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json() assert len(pool_list) == 2 for pool_name in pools: - self.cmd("az anf pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) - pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() + self.cmd("az anf pool delete --resource-group {rg} -a %s -p %s" % (account_name, pool_name)) + pool_list = self.cmd("anf pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json() assert len(pool_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -64,9 +64,9 @@ def test_ext_get_pool_by_name(self): self.cmd("az anf account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() - pool = self.cmd("az anf pool show -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() + pool = self.cmd("az anf pool show --resource-group {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name - pool_from_id = self.cmd("az anf pool show -g {rg} --ids %s" % pool['id']).get_output_in_json() + pool_from_id = self.cmd("az anf pool show --resource-group {rg} --ids %s" % pool['id']).get_output_in_json() assert pool_from_id['name'] == account_name + '/' + pool_name @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -80,7 +80,7 @@ def test_ext_update_pool(self): pool = self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name - pool = self.cmd("az anf pool update -g {rg} -a %s -p %s --tags %s --service-level 'Standard'" % (account_name, pool_name, tag)).get_output_in_json() + pool = self.cmd("az anf pool update --resource-group {rg} -a %s -p %s --tags %s --service-level 'Standard'" % (account_name, pool_name, tag)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name assert pool['serviceLevel'] == "Standard" assert pool['tags']['Tag1'] == 'Value1' diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index e55b6bb095a..2112310baa1 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -60,7 +60,7 @@ def test_ext_list_snapshots(self): self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() - snapshot_list = self.cmd("az anf snapshot list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + snapshot_list = self.cmd("az anf snapshot list --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert len(snapshot_list) == 2 @ResourceGroupPreparer() @@ -72,8 +72,8 @@ def test_ext_get_snapshot(self): volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() - snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() + snapshot = self.cmd("az anf snapshot show --resource-group {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name - snapshot_from_id = self.cmd("az anf snapshot show -g {rg} --ids %s" % snapshot['id']).get_output_in_json() + snapshot_from_id = self.cmd("az anf snapshot show --resource-group {rg} --ids %s" % snapshot['id']).get_output_in_json() assert snapshot_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index fef9dd5e6f0..0b0a633ba0a 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -27,7 +27,7 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, vo subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name, subnet_name, '10.14.0.0') + self.setup_vnet('{rg}', vnet_name, subnet_name, '10.12.0.0') self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() @@ -58,7 +58,7 @@ def test_ext_create_delete_volumes(self): assert len(volume_list) == 1 self.cmd("az anf volume delete --resource-group {rg} --account-name %s --pool-name %s --volume-name %s" % (account_name, pool_name, volume_name)) - volume_list = self.cmd("anf volume list -g {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() + volume_list = self.cmd("anf volume list --resource-group {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -69,11 +69,11 @@ def test_ext_list_volumes(self): tags = "Tag1=Value1" self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags) - volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + volume_list = self.cmd("anf volume list --resource-group {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 1 - self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) - volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + self.cmd("az anf volume delete --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) + volume_list = self.cmd("anf volume list --resource-group {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -86,11 +86,11 @@ def test_ext_get_volume_by_name(self): volume = self.create_volume(account_name, pool_name, volume_name, '{rg}', tags) assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name - volume = self.cmd("az anf volume show -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + volume = self.cmd("az anf volume show --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name assert volume['tags']['Tag2'] == 'Value1' - volume_from_id = self.cmd("az anf volume show -g {rg} --ids %s" % volume['id']).get_output_in_json() + volume_from_id = self.cmd("az anf volume show --resource-group {rg} --ids %s" % volume['id']).get_output_in_json() assert volume_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -103,7 +103,7 @@ def test_ext_update_volume(self): volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name - volume = self.cmd("az anf volume update -g {rg} -a %s -p %s -v %s --tags %s --service-level 'Standard'" % (account_name, pool_name, volume_name, tags)).get_output_in_json() + volume = self.cmd("az anf volume update --resource-group {rg} -a %s -p %s -v %s --tags %s --service-level 'Standard'" % (account_name, pool_name, volume_name, tags)).get_output_in_json() assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name assert volume['serviceLevel'] == "Standard" assert volume['tags']['Tag1'] == 'Value2' From 898a90d526d9b2e909d350b011b11e47fcea0a96 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 25 Feb 2019 17:24:58 +0000 Subject: [PATCH 10/15] Nfsaas 1708 initial cli extension (#10) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments --- .../tests/latest/test_mount_target_commands_ext.py | 2 +- .../tests/latest/test_snapshot_commands_ext.py | 2 +- .../azext_anf_preview/tests/latest/test_volume_commands_ext.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py index e85a575eefc..dbc9f10ef2e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py @@ -13,7 +13,7 @@ class AzureNetAppFilesExtMountTargetServiceScenarioTest(ScenarioTest): def setup_vnet(self, rg, vnet_name): - self.cmd("az network vnet create -n %s -g %s -l westus2" % (vnet_name, rg)) + self.cmd("az network vnet create -n %s --resource-group %s -l westus2" % (vnet_name, rg)) self.cmd("az network vnet subnet create -n default --vnet-name %s --address-prefixes '10.0.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (vnet_name, rg)) def current_subscription(self): diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index 2112310baa1..90e53646a9e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -13,7 +13,7 @@ class AzureNetAppFilesExtSnapshotServiceScenarioTest(ScenarioTest): def setup_vnet(self, rg, vnet_name, subnet_name): - self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix 10.12.0.0/16" % (vnet_name, rg)) + self.cmd("az network vnet create -n %s --resource-group %s -l westus2 --address-prefix 10.12.0.0/16" % (vnet_name, rg)) self.cmd("az network vnet subnet create -n %s --vnet-name %s --address-prefixes '10.12.0.0/24' --delegations 'Microsoft.Netapp/volumes' -g %s" % (subnet_name, vnet_name, rg)) def current_subscription(self): diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index 0b0a633ba0a..cdd28ae5908 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -13,7 +13,7 @@ class AzureNetAppFilesExtVolumeServiceScenarioTest(ScenarioTest): def setup_vnet(self, rg, vnet_name, subnet_name, ip_pre): - self.cmd("az network vnet create -n %s -g %s -l westus2 --address-prefix %s/16" % (vnet_name, rg, ip_pre)) + self.cmd("az network vnet create -n %s --resource-group %s -l westus2 --address-prefix %s/16" % (vnet_name, rg, ip_pre)) self.cmd("az network vnet subnet create -n %s -g %s --vnet-name %s --address-prefixes '%s/24' --delegations 'Microsoft.Netapp/volumes'" % (subnet_name, rg, vnet_name, ip_pre)) def current_subscription(self): From a1722a1495370aa148de8650dd286a530ef508af Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 25 Feb 2019 19:43:06 +0000 Subject: [PATCH 11/15] Nfsaas 1708 initial cli extension (#11) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments --- .../test_ext_create_delete_volumes.yaml | 193 ++++++++-------- .../recordings/test_ext_create_snapshots.yaml | 140 ++++++------ .../recordings/test_ext_get_snapshot.yaml | 140 ++++++------ .../test_ext_get_volume_by_name.yaml | 165 ++++++-------- .../test_ext_list_mount_targets.yaml | 130 +++++------ .../recordings/test_ext_list_snapshots.yaml | 146 ++++++------ .../recordings/test_ext_list_volumes.yaml | 213 +++++++----------- .../recordings/test_ext_update_volume.yaml | 140 ++++++------ .../latest/test_mount_target_commands_ext.py | 2 +- .../latest/test_snapshot_commands_ext.py | 2 +- .../tests/latest/test_volume_commands_ext.py | 4 +- 11 files changed, 593 insertions(+), 682 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml index 3faf7805fae..4c53c2fd71d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T11:03:17Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:08:32Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T11:03:17Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:08:32Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:21 GMT'] + date: ['Mon, 25 Feb 2019 18:08:39 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -47,21 +47,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"8acffba5-272b-44fd-a46f-6043b45c38c3\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"009f53da-f7e0-4887-890b-8ea0d3af88dd\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"0a5c3aaf-a3fe-4f2b-9804-3e681a754593\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"ca6fb4b4-46da-4533-90cc-33d7695fa12d\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/089a2b0c-cd39-4608-ab45-f47182b3e3d6?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b0931408-9c21-4d5a-a647-5b99cdb17099?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:27 GMT'] + date: ['Mon, 25 Feb 2019 18:08:46 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/089a2b0c-cd39-4608-ab45-f47182b3e3d6?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b0931408-9c21-4d5a-a647-5b99cdb17099?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:31 GMT'] + date: ['Mon, 25 Feb 2019 18:08:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"ee1db2d6-dc5f-4e44-9a46-de2f8d18d455\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"ba629d07-b3af-4336-a3d1-08bbea8bfcc2\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"0a5c3aaf-a3fe-4f2b-9804-3e681a754593\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"ca6fb4b4-46da-4533-90cc-33d7695fa12d\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:32 GMT'] - etag: [W/"ee1db2d6-dc5f-4e44-9a46-de2f8d18d455"] + date: ['Mon, 25 Feb 2019 18:08:51 GMT'] + etag: [W/"ba629d07-b3af-4336-a3d1-08bbea8bfcc2"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"f2289b83-9568-4b1d-92b6-d5eff3136650\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"7f77bd8b-a6ad-44e3-a413-2ccddd968169\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"f2289b83-9568-4b1d-92b6-d5eff3136650\\\"\"\ + ,\r\n \"etag\": \"W/\\\"7f77bd8b-a6ad-44e3-a413-2ccddd968169\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/baa0074a-706c-4bce-88dc-9df88b4b9155?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cb5bd18e-2b92-4d09-8c20-2cc55b3fd6d8?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:34 GMT'] + date: ['Mon, 25 Feb 2019 18:08:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/baa0074a-706c-4bce-88dc-9df88b4b9155?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cb5bd18e-2b92-4d09-8c20-2cc55b3fd6d8?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:38 GMT'] + date: ['Mon, 25 Feb 2019 18:08:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"5d77f4cc-9328-4154-ba2a-05ceb26a154f\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f95f9c6a-c966-400c-9ff5-ec11b6c53902\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"5d77f4cc-9328-4154-ba2a-05ceb26a154f\\\"\"\ + ,\r\n \"etag\": \"W/\\\"f95f9c6a-c966-400c-9ff5-ec11b6c53902\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:40 GMT'] - etag: [W/"5d77f4cc-9328-4154-ba2a-05ceb26a154f"] + date: ['Mon, 25 Feb 2019 18:08:57 GMT'] + etag: [W/"f95f9c6a-c966-400c-9ff5-ec11b6c53902"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,14 +263,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A03%3A44.6207098Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A09%3A02.1962617Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3163cf1-985a-43ab-8860-396f777b9259?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1c17bb3-a891-49c2-8563-002b71246f30?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:45 GMT'] - etag: [W/"datetime'2019-02-25T11%3A03%3A44.6207098Z'"] + date: ['Mon, 25 Feb 2019 18:09:03 GMT'] + etag: [W/"datetime'2019-02-25T18%3A09%3A02.1962617Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -290,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3163cf1-985a-43ab-8860-396f777b9259?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1c17bb3-a891-49c2-8563-002b71246f30?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3163cf1-985a-43ab-8860-396f777b9259","name":"a3163cf1-985a-43ab-8860-396f777b9259","status":"Succeeded","startTime":"2019-02-25T11:03:44.5616763Z","endTime":"2019-02-25T11:03:44.8429209Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1c17bb3-a891-49c2-8563-002b71246f30","name":"a1c17bb3-a891-49c2-8563-002b71246f30","status":"Succeeded","startTime":"2019-02-25T18:09:02.129443Z","endTime":"2019-02-25T18:09:02.426344Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['574'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:04:16 GMT'] + date: ['Mon, 25 Feb 2019 18:09:33 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A03%3A44.8868992Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A09%3A03.0448698Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:04:24 GMT'] - etag: [W/"datetime'2019-02-25T11%3A03%3A44.8868992Z'"] + date: ['Mon, 25 Feb 2019 18:09:35 GMT'] + etag: [W/"datetime'2019-02-25T18%3A09%3A03.0448698Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,14 +353,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A04%3A26.3495596Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A09%3A40.1274007Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3cde5de5-caa9-4344-84c4-dee2944aff6a?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1d084b1d-f4e8-4e5e-9d1a-74e1370a8581?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:04:26 GMT'] - etag: [W/"datetime'2019-02-25T11%3A04%3A26.3495596Z'"] + date: ['Mon, 25 Feb 2019 18:09:41 GMT'] + etag: [W/"datetime'2019-02-25T18%3A09%3A40.1274007Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -380,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3cde5de5-caa9-4344-84c4-dee2944aff6a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1d084b1d-f4e8-4e5e-9d1a-74e1370a8581?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3cde5de5-caa9-4344-84c4-dee2944aff6a","name":"3cde5de5-caa9-4344-84c4-dee2944aff6a","status":"Succeeded","startTime":"2019-02-25T11:04:26.2973797Z","endTime":"2019-02-25T11:04:26.6908811Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1d084b1d-f4e8-4e5e-9d1a-74e1370a8581","name":"1d084b1d-f4e8-4e5e-9d1a-74e1370a8581","status":"Succeeded","startTime":"2019-02-25T18:09:40.0168163Z","endTime":"2019-02-25T18:09:40.5324011Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:05:02 GMT'] + date: ['Mon, 25 Feb 2019 18:10:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A04%3A26.7278306Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"651039f7-a6ae-360c-4a7a-2592eef713c5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A09%3A40.5707186Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"1516813c-fade-6d1f-8755-4165842e507c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:05:03 GMT'] - etag: [W/"datetime'2019-02-25T11%3A04%3A26.7278306Z'"] + date: ['Mon, 25 Feb 2019 18:10:13 GMT'] + etag: [W/"datetime'2019-02-25T18%3A09%3A40.5707186Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -446,20 +446,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A05%3A08.9720539Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A10%3A18.3487414Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/39931f1b-1456-4bd0-920a-3db43efd6f9f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['951'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:05:11 GMT'] - etag: [W/"datetime'2019-02-25T11%3A05%3A08.9720539Z'"] + date: ['Mon, 25 Feb 2019 18:10:18 GMT'] + etag: [W/"datetime'2019-02-25T18%3A10%3A18.3487414Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -474,14 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/39931f1b-1456-4bd0-920a-3db43efd6f9f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708","name":"899c42be-0b3c-4508-99bc-568c22432708","status":"Creating","startTime":"2019-02-25T11:05:08.9056752Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/39931f1b-1456-4bd0-920a-3db43efd6f9f","name":"39931f1b-1456-4bd0-920a-3db43efd6f9f","status":"Succeeded","startTime":"2019-02-25T18:10:18.2775535Z","endTime":"2019-02-25T18:10:50.6321092Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['637'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:05:47 GMT'] + date: ['Mon, 25 Feb 2019 18:10:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -503,14 +503,15 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/899c42be-0b3c-4508-99bc-568c22432708","name":"899c42be-0b3c-4508-99bc-568c22432708","status":"Succeeded","startTime":"2019-02-25T11:05:08.9056752Z","endTime":"2019-02-25T11:05:45.2381826Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A10%3A50.6578578Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_3d98078a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"27491942-4b86-5b61-ef12-5dfe541a3084","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['648'] + content-length: ['1642'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:06:25 GMT'] + date: ['Mon, 25 Feb 2019 18:10:51 GMT'] + etag: [W/"datetime'2019-02-25T18%3A10%3A50.6578578Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -525,22 +526,21 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [anf volume list] Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id --tags] + ParameterSetName: [--resource-group --account-name --pool-name] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A05%3A45.2670204Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_91f9733c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0d4b2f67-ea80-3682-6600-13863127c18c","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A10%3A50.6578578Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_3d98078a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"27491942-4b86-5b61-ef12-5dfe541a3084","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} headers: cache-control: [no-cache] - content-length: ['1642'] + content-length: ['1654'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:06:23 GMT'] - etag: [W/"datetime'2019-02-25T11%3A05%3A45.2670204Z'"] + date: ['Mon, 25 Feb 2019 18:10:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -555,30 +555,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume list] + CommandName: [anf volume delete] Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name] + Content-Length: ['0'] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A05%3A45.2670204Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_91f9733c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0d4b2f67-ea80-3682-6600-13863127c18c","fileSystemId":"1e908d66-a077-3b79-bfe5-a42dda85487d","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} + body: {string: !!python/unicode ''} headers: + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['1654'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:06:37 GMT'] + content-length: ['0'] + date: ['Mon, 25 Feb 2019 18:10:55 GMT'] expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] - status: {code: 200, message: OK} + status: {code: 202, message: Accepted} - request: body: null headers: @@ -586,29 +587,27 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf volume delete] Connection: [keep-alive] - Content-Length: ['0'] ParameterSetName: [--resource-group --account-name --pool-name --volume-name] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15 response: - body: {string: !!python/unicode ''} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21","name":"744f5ddd-90f2-427f-9a86-4e6036fb3e21","status":"Deleting","startTime":"2019-02-25T18:10:56.0244228Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['0'] - date: ['Mon, 25 Feb 2019 11:06:24 GMT'] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 25 Feb 2019 18:11:26 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] + transfer-encoding: [chunked] + vary: [Accept-Encoding] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} + status: {code: 200, message: OK} - request: body: null headers: @@ -620,14 +619,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5","name":"ca29099e-8890-4492-989f-101b84ebb0a5","status":"Deleting","startTime":"2019-02-25T11:06:25.1258766Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21","name":"744f5ddd-90f2-427f-9a86-4e6036fb3e21","status":"Deleting","startTime":"2019-02-25T18:10:56.0244228Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:07:11 GMT'] + date: ['Mon, 25 Feb 2019 18:11:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -648,14 +647,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ca29099e-8890-4492-989f-101b84ebb0a5","name":"ca29099e-8890-4492-989f-101b84ebb0a5","status":"Succeeded","startTime":"2019-02-25T11:06:25.1258766Z","endTime":"2019-02-25T11:07:17.3790907Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21","name":"744f5ddd-90f2-427f-9a86-4e6036fb3e21","status":"Succeeded","startTime":"2019-02-25T18:10:56.0244228Z","endTime":"2019-02-25T18:12:15.5890912Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:07:32 GMT'] + date: ['Mon, 25 Feb 2019 18:12:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -684,7 +683,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:07:34 GMT'] + date: ['Mon, 25 Feb 2019 18:12:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -713,9 +712,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 11:07:37 GMT'] + date: ['Mon, 25 Feb 2019 18:12:37 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQkVaWVNSUEJZVTIyQ1FPUTdaQkw3S1BSRUZRWFE2T3w5Q0ZCMUY0QzdCNEVDNjZELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHM1VPWkFJQ1dOTFhTVEVFWlFOR09NTFZRQk9LWTdKSnxDMkI0NTU3M0I4MzY2RjlCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml index 20e229191c5..2bc3c245d4f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T12:10:36Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:29:11Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T12:10:36Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:29:11Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:41 GMT'] + date: ['Mon, 25 Feb 2019 18:29:17 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"1007de68-fb9d-4d1a-be85-c20307ee2ad3\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"3a90d6cc-0904-4952-90fc-5066f5e1f399\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"447ca765-5eb0-4984-a888-2325c838d1c3\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"86caa702-8122-4134-8ed4-dcd921340d3e\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0ac4bce8-bd81-4c72-8cbf-e4722eb1c212?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e1a5c71d-e1fa-4965-af81-730215dd3b1a?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:47 GMT'] + date: ['Mon, 25 Feb 2019 18:29:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0ac4bce8-bd81-4c72-8cbf-e4722eb1c212?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e1a5c71d-e1fa-4965-af81-730215dd3b1a?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:52 GMT'] + date: ['Mon, 25 Feb 2019 18:29:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"43044bc5-5b34-48c6-a25e-d8bbf39daf5f\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"984db690-1cc5-40d9-bc40-77a5dc37fdd5\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"447ca765-5eb0-4984-a888-2325c838d1c3\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"86caa702-8122-4134-8ed4-dcd921340d3e\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:53 GMT'] - etag: [W/"43044bc5-5b34-48c6-a25e-d8bbf39daf5f"] + date: ['Mon, 25 Feb 2019 18:29:29 GMT'] + etag: [W/"984db690-1cc5-40d9-bc40-77a5dc37fdd5"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"39d8c677-c426-40f9-a95f-05051765b3c4\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"ce7f0cd6-e3ec-4c48-8168-141a016225db\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"39d8c677-c426-40f9-a95f-05051765b3c4\\\"\"\ + ,\r\n \"etag\": \"W/\\\"ce7f0cd6-e3ec-4c48-8168-141a016225db\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,11 +167,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fe0b3e94-d83b-4361-89c3-177af8b29f9d?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/800539aa-0f63-404d-867e-bb54810941dd?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:54 GMT'] + date: ['Mon, 25 Feb 2019 18:29:31 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fe0b3e94-d83b-4361-89c3-177af8b29f9d?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/800539aa-0f63-404d-867e-bb54810941dd?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:58 GMT'] + date: ['Mon, 25 Feb 2019 18:29:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"bda5c635-a5cc-41d9-a2b2-f84aa790d0c2\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"4e02acbf-f2c3-418c-b3e8-8dd17a2b1f4e\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"bda5c635-a5cc-41d9-a2b2-f84aa790d0c2\\\"\"\ + ,\r\n \"etag\": \"W/\\\"4e02acbf-f2c3-418c-b3e8-8dd17a2b1f4e\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:10:59 GMT'] - etag: [W/"bda5c635-a5cc-41d9-a2b2-f84aa790d0c2"] + date: ['Mon, 25 Feb 2019 18:29:35 GMT'] + etag: [W/"4e02acbf-f2c3-418c-b3e8-8dd17a2b1f4e"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A11%3A04.1844024Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A29%3A40.4499096Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d41a6eca-208f-49db-b138-4c440354011f?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c1002dfc-a07b-4fb2-9338-4238c9847bfe?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:11:04 GMT'] - etag: [W/"datetime'2019-02-25T12%3A11%3A04.1844024Z'"] + date: ['Mon, 25 Feb 2019 18:29:40 GMT'] + etag: [W/"datetime'2019-02-25T18%3A29%3A40.4499096Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -290,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d41a6eca-208f-49db-b138-4c440354011f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c1002dfc-a07b-4fb2-9338-4238c9847bfe?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d41a6eca-208f-49db-b138-4c440354011f","name":"d41a6eca-208f-49db-b138-4c440354011f","status":"Succeeded","startTime":"2019-02-25T12:11:04.0278058Z","endTime":"2019-02-25T12:11:04.4809516Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c1002dfc-a07b-4fb2-9338-4238c9847bfe","name":"c1002dfc-a07b-4fb2-9338-4238c9847bfe","status":"Succeeded","startTime":"2019-02-25T18:29:40.383394Z","endTime":"2019-02-25T18:29:41.2585783Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:11:42 GMT'] + date: ['Mon, 25 Feb 2019 18:30:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A11%3A04.6847597Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A29%3A41.3035177Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:11:38 GMT'] - etag: [W/"datetime'2019-02-25T12%3A11%3A04.6847597Z'"] + date: ['Mon, 25 Feb 2019 18:30:13 GMT'] + etag: [W/"datetime'2019-02-25T18%3A29%3A41.3035177Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A11%3A46.584732Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A30%3A17.629504Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cfa1e68c-1345-4091-abcb-5ca54121e391?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5009001d-5fa7-4833-8cb3-ba407a08ba30?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:11:46 GMT'] - etag: [W/"datetime'2019-02-25T12%3A11%3A46.584732Z'"] + date: ['Mon, 25 Feb 2019 18:30:18 GMT'] + etag: [W/"datetime'2019-02-25T18%3A30%3A17.629504Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -380,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cfa1e68c-1345-4091-abcb-5ca54121e391?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5009001d-5fa7-4833-8cb3-ba407a08ba30?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/cfa1e68c-1345-4091-abcb-5ca54121e391","name":"cfa1e68c-1345-4091-abcb-5ca54121e391","status":"Succeeded","startTime":"2019-02-25T12:11:46.3829378Z","endTime":"2019-02-25T12:11:47.1856287Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5009001d-5fa7-4833-8cb3-ba407a08ba30","name":"5009001d-5fa7-4833-8cb3-ba407a08ba30","status":"Succeeded","startTime":"2019-02-25T18:30:17.573942Z","endTime":"2019-02-25T18:30:17.995786Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:12:19 GMT'] + date: ['Mon, 25 Feb 2019 18:30:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A11%3A47.3833039Z''\"","location":"westus2","properties":{"poolId":"a9a513aa-1bdb-4c0b-f52f-5192939b36b8","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A30%3A18.0468027Z''\"","location":"westus2","properties":{"poolId":"ff39be2a-ee1d-0456-c62d-4ad6604ca8cf","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:12:20 GMT'] - etag: [W/"datetime'2019-02-25T12%3A11%3A47.3833039Z'"] + date: ['Mon, 25 Feb 2019 18:30:50 GMT'] + etag: [W/"datetime'2019-02-25T18%3A30%3A18.0468027Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -445,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A12%3A27.0847056Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A30%3A56.4682245Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:12:27 GMT'] - etag: [W/"datetime'2019-02-25T12%3A12%3A27.0847056Z'"] + date: ['Mon, 25 Feb 2019 18:30:57 GMT'] + etag: [W/"datetime'2019-02-25T18%3A30%3A56.4682245Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365","name":"d7cc7bb0-413d-4887-b54c-f00346c22365","status":"Creating","startTime":"2019-02-25T12:12:26.980598Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df","name":"47d3750a-0369-4371-8af6-6b127eaa37df","status":"Creating","startTime":"2019-02-25T18:30:56.4105119Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['636'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:12:59 GMT'] + date: ['Mon, 25 Feb 2019 18:31:27 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7cc7bb0-413d-4887-b54c-f00346c22365","name":"d7cc7bb0-413d-4887-b54c-f00346c22365","status":"Succeeded","startTime":"2019-02-25T12:12:26.980598Z","endTime":"2019-02-25T12:13:07.575048Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df","name":"47d3750a-0369-4371-8af6-6b127eaa37df","status":"Succeeded","startTime":"2019-02-25T18:30:56.4105119Z","endTime":"2019-02-25T18:31:31.6472214Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['646'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:13:34 GMT'] + date: ['Mon, 25 Feb 2019 18:31:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -533,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A13%3A07.612699Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_20f93ced","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"b820d667-11d6-6882-f75d-0e57cfbd7552","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A31%3A31.6772319Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_e68239d4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c2119afe-c5a2-6cdc-cbc2-c7884e184e28","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1600'] + content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:13:33 GMT'] - etag: [W/"datetime'2019-02-25T12%3A13%3A07.612699Z'"] + date: ['Mon, 25 Feb 2019 18:32:00 GMT'] + etag: [W/"datetime'2019-02-25T18%3A31%3A31.6772319Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -550,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "d4a8016d-7532-8933-67cc-30f6545e1f42"}, + body: !!python/unicode '{"properties": {"fileSystemId": "05b506e5-9c4c-6487-389e-9048144bad50"}, "location": "westus2"}' headers: Accept: [application/json] @@ -567,18 +567,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 12:13:44 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"d8927a8e-c1d8-0501-08bd-62a0386627d1","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","name":"cli-sn-000005","created":"2019-02-25T12:13:41Z"}}'} + 6:32:07 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"22d3eb70-5b41-6417-6d8d-b48b70565037","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","name":"cli-sn-000005","created":"2019-02-25T18:32:04Z"}}'} headers: cache-control: [no-cache] content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:13:47 GMT'] + date: ['Mon, 25 Feb 2019 18:32:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -595,12 +595,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"d8927a8e-c1d8-0501-08bd-62a0386627d1","fileSystemId":"d4a8016d-7532-8933-67cc-30f6545e1f42","name":"cli-sn-000005","created":"2019-02-25T12:13:41Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"22d3eb70-5b41-6417-6d8d-b48b70565037","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","name":"cli-sn-000005","created":"2019-02-25T18:32:04Z"}}]}'} headers: cache-control: [no-cache] content-length: ['760'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:13:48 GMT'] + date: ['Mon, 25 Feb 2019 18:32:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -629,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 12:13:55 GMT'] + date: ['Mon, 25 Feb 2019 18:32:13 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkc3N0RBWVZMRUhINzZPNVVMVTZEUVpFUDc3N1BNWkZINkozWXw0MERCMkY0Qzk2RTNEMUNCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZRkJLNlpCN0UySjdKS0dLWlZEV0xTNEo3Q0pSREpHVktCM3xENkI3MjA1MzY2OENBMDMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml index ada779c235a..ef8203bd32c 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T12:13:53Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:32:14Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T12:13:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:32:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:13:59 GMT'] + date: ['Mon, 25 Feb 2019 18:32:16 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"f26dfea5-e47d-441d-b981-ebceccd8ae4a\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c1540df4-bac3-4af2-a06b-f48cd7366f75\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"58b14c97-82e2-4f58-8bb9-fdc261836f67\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"1466b743-e849-4723-9cb0-b39fe9e63965\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fb72743b-bb3f-4a2d-a36b-620fafab75fd?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e36c6ba0-43d9-4754-bfce-87b3ee15a9d6?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:18 GMT'] + date: ['Mon, 25 Feb 2019 18:32:21 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fb72743b-bb3f-4a2d-a36b-620fafab75fd?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e36c6ba0-43d9-4754-bfce-87b3ee15a9d6?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:11 GMT'] + date: ['Mon, 25 Feb 2019 18:32:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"66bb39f2-fd63-48c9-b255-d2775f11ccc9\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"4f09819e-c61a-44b5-ac24-a5b75f491713\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"58b14c97-82e2-4f58-8bb9-fdc261836f67\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1466b743-e849-4723-9cb0-b39fe9e63965\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:07 GMT'] - etag: [W/"66bb39f2-fd63-48c9-b255-d2775f11ccc9"] + date: ['Mon, 25 Feb 2019 18:32:25 GMT'] + etag: [W/"4f09819e-c61a-44b5-ac24-a5b75f491713"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"d9dff826-8ad2-46c9-92be-c4bbeaa47ce6\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"16172ec3-3dc8-4ecb-9e3d-57e30be9360d\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"d9dff826-8ad2-46c9-92be-c4bbeaa47ce6\\\"\"\ + ,\r\n \"etag\": \"W/\\\"16172ec3-3dc8-4ecb-9e3d-57e30be9360d\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/546b6fa1-3625-4442-8e3f-7a337ee2ab7f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ae04c876-37ce-4862-be45-d5f30219ef2e?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:15 GMT'] + date: ['Mon, 25 Feb 2019 18:32:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/546b6fa1-3625-4442-8e3f-7a337ee2ab7f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ae04c876-37ce-4862-be45-d5f30219ef2e?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:26 GMT'] + date: ['Mon, 25 Feb 2019 18:32:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"b96bf06e-9171-4b6f-bfe5-317baaf23061\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"502f4e8a-6883-4ef1-8e0e-1b2b2a812a09\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"b96bf06e-9171-4b6f-bfe5-317baaf23061\\\"\"\ + ,\r\n \"etag\": \"W/\\\"502f4e8a-6883-4ef1-8e0e-1b2b2a812a09\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:17 GMT'] - etag: [W/"b96bf06e-9171-4b6f-bfe5-317baaf23061"] + date: ['Mon, 25 Feb 2019 18:32:31 GMT'] + etag: [W/"502f4e8a-6883-4ef1-8e0e-1b2b2a812a09"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A14%3A25.5304438Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A32%3A36.6954115Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c9add457-a28d-4724-9e5d-d0998d829486?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ad2b088-8b29-44c6-b423-2ce7d82a5225?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:28 GMT'] - etag: [W/"datetime'2019-02-25T12%3A14%3A25.5304438Z'"] + date: ['Mon, 25 Feb 2019 18:32:37 GMT'] + etag: [W/"datetime'2019-02-25T18%3A32%3A36.6954115Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -290,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c9add457-a28d-4724-9e5d-d0998d829486?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ad2b088-8b29-44c6-b423-2ce7d82a5225?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c9add457-a28d-4724-9e5d-d0998d829486","name":"c9add457-a28d-4724-9e5d-d0998d829486","status":"Succeeded","startTime":"2019-02-25T12:14:25.3720695Z","endTime":"2019-02-25T12:14:25.7898139Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ad2b088-8b29-44c6-b423-2ce7d82a5225","name":"3ad2b088-8b29-44c6-b423-2ce7d82a5225","status":"Succeeded","startTime":"2019-02-25T18:32:36.6178447Z","endTime":"2019-02-25T18:32:36.9616251Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:15:08 GMT'] + date: ['Mon, 25 Feb 2019 18:33:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A14%3A25.8836953Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A32%3A37.0276479Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:14:59 GMT'] - etag: [W/"datetime'2019-02-25T12%3A14%3A25.8836953Z'"] + date: ['Mon, 25 Feb 2019 18:33:09 GMT'] + etag: [W/"datetime'2019-02-25T18%3A32%3A37.0276479Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A15%3A07.5274839Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A33%3A13.970887Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ff427ad-f7cf-48a8-a12d-f806f23e8fe7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5c4ed332-96de-4f71-a9fc-6e7555245105?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['542'] + content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:15:10 GMT'] - etag: [W/"datetime'2019-02-25T12%3A15%3A07.5274839Z'"] + date: ['Mon, 25 Feb 2019 18:33:14 GMT'] + etag: [W/"datetime'2019-02-25T18%3A33%3A13.970887Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -380,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ff427ad-f7cf-48a8-a12d-f806f23e8fe7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5c4ed332-96de-4f71-a9fc-6e7555245105?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8ff427ad-f7cf-48a8-a12d-f806f23e8fe7","name":"8ff427ad-f7cf-48a8-a12d-f806f23e8fe7","status":"Succeeded","startTime":"2019-02-25T12:15:07.4271735Z","endTime":"2019-02-25T12:15:07.8802968Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5c4ed332-96de-4f71-a9fc-6e7555245105","name":"5c4ed332-96de-4f71-a9fc-6e7555245105","status":"Succeeded","startTime":"2019-02-25T18:33:13.9013894Z","endTime":"2019-02-25T18:33:14.3545316Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:15:42 GMT'] + date: ['Mon, 25 Feb 2019 18:33:45 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A15%3A07.983811Z''\"","location":"westus2","properties":{"poolId":"f3f3c4c6-f0e7-5154-d3c1-b0bdb41583a2","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A33%3A14.4071965Z''\"","location":"westus2","properties":{"poolId":"19b1bb0d-aadd-1fe4-57dd-7b566860ab80","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['649'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:15:45 GMT'] - etag: [W/"datetime'2019-02-25T12%3A15%3A07.983811Z'"] + date: ['Mon, 25 Feb 2019 18:33:46 GMT'] + etag: [W/"datetime'2019-02-25T18%3A33%3A14.4071965Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -445,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A15%3A49.0199926Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A33%3A51.6756671Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3877b00-692a-4382-95d2-70ab8ab75671?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/613b47b4-9545-4f22-842e-650fd930bddb?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:15:50 GMT'] - etag: [W/"datetime'2019-02-25T12%3A15%3A49.0199926Z'"] + date: ['Mon, 25 Feb 2019 18:33:51 GMT'] + etag: [W/"datetime'2019-02-25T18%3A33%3A51.6756671Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3877b00-692a-4382-95d2-70ab8ab75671?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/613b47b4-9545-4f22-842e-650fd930bddb?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3877b00-692a-4382-95d2-70ab8ab75671","name":"a3877b00-692a-4382-95d2-70ab8ab75671","status":"Succeeded","startTime":"2019-02-25T12:15:48.903755Z","endTime":"2019-02-25T12:16:21.2234433Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/613b47b4-9545-4f22-842e-650fd930bddb","name":"613b47b4-9545-4f22-842e-650fd930bddb","status":"Succeeded","startTime":"2019-02-25T18:33:51.6175952Z","endTime":"2019-02-25T18:34:22.9373778Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['647'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:23 GMT'] + date: ['Mon, 25 Feb 2019 18:34:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -504,13 +504,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A16%3A21.2598916Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_5f9520d6","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"4c4cc6c8-af29-61cc-a731-0700b915708c","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A34%3A22.9778989Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_80efea07","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7d0f55bc-6a85-65b9-4729-04d07dfa5cc9","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:33 GMT'] - etag: [W/"datetime'2019-02-25T12%3A16%3A21.2598916Z'"] + date: ['Mon, 25 Feb 2019 18:34:24 GMT'] + etag: [W/"datetime'2019-02-25T18%3A34%3A22.9778989Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -521,7 +521,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "6ac875a3-27a4-883d-4440-70e7db58749b"}, + body: !!python/unicode '{"properties": {"fileSystemId": "db457cfd-db41-c93d-bc06-6fe2adc60753"}, "location": "westus2"}' headers: Accept: [application/json] @@ -538,18 +538,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 12:16:32 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"1d4a00cb-9740-e06e-dfcb-e7318a9c6a30","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","name":"cli-sn-000005","created":"2019-02-25T12:16:30Z"}}'} + 6:34:32 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4d2bb8e-3bc0-ef03-faf1-a9ab5df08f51","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","name":"cli-sn-000005","created":"2019-02-25T18:34:29Z"}}'} headers: cache-control: [no-cache] content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:32 GMT'] + date: ['Mon, 25 Feb 2019 18:34:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -566,12 +566,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"1d4a00cb-9740-e06e-dfcb-e7318a9c6a30","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","name":"cli-sn-000005","created":"2019-02-25T12:16:30Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4d2bb8e-3bc0-ef03-faf1-a9ab5df08f51","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","name":"cli-sn-000005","created":"2019-02-25T18:34:29Z"}}'} headers: cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:46 GMT'] + date: ['Mon, 25 Feb 2019 18:34:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -595,12 +595,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"1d4a00cb-9740-e06e-dfcb-e7318a9c6a30","fileSystemId":"6ac875a3-27a4-883d-4440-70e7db58749b","name":"cli-sn-000005","created":"2019-02-25T12:16:30Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4d2bb8e-3bc0-ef03-faf1-a9ab5df08f51","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","name":"cli-sn-000005","created":"2019-02-25T18:34:29Z"}}'} headers: cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:42 GMT'] + date: ['Mon, 25 Feb 2019 18:34:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -629,9 +629,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 12:16:48 GMT'] + date: ['Mon, 25 Feb 2019 18:34:40 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdITDRVMlVVRVJUUTJVNEtaSUYyTjQzN0M1SEVRUDM0QkVMWHw3OTdBRUZEMzRGODY0MzgyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkcyTVNKUVRISkNDNk1VQUhOSzNNNUhHU1JJTlhCR1VFTFdUUHwzRUNFMkQxQjg0NzU1ODJCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml index 004f9ce4d4d..9d5dd3c9ea7 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:59:49Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:12:37Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:59:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:12:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:59:53 GMT'] + date: ['Mon, 25 Feb 2019 18:12: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: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"9ea42d67-0b55-456a-9443-fffe127f8742\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"3a598739-3030-43ce-9691-eb5c4d19f82d\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"fb6c9760-0008-4c78-9d40-957a8f5dcd38\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"07af654c-5a1c-4dc3-be97-cae4b36b956c\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0c0e7cea-8278-4a1c-bee4-adf2155d817e?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b13facfb-d5aa-443d-b3de-16e811f9ea9b?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:59:59 GMT'] + date: ['Mon, 25 Feb 2019 18:12:45 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/0c0e7cea-8278-4a1c-bee4-adf2155d817e?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b13facfb-d5aa-443d-b3de-16e811f9ea9b?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:04 GMT'] + date: ['Mon, 25 Feb 2019 18:12:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"87e02dc5-213d-4378-939b-507c5d8022f0\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"aecb57ea-dac9-4e7c-8726-6e8a0198831c\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"fb6c9760-0008-4c78-9d40-957a8f5dcd38\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"07af654c-5a1c-4dc3-be97-cae4b36b956c\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:04 GMT'] - etag: [W/"87e02dc5-213d-4378-939b-507c5d8022f0"] + date: ['Mon, 25 Feb 2019 18:12:50 GMT'] + etag: [W/"aecb57ea-dac9-4e7c-8726-6e8a0198831c"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"f0ecf2d5-c5a9-4dbb-aca0-ca6215a9cf4e\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"15e904dc-250a-4ddc-a790-c70e3ccf8db5\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"f0ecf2d5-c5a9-4dbb-aca0-ca6215a9cf4e\\\"\"\ + ,\r\n \"etag\": \"W/\\\"15e904dc-250a-4ddc-a790-c70e3ccf8db5\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/5c9ab9fd-eb11-4828-950e-8d749dc298c1?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d6f4ce99-97d5-4bde-948b-9024ec4e855a?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:06 GMT'] + date: ['Mon, 25 Feb 2019 18:12:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/5c9ab9fd-eb11-4828-950e-8d749dc298c1?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d6f4ce99-97d5-4bde-948b-9024ec4e855a?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:10 GMT'] + date: ['Mon, 25 Feb 2019 18:12:55 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"72f3d547-518b-4017-9e5d-23e842bd7b21\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c2b34261-f877-44b4-8df7-76b438a75d86\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"72f3d547-518b-4017-9e5d-23e842bd7b21\\\"\"\ + ,\r\n \"etag\": \"W/\\\"c2b34261-f877-44b4-8df7-76b438a75d86\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:10 GMT'] - etag: [W/"72f3d547-518b-4017-9e5d-23e842bd7b21"] + date: ['Mon, 25 Feb 2019 18:12:56 GMT'] + etag: [W/"c2b34261-f877-44b4-8df7-76b438a75d86"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A00%3A14.9477089Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A13%3A00.9140417Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7d744a5-2a4b-49a1-b480-48626cbf82ea?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1481250d-0f4d-4308-9028-c5220cd765e5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:14 GMT'] - etag: [W/"datetime'2019-02-25T11%3A00%3A14.9477089Z'"] + date: ['Mon, 25 Feb 2019 18:13:01 GMT'] + etag: [W/"datetime'2019-02-25T18%3A13%3A00.9140417Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -290,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7d744a5-2a4b-49a1-b480-48626cbf82ea?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1481250d-0f4d-4308-9028-c5220cd765e5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c7d744a5-2a4b-49a1-b480-48626cbf82ea","name":"c7d744a5-2a4b-49a1-b480-48626cbf82ea","status":"Succeeded","startTime":"2019-02-25T11:00:14.8816609Z","endTime":"2019-02-25T11:00:15.1784916Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1481250d-0f4d-4308-9028-c5220cd765e5","name":"1481250d-0f4d-4308-9028-c5220cd765e5","status":"Succeeded","startTime":"2019-02-25T18:13:00.8619553Z","endTime":"2019-02-25T18:13:01.1593413Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:46 GMT'] + date: ['Mon, 25 Feb 2019 18:13:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A00%3A15.226909Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A13%3A01.2052504Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:55 GMT'] - etag: [W/"datetime'2019-02-25T11%3A00%3A15.226909Z'"] + date: ['Mon, 25 Feb 2019 18:13:34 GMT'] + etag: [W/"datetime'2019-02-25T18%3A13%3A01.2052504Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A00%3A56.5164481Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A13%3A38.4428873Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5857defc-fda7-4d20-a43b-931f1eee7b25?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/907be285-ea3a-4684-8932-a686118d1275?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:00:56 GMT'] - etag: [W/"datetime'2019-02-25T11%3A00%3A56.5164481Z'"] + date: ['Mon, 25 Feb 2019 18:13:38 GMT'] + etag: [W/"datetime'2019-02-25T18%3A13%3A38.4428873Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -380,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5857defc-fda7-4d20-a43b-931f1eee7b25?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/907be285-ea3a-4684-8932-a686118d1275?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5857defc-fda7-4d20-a43b-931f1eee7b25","name":"5857defc-fda7-4d20-a43b-931f1eee7b25","status":"Succeeded","startTime":"2019-02-25T11:00:56.4209448Z","endTime":"2019-02-25T11:00:56.8896547Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/907be285-ea3a-4684-8932-a686118d1275","name":"907be285-ea3a-4684-8932-a686118d1275","status":"Succeeded","startTime":"2019-02-25T18:13:38.4005726Z","endTime":"2019-02-25T18:13:38.8682709Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:01:28 GMT'] + date: ['Mon, 25 Feb 2019 18:14:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A00%3A56.9277429Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"29570baf-e12c-e3cd-f5ec-40628262f915","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A13%3A38.9112212Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"d935e446-ec83-f62e-ae18-27443c1273d6","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:01:47 GMT'] - etag: [W/"datetime'2019-02-25T11%3A00%3A56.9277429Z'"] + date: ['Mon, 25 Feb 2019 18:14:11 GMT'] + etag: [W/"datetime'2019-02-25T18%3A13%3A38.9112212Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -446,20 +446,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A01%3A39.5682446Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A16.7801233Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/282f31e7-81e7-44c7-b1ff-fe5ec0eb6043?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:01:41 GMT'] - etag: [W/"datetime'2019-02-25T11%3A01%3A39.5682446Z'"] + date: ['Mon, 25 Feb 2019 18:14:16 GMT'] + etag: [W/"datetime'2019-02-25T18%3A14%3A16.7801233Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -474,43 +474,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e","name":"ae8b0fbb-1ed8-47af-8e04-067e220a271e","status":"Creating","startTime":"2019-02-25T11:01:39.5033548Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:02:15 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/282f31e7-81e7-44c7-b1ff-fe5ec0eb6043?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ae8b0fbb-1ed8-47af-8e04-067e220a271e","name":"ae8b0fbb-1ed8-47af-8e04-067e220a271e","status":"Succeeded","startTime":"2019-02-25T11:01:39.5033548Z","endTime":"2019-02-25T11:02:15.0471389Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/282f31e7-81e7-44c7-b1ff-fe5ec0eb6043","name":"282f31e7-81e7-44c7-b1ff-fe5ec0eb6043","status":"Succeeded","startTime":"2019-02-25T18:14:16.7091383Z","endTime":"2019-02-25T18:14:46.978354Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['648'] + content-length: ['647'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:03:02 GMT'] + date: ['Mon, 25 Feb 2019 18:14:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -534,13 +505,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A02%3A15.086655Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_1e303a3a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1f3f9266-d835-6a78-fe0b-5d7389355390","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A47.011595Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0c8d971e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7c67f689-a3d6-2631-b9a3-57bda83a5788","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:02:47 GMT'] - etag: [W/"datetime'2019-02-25T11%3A02%3A15.086655Z'"] + date: ['Mon, 25 Feb 2019 18:14:49 GMT'] + etag: [W/"datetime'2019-02-25T18%3A14%3A47.011595Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -564,13 +535,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A02%3A15.086655Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_1e303a3a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1f3f9266-d835-6a78-fe0b-5d7389355390","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A47.011595Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0c8d971e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7c67f689-a3d6-2631-b9a3-57bda83a5788","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:02:55 GMT'] - etag: [W/"datetime'2019-02-25T11%3A02%3A15.086655Z'"] + date: ['Mon, 25 Feb 2019 18:14:52 GMT'] + etag: [W/"datetime'2019-02-25T18%3A14%3A47.011595Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -594,13 +565,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A02%3A15.086655Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_1e303a3a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"1f3f9266-d835-6a78-fe0b-5d7389355390","fileSystemId":"20c15595-8276-532e-32ac-4a4cc06477c3","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A47.011595Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0c8d971e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7c67f689-a3d6-2631-b9a3-57bda83a5788","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:02:53 GMT'] - etag: [W/"datetime'2019-02-25T11%3A02%3A15.086655Z'"] + date: ['Mon, 25 Feb 2019 18:14:53 GMT'] + etag: [W/"datetime'2019-02-25T18%3A14%3A47.011595Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -629,9 +600,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 11:02:57 GMT'] + date: ['Mon, 25 Feb 2019 18:14:58 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNk9WNlNOUVJKQ01CWVdVMkdUU0hZVTM2T0s2Sk02RnxGQkU4RkNCQ0ZCRTI1NjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHT0RNUEtKSERGV0lOUVdPTFVSM1FDNDczWlFIQjdZUnxEMTcwQzI1QTExNjNFQUE1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml index b1165a27156..30c8fc29863 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T11:10:19Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:01:51Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T11:10:19Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:01:51Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:23 GMT'] + date: ['Mon, 25 Feb 2019 18:01:56 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"c2b1b012-06f2-4a07-8cf5-ad143dd24fec\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"23b7099a-8f4a-4632-a3e3-6573689134b0\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"301ac39f-6302-4e05-b58c-6e393bbbfdab\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"6583d9dd-325a-42f6-9d6b-dace9415d291\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ea5a44ef-3f66-477d-bce9-ccd425955618?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/86d9e7ed-6e9c-4c80-83f5-56a99e9850a7?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['805'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:33 GMT'] + date: ['Mon, 25 Feb 2019 18:02:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ea5a44ef-3f66-477d-bce9-ccd425955618?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/86d9e7ed-6e9c-4c80-83f5-56a99e9850a7?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:37 GMT'] + date: ['Mon, 25 Feb 2019 18:02:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"73ba6bbd-53e8-4888-84fb-0336e4cd1602\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"d6b10d2c-b691-45ca-93b7-0aa99a3cb4cb\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"301ac39f-6302-4e05-b58c-6e393bbbfdab\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"6583d9dd-325a-42f6-9d6b-dace9415d291\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:42 GMT'] - etag: [W/"73ba6bbd-53e8-4888-84fb-0336e4cd1602"] + date: ['Mon, 25 Feb 2019 18:02:08 GMT'] + etag: [W/"d6b10d2c-b691-45ca-93b7-0aa99a3cb4cb"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -153,11 +153,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"27774972-dfe3-4853-92d6-026b45f4f20e\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"57c3e34d-8ef4-46cc-b43d-c83d83377e38\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"27774972-dfe3-4853-92d6-026b45f4f20e\\\"\"\ + ,\r\n \"etag\": \"W/\\\"57c3e34d-8ef4-46cc-b43d-c83d83377e38\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,11 +166,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1f995ec3-c2c3-455d-b419-355cde8d8d7d?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/996f847e-111e-4376-b45c-7d3625a2df8f?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1274'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:45 GMT'] + date: ['Mon, 25 Feb 2019 18:02:09 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -189,14 +189,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1f995ec3-c2c3-455d-b419-355cde8d8d7d?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/996f847e-111e-4376-b45c-7d3625a2df8f?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:57 GMT'] + date: ['Mon, 25 Feb 2019 18:02:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -220,11 +220,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"c877aadf-4b5a-44cf-8364-823951df76ea\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"6dff051c-aa83-46a8-9d18-fd7f2f5d685d\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"c877aadf-4b5a-44cf-8364-823951df76ea\\\"\"\ + ,\r\n \"etag\": \"W/\\\"6dff051c-aa83-46a8-9d18-fd7f2f5d685d\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1275'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:10:49 GMT'] - etag: [W/"c877aadf-4b5a-44cf-8364-823951df76ea"] + date: ['Mon, 25 Feb 2019 18:02:14 GMT'] + etag: [W/"6dff051c-aa83-46a8-9d18-fd7f2f5d685d"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,14 +262,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A10%3A54.873292Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A02%3A18.9070162Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71c39a61-52c4-4a8b-b992-01cc798d3c44?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7cd29f8b-7515-4d57-957c-b03890acd041?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['451'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:11:11 GMT'] - etag: [W/"datetime'2019-02-25T11%3A10%3A54.873292Z'"] + date: ['Mon, 25 Feb 2019 18:02:18 GMT'] + etag: [W/"datetime'2019-02-25T18%3A02%3A18.9070162Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,14 +289,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71c39a61-52c4-4a8b-b992-01cc798d3c44?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7cd29f8b-7515-4d57-957c-b03890acd041?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71c39a61-52c4-4a8b-b992-01cc798d3c44","name":"71c39a61-52c4-4a8b-b992-01cc798d3c44","status":"Succeeded","startTime":"2019-02-25T11:10:54.8133277Z","endTime":"2019-02-25T11:10:55.0946244Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7cd29f8b-7515-4d57-957c-b03890acd041","name":"7cd29f8b-7515-4d57-957c-b03890acd041","status":"Succeeded","startTime":"2019-02-25T18:02:18.8537219Z","endTime":"2019-02-25T18:02:19.1349792Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:11:32 GMT'] + date: ['Mon, 25 Feb 2019 18:02:51 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +319,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T11%3A10%3A55.1414825Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A02%3A19.1832124Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:11:36 GMT'] - etag: [W/"datetime'2019-02-25T11%3A10%3A55.1414825Z'"] + date: ['Mon, 25 Feb 2019 18:02:52 GMT'] + etag: [W/"datetime'2019-02-25T18%3A02%3A19.1832124Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +352,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A11%3A36.371767Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A02%3A56.6157987Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2380faf0-14c1-4ec9-b045-1f172789bc76?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ef112c34-5856-4b84-956a-bac627ceac8f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:11:41 GMT'] - etag: [W/"datetime'2019-02-25T11%3A11%3A36.371767Z'"] + date: ['Mon, 25 Feb 2019 18:02:56 GMT'] + etag: [W/"datetime'2019-02-25T18%3A02%3A56.6157987Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +379,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2380faf0-14c1-4ec9-b045-1f172789bc76?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ef112c34-5856-4b84-956a-bac627ceac8f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2380faf0-14c1-4ec9-b045-1f172789bc76","name":"2380faf0-14c1-4ec9-b045-1f172789bc76","status":"Succeeded","startTime":"2019-02-25T11:11:36.2198052Z","endTime":"2019-02-25T11:11:36.7822263Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ef112c34-5856-4b84-956a-bac627ceac8f","name":"ef112c34-5856-4b84-956a-bac627ceac8f","status":"Succeeded","startTime":"2019-02-25T18:02:56.5434239Z","endTime":"2019-02-25T18:02:57.1996006Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:12:09 GMT'] + date: ['Mon, 25 Feb 2019 18:03:27 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +409,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T11%3A11%3A36.8330942Z''\"","location":"westus2","properties":{"poolId":"2c572e24-7d52-97c9-9966-48034ac25b43","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A02%3A57.2502493Z''\"","location":"westus2","properties":{"poolId":"b125b8ee-9ee9-b5df-c474-f2ce50bdec50","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:12:14 GMT'] - etag: [W/"datetime'2019-02-25T11%3A11%3A36.8330942Z'"] + date: ['Mon, 25 Feb 2019 18:03:28 GMT'] + etag: [W/"datetime'2019-02-25T18%3A02%3A57.2502493Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -444,20 +444,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A12%3A18.3315688Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A03%3A33.5171299Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['901'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:12:21 GMT'] - etag: [W/"datetime'2019-02-25T11%3A12%3A18.3315688Z'"] + date: ['Mon, 25 Feb 2019 18:03:33 GMT'] + etag: [W/"datetime'2019-02-25T18%3A03%3A33.5171299Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -472,14 +472,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0","name":"bf2d04fd-bec6-49fc-ac78-363454af49a0","status":"Creating","startTime":"2019-02-25T11:12:18.2761136Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4","name":"3f6b2016-00b5-4e64-9ebd-fe945e855de4","status":"Creating","startTime":"2019-02-25T18:03:33.4010817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:12:50 GMT'] + date: ['Mon, 25 Feb 2019 18:04:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +501,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bf2d04fd-bec6-49fc-ac78-363454af49a0","name":"bf2d04fd-bec6-49fc-ac78-363454af49a0","status":"Succeeded","startTime":"2019-02-25T11:12:18.2761136Z","endTime":"2019-02-25T11:12:53.5338513Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4","name":"3f6b2016-00b5-4e64-9ebd-fe945e855de4","status":"Succeeded","startTime":"2019-02-25T18:03:33.4010817Z","endTime":"2019-02-25T18:04:13.4951936Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:13:26 GMT'] + date: ['Mon, 25 Feb 2019 18:04:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +532,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T11%3A12%3A53.5675954Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"68886447-6e0d-e784-bd81-6f4461bba41f","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_f027c6ca","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f677241e-83b8-1822-6ffb-c1aad15ef1f4","fileSystemId":"68886447-6e0d-e784-bd81-6f4461bba41f","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A04%3A13.525752Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ec3b8b08-ea4e-49f4-329e-b00476281617","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_6980ea3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","fileSystemId":"ec3b8b08-ea4e-49f4-329e-b00476281617","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1588'] + content-length: ['1587'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:13:29 GMT'] - etag: [W/"datetime'2019-02-25T11%3A12%3A53.5675954Z'"] + date: ['Mon, 25 Feb 2019 18:04:38 GMT'] + etag: [W/"datetime'2019-02-25T18%3A04%3A13.525752Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -562,12 +562,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/f677241e-83b8-1822-6ffb-c1aad15ef1f4","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/f677241e-83b8-1822-6ffb-c1aad15ef1f4","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"f677241e-83b8-1822-6ffb-c1aad15ef1f4","fileSystemId":"68886447-6e0d-e784-bd81-6f4461bba41f","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","fileSystemId":"ec3b8b08-ea4e-49f4-329e-b00476281617","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} headers: cache-control: [no-cache] content-length: ['836'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 11:13:33 GMT'] + date: ['Mon, 25 Feb 2019 18:04:40 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -596,9 +596,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 11:13:38 GMT'] + date: ['Mon, 25 Feb 2019 18:04:45 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdVRTZGNTVQTk1RR081Q0pNUDdGWTRYT0FDVU01RjQzWE41VnwyQTlCMkUzQUM0RTlDMUIzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFNFFUVDNCREVMU1Q2SFk2NUhBRldYQ0xYWU5XVTdLR0xKNHw0MTc3RjRGOEMwNzJDMzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml index 462b7259dd0..f0173dfb8f2 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T12:16:45Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:34:41Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T12:16:45Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:34:41Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:46 GMT'] + date: ['Mon, 25 Feb 2019 18:34:44 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"268b0438-8ceb-4bb8-84fb-1623a487f42a\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"1b14b14d-f879-4fdf-9703-7f4628e83432\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"78f51908-413f-4d12-81a2-f6ac96a1627d\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"e572b0c3-b0be-455e-95ee-e688bc8487ec\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9cffc8ac-1ab6-4841-a547-a1e4b7110d18?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/511c8773-1a29-4e56-a524-3ef1b47873a5?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:52 GMT'] + date: ['Mon, 25 Feb 2019 18:34:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/9cffc8ac-1ab6-4841-a547-a1e4b7110d18?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/511c8773-1a29-4e56-a524-3ef1b47873a5?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:16:57 GMT'] + date: ['Mon, 25 Feb 2019 18:34:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"f8cec6d1-3142-40b0-adbd-77e545aca791\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"078bb9bd-395a-45ca-bd2e-134f03468db9\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"78f51908-413f-4d12-81a2-f6ac96a1627d\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"e572b0c3-b0be-455e-95ee-e688bc8487ec\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:03 GMT'] - etag: [W/"f8cec6d1-3142-40b0-adbd-77e545aca791"] + date: ['Mon, 25 Feb 2019 18:34:53 GMT'] + etag: [W/"078bb9bd-395a-45ca-bd2e-134f03468db9"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ - ,\r\n \"etag\": \"W/\\\"cf990d9b-3919-42c5-8535-21265028b0cb\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"e397b25d-b0e2-41fc-af5a-89e628324a70\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"cf990d9b-3919-42c5-8535-21265028b0cb\\\"\"\ + ,\r\n \"etag\": \"W/\\\"e397b25d-b0e2-41fc-af5a-89e628324a70\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2abc83c5-48cb-4ffa-bf80-65708208f673?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b6e9c561-88f8-4b8f-bbe9-458a71da909b?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:01 GMT'] + date: ['Mon, 25 Feb 2019 18:34:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/2abc83c5-48cb-4ffa-bf80-65708208f673?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b6e9c561-88f8-4b8f-bbe9-458a71da909b?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:18 GMT'] + date: ['Mon, 25 Feb 2019 18:34:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ - ,\r\n \"etag\": \"W/\\\"ae16d12c-3d7b-47bd-b3a6-854301a12ec9\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"cd534252-242e-41ed-824d-85c5ae587dee\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"ae16d12c-3d7b-47bd-b3a6-854301a12ec9\\\"\"\ + ,\r\n \"etag\": \"W/\\\"cd534252-242e-41ed-824d-85c5ae587dee\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:11 GMT'] - etag: [W/"ae16d12c-3d7b-47bd-b3a6-854301a12ec9"] + date: ['Mon, 25 Feb 2019 18:34:59 GMT'] + etag: [W/"cd534252-242e-41ed-824d-85c5ae587dee"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A17%3A15.7435886Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A35%3A04.2682281Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8159bdf7-9fe6-4a59-b874-466a38144ac9?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/921fae7b-eb5a-4120-8358-d87c76de20c1?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:20 GMT'] - etag: [W/"datetime'2019-02-25T12%3A17%3A15.7435886Z'"] + date: ['Mon, 25 Feb 2019 18:35:04 GMT'] + etag: [W/"datetime'2019-02-25T18%3A35%3A04.2682281Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -290,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8159bdf7-9fe6-4a59-b874-466a38144ac9?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/921fae7b-eb5a-4120-8358-d87c76de20c1?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8159bdf7-9fe6-4a59-b874-466a38144ac9","name":"8159bdf7-9fe6-4a59-b874-466a38144ac9","status":"Succeeded","startTime":"2019-02-25T12:17:15.5802421Z","endTime":"2019-02-25T12:17:15.9864759Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/921fae7b-eb5a-4120-8358-d87c76de20c1","name":"921fae7b-eb5a-4120-8358-d87c76de20c1","status":"Succeeded","startTime":"2019-02-25T18:35:04.1604291Z","endTime":"2019-02-25T18:35:04.5510866Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:54 GMT'] + date: ['Mon, 25 Feb 2019 18:35:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T12%3A17%3A16.0828295Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A35%3A04.6665093Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:18:07 GMT'] - etag: [W/"datetime'2019-02-25T12%3A17%3A16.0828295Z'"] + date: ['Mon, 25 Feb 2019 18:35:37 GMT'] + etag: [W/"datetime'2019-02-25T18%3A35%3A04.6665093Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,14 +353,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A17%3A57.2810909Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A35%3A41.7608558Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41bf7c2a-1625-450b-abb8-8f1ea4cd30a5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7dda8181-b6c5-49e8-a74e-45b561163dec?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:17:58 GMT'] - etag: [W/"datetime'2019-02-25T12%3A17%3A57.2810909Z'"] + date: ['Mon, 25 Feb 2019 18:35:42 GMT'] + etag: [W/"datetime'2019-02-25T18%3A35%3A41.7608558Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -380,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41bf7c2a-1625-450b-abb8-8f1ea4cd30a5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7dda8181-b6c5-49e8-a74e-45b561163dec?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/41bf7c2a-1625-450b-abb8-8f1ea4cd30a5","name":"41bf7c2a-1625-450b-abb8-8f1ea4cd30a5","status":"Succeeded","startTime":"2019-02-25T12:17:57.1687373Z","endTime":"2019-02-25T12:17:57.6531462Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7dda8181-b6c5-49e8-a74e-45b561163dec","name":"7dda8181-b6c5-49e8-a74e-45b561163dec","status":"Succeeded","startTime":"2019-02-25T18:35:41.6619982Z","endTime":"2019-02-25T18:35:42.1463329Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:18:33 GMT'] + date: ['Mon, 25 Feb 2019 18:36:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T12%3A17%3A57.7694394Z''\"","location":"westus2","properties":{"poolId":"05d0dc9b-da34-d28a-b57c-30e1fd245767","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A35%3A42.2612103Z''\"","location":"westus2","properties":{"poolId":"4411ae52-43a4-a877-0b8b-ba84f661593d","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:18:32 GMT'] - etag: [W/"datetime'2019-02-25T12%3A17%3A57.7694394Z'"] + date: ['Mon, 25 Feb 2019 18:36:13 GMT'] + etag: [W/"datetime'2019-02-25T18%3A35%3A42.2612103Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -445,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A18%3A40.0494674Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A36%3A18.4329024Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:18:38 GMT'] - etag: [W/"datetime'2019-02-25T12%3A18%3A40.0494674Z'"] + date: ['Mon, 25 Feb 2019 18:36:18 GMT'] + etag: [W/"datetime'2019-02-25T18%3A36%3A18.4329024Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","name":"4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","status":"Creating","startTime":"2019-02-25T12:18:39.9492954Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed","name":"6573e9df-2409-44b9-9880-e460419592ed","status":"Creating","startTime":"2019-02-25T18:36:18.3790176Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:19:12 GMT'] + date: ['Mon, 25 Feb 2019 18:36:50 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","name":"4c6a9c15-0c2c-4847-b905-ef8a74b5a88b","status":"Succeeded","startTime":"2019-02-25T12:18:39.9492954Z","endTime":"2019-02-25T12:19:13.6555311Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed","name":"6573e9df-2409-44b9-9880-e460419592ed","status":"Succeeded","startTime":"2019-02-25T18:36:18.3790176Z","endTime":"2019-02-25T18:37:02.328375Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['648'] + content-length: ['647'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:19:46 GMT'] + date: ['Mon, 25 Feb 2019 18:37:21 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -533,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T12%3A19%3A13.6863582Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_68fad43e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"df6cee23-d517-552f-fc4b-bedbdb8c4609","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A37%3A02.3591012Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_208357ee","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"56e08be1-f0fe-961f-ed4d-baf8c1d14c1a","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:19:50 GMT'] - etag: [W/"datetime'2019-02-25T12%3A19%3A13.6863582Z'"] + date: ['Mon, 25 Feb 2019 18:37:23 GMT'] + etag: [W/"datetime'2019-02-25T18%3A37%3A02.3591012Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -550,7 +550,7 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "b29661fe-2c9c-2fff-5efe-5a8b1c5926f0"}, + body: !!python/unicode '{"properties": {"fileSystemId": "966de158-1daa-3a3e-36c6-942bf3c04f71"}, "location": "westus2"}' headers: Accept: [application/json] @@ -567,22 +567,22 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 12:19:57 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"a0898c22-140e-5378-e576-c53812d4420d","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000005","created":"2019-02-25T12:19:54Z"}}'} + 6:37:30 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"092546d3-183b-3f98-6bec-8bda50929d9a","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000005","created":"2019-02-25T18:37:27Z"}}'} headers: cache-control: [no-cache] content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:19:56 GMT'] + date: ['Mon, 25 Feb 2019 18:37:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "b29661fe-2c9c-2fff-5efe-5a8b1c5926f0"}, + body: !!python/unicode '{"properties": {"fileSystemId": "966de158-1daa-3a3e-36c6-942bf3c04f71"}, "location": "westus2"}' headers: Accept: [application/json] @@ -599,18 +599,18 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006?api-version=2017-08-15 response: body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 12:20:06 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"21ed077c-62f9-36f8-f058-52f64b353163","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000006","created":"2019-02-25T12:20:03Z"}}'} + 6:37:37 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"43b1baba-fff5-668f-545d-23d29546b1d0","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000006","created":"2019-02-25T18:37:35Z"}}'} headers: cache-control: [no-cache] content-length: ['779'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:20:16 GMT'] + date: ['Mon, 25 Feb 2019 18:37:37 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -627,12 +627,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"a0898c22-140e-5378-e576-c53812d4420d","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000005","created":"2019-02-25T12:19:54Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"21ed077c-62f9-36f8-f058-52f64b353163","fileSystemId":"b29661fe-2c9c-2fff-5efe-5a8b1c5926f0","name":"cli-sn-000006","created":"2019-02-25T12:20:03Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"092546d3-183b-3f98-6bec-8bda50929d9a","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000005","created":"2019-02-25T18:37:27Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"43b1baba-fff5-668f-545d-23d29546b1d0","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000006","created":"2019-02-25T18:37:35Z"}}]}'} headers: cache-control: [no-cache] content-length: ['1509'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 12:20:20 GMT'] + date: ['Mon, 25 Feb 2019 18:37:40 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -661,9 +661,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 12:20:15 GMT'] + date: ['Mon, 25 Feb 2019 18:37:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdDTUlPUTJaUkhBUlMzSzdVT0JWRzdFSjY2TVUzSjVGVlFCUHw1NDgzQzA4QzFGOTEyM0ZFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdQWE4yUUpTSFNNQUE1TlBES0RKSUNOWEpUTEdQSVlQU0c0NXxGRjIzOEU4RDczOTFBQTg2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml index c879ad08cdc..5ca81b7b37b 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:50:30Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:19:53Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:50:30Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:19:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:50:37 GMT'] + date: ['Mon, 25 Feb 2019 18:20:00 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"7c95ec5a-bcea-4dce-8472-898e7a9f07a6\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f2be9534-3da6-43a9-8e18-20b1f97491cc\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"8d6ef035-4ec9-46d5-9478-aac0f74db4f6\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"592b54c1-2919-4016-baab-ec6e1d5926ee\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fd54185f-9368-4702-abc2-d8060824baf0?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/47b5b043-9b9c-475a-a575-03ce857e73f8?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:50:45 GMT'] + date: ['Mon, 25 Feb 2019 18:20:07 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/fd54185f-9368-4702-abc2-d8060824baf0?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/47b5b043-9b9c-475a-a575-03ce857e73f8?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:03 GMT'] + date: ['Mon, 25 Feb 2019 18:20:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"79242319-bb74-4e95-a5c2-0ece7c977d1b\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"2c081d1d-059c-477d-9818-99960a978074\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"8d6ef035-4ec9-46d5-9478-aac0f74db4f6\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"592b54c1-2919-4016-baab-ec6e1d5926ee\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:04 GMT'] - etag: [W/"79242319-bb74-4e95-a5c2-0ece7c977d1b"] + date: ['Mon, 25 Feb 2019 18:20:12 GMT'] + etag: [W/"2c081d1d-059c-477d-9818-99960a978074"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"a0ba7ae0-a992-43e0-b97e-2809743f796c\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"cfa002cb-b366-43dd-8f6a-54617101617b\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"a0ba7ae0-a992-43e0-b97e-2809743f796c\\\"\"\ + ,\r\n \"etag\": \"W/\\\"cfa002cb-b366-43dd-8f6a-54617101617b\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,11 +167,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/50426098-3c3b-41d6-92af-00b93c40309d?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/59d65dcc-551c-4b86-81d8-d31d02655400?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:50:53 GMT'] + date: ['Mon, 25 Feb 2019 18:20:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/50426098-3c3b-41d6-92af-00b93c40309d?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/59d65dcc-551c-4b86-81d8-d31d02655400?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:05 GMT'] + date: ['Mon, 25 Feb 2019 18:20:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"1c24bfae-c7ea-442f-8d95-6bf62ea13410\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f1e8884d-98eb-4a91-8205-ec7c85d7840f\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"1c24bfae-c7ea-442f-8d95-6bf62ea13410\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:02 GMT'] - etag: [W/"1c24bfae-c7ea-442f-8d95-6bf62ea13410"] + date: ['Mon, 25 Feb 2019 18:20:18 GMT'] + etag: [W/"f1e8884d-98eb-4a91-8205-ec7c85d7840f"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,20 +262,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A51%3A04.4905065Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A20%3A23.2023771Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f06133dc-7dc5-41e0-9ef6-3b07b905112c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dc24e980-6d80-490b-9a56-f824150f4256?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:03 GMT'] - etag: [W/"datetime'2019-02-25T10%3A51%3A04.4905065Z'"] + date: ['Mon, 25 Feb 2019 18:20:23 GMT'] + etag: [W/"datetime'2019-02-25T18%3A20%3A23.2023771Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -290,14 +289,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f06133dc-7dc5-41e0-9ef6-3b07b905112c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dc24e980-6d80-490b-9a56-f824150f4256?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f06133dc-7dc5-41e0-9ef6-3b07b905112c","name":"f06133dc-7dc5-41e0-9ef6-3b07b905112c","status":"Succeeded","startTime":"2019-02-25T10:51:04.4360548Z","endTime":"2019-02-25T10:51:04.7173294Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dc24e980-6d80-490b-9a56-f824150f4256","name":"dc24e980-6d80-490b-9a56-f824150f4256","status":"Succeeded","startTime":"2019-02-25T18:20:23.066124Z","endTime":"2019-02-25T18:20:23.416531Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['574'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:47 GMT'] + date: ['Mon, 25 Feb 2019 18:20:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +319,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A51%3A04.7637006Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A20%3A23.4625615Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:42 GMT'] - etag: [W/"datetime'2019-02-25T10%3A51%3A04.7637006Z'"] + date: ['Mon, 25 Feb 2019 18:20:56 GMT'] + etag: [W/"datetime'2019-02-25T18%3A20%3A23.4625615Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,20 +352,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A51%3A46.1040628Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A21%3A00.5950253Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e015bb05-6edf-4647-ad5b-73c2f7ce6a4e?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/21cda98e-5a3b-4b3b-8aa5-949797dfa511?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:51:47 GMT'] - etag: [W/"datetime'2019-02-25T10%3A51%3A46.1040628Z'"] + date: ['Mon, 25 Feb 2019 18:21:00 GMT'] + etag: [W/"datetime'2019-02-25T18%3A21%3A00.5950253Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -380,14 +379,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e015bb05-6edf-4647-ad5b-73c2f7ce6a4e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/21cda98e-5a3b-4b3b-8aa5-949797dfa511?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e015bb05-6edf-4647-ad5b-73c2f7ce6a4e","name":"e015bb05-6edf-4647-ad5b-73c2f7ce6a4e","status":"Succeeded","startTime":"2019-02-25T10:51:46.0461475Z","endTime":"2019-02-25T10:51:46.4367693Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/21cda98e-5a3b-4b3b-8aa5-949797dfa511","name":"21cda98e-5a3b-4b3b-8aa5-949797dfa511","status":"Succeeded","startTime":"2019-02-25T18:21:00.5368727Z","endTime":"2019-02-25T18:21:01.177425Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:52:18 GMT'] + date: ['Mon, 25 Feb 2019 18:21:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +409,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A51%3A46.4863344Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2800cf56-5997-9805-c42e-b92ec430bed6","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A21%3A01.210462Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a82ed146-bbe3-573b-19d8-d5661d20dba4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] - content-length: ['675'] + content-length: ['674'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:52:19 GMT'] - etag: [W/"datetime'2019-02-25T10%3A51%3A46.4863344Z'"] + date: ['Mon, 25 Feb 2019 18:21:34 GMT'] + etag: [W/"datetime'2019-02-25T18%3A21%3A01.210462Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -446,14 +445,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A52%3A24.1711006Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A21%3A38.7643306Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:52:24 GMT'] - etag: [W/"datetime'2019-02-25T10%3A52%3A24.1711006Z'"] + date: ['Mon, 25 Feb 2019 18:21:39 GMT'] + etag: [W/"datetime'2019-02-25T18%3A21%3A38.7643306Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -474,43 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Creating","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:52:56 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Creating","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232","name":"a62fab96-8553-49fb-8ee4-12c3b9878232","status":"Creating","startTime":"2019-02-25T18:21:38.6939627Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:53:28 GMT'] + date: ['Mon, 25 Feb 2019 18:22:10 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,43 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Creating","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} - headers: - cache-control: [no-cache] - content-length: ['637'] - content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:54:07 GMT'] - expires: ['-1'] - pragma: [no-cache] - server: [Microsoft-IIS/10.0] - strict-transport-security: [max-age=31536000; includeSubDomains] - transfer-encoding: [chunked] - vary: [Accept-Encoding] - x-content-type-options: [nosniff] - x-powered-by: [ASP.NET] - status: {code: 200, message: OK} -- request: - body: null - headers: - Accept: [application/json] - Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] - Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name - -l --service-level --usage-threshold --creation-token --subnet-id --tags] - User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656?api-version=2017-08-15 - response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f68252cf-fd4e-47cc-9c28-224d72074656","name":"f68252cf-fd4e-47cc-9c28-224d72074656","status":"Succeeded","startTime":"2019-02-25T10:52:24.1124869Z","endTime":"2019-02-25T10:54:17.6139255Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232","name":"a62fab96-8553-49fb-8ee4-12c3b9878232","status":"Succeeded","startTime":"2019-02-25T18:21:38.6939627Z","endTime":"2019-02-25T18:22:15.8572337Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:54:37 GMT'] + date: ['Mon, 25 Feb 2019 18:22:42 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -592,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A54%3A17.639692Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_d032150e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"06845067-48a8-6755-a4c1-8b7328779006","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A22%3A15.8938884Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_228b3a66","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c9a4fa0a-b9c7-70e2-3a51-a7f904dc1e4e","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1625'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:54:53 GMT'] - etag: [W/"datetime'2019-02-25T10%3A54%3A17.639692Z'"] + date: ['Mon, 25 Feb 2019 18:22:43 GMT'] + etag: [W/"datetime'2019-02-25T18%3A22%3A15.8938884Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -622,12 +563,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A54%3A17.639692Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_d032150e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"06845067-48a8-6755-a4c1-8b7328779006","fileSystemId":"4e6cc786-6da6-8a41-f3ba-c888dda9f0d0","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A22%3A15.8938884Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_228b3a66","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c9a4fa0a-b9c7-70e2-3a51-a7f904dc1e4e","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} headers: cache-control: [no-cache] content-length: ['1637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:54:43 GMT'] + date: ['Mon, 25 Feb 2019 18:22:45 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -654,12 +595,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:54:54 GMT'] + date: ['Mon, 25 Feb 2019 18:22:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -678,14 +619,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac","name":"bdd4e88d-addf-4c15-be04-73c69be08eac","status":"Deleting","startTime":"2019-02-25T10:54:45.0367442Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9","name":"71ba9be2-1417-4e20-b85e-eae3bec8efc9","status":"Deleting","startTime":"2019-02-25T18:22:48.939241Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['637'] + content-length: ['636'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:55:22 GMT'] + date: ['Mon, 25 Feb 2019 18:23:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -706,14 +647,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bdd4e88d-addf-4c15-be04-73c69be08eac","name":"bdd4e88d-addf-4c15-be04-73c69be08eac","status":"Succeeded","startTime":"2019-02-25T10:54:45.0367442Z","endTime":"2019-02-25T10:55:35.0961232Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9","name":"71ba9be2-1417-4e20-b85e-eae3bec8efc9","status":"Succeeded","startTime":"2019-02-25T18:22:48.939241Z","endTime":"2019-02-25T18:23:44.7821227Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] - content-length: ['648'] + content-length: ['647'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:55:49 GMT'] + date: ['Mon, 25 Feb 2019 18:23:51 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -742,7 +683,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:55:51 GMT'] + date: ['Mon, 25 Feb 2019 18:23:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -771,9 +712,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:55:55 GMT'] + date: ['Mon, 25 Feb 2019 18:23:58 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUEk3TkxLTUdFT0xZRTRSSE1ZUkZPWlJOQUVKWVJRTnxBMjVCN0M1QTAzOEE5RUI3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNkJNMlNINEQ2VkhJT0NETjVOQ0RKNEJYUjUyTlNRV3xDOTU1MDg1Njc5QzlGM0NCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml index 44af09d3157..11a082bb994 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:56:15Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:25:03Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:56:15Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:25:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:20 GMT'] + date: ['Mon, 25 Feb 2019 18:25:10 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: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -47,21 +47,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"b691179f-0e6b-44a4-8cc2-9bcf0e91d183\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"a7a4b8ef-363d-44f7-8b00-cbdf2a0356cc\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"278fe9e1-9ee5-4396-bf7c-bf63137c3c3c\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"ca763692-09bf-47eb-87d6-66ed71f3f1bf\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/247f1c01-9687-4f78-bf41-e1d610d20025?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4f5be6ea-baba-4076-af31-68d6d2c380a2?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:25 GMT'] + date: ['Mon, 25 Feb 2019 18:25:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/247f1c01-9687-4f78-bf41-e1d610d20025?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4f5be6ea-baba-4076-af31-68d6d2c380a2?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:29 GMT'] + date: ['Mon, 25 Feb 2019 18:25:20 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"31bd69a8-2f82-48ad-9c49-ee66e9f65eb9\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f19d3916-b9eb-40d0-87fc-12e1ad7ad5bd\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"278fe9e1-9ee5-4396-bf7c-bf63137c3c3c\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"ca763692-09bf-47eb-87d6-66ed71f3f1bf\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:30 GMT'] - etag: [W/"31bd69a8-2f82-48ad-9c49-ee66e9f65eb9"] + date: ['Mon, 25 Feb 2019 18:25:21 GMT'] + etag: [W/"f19d3916-b9eb-40d0-87fc-12e1ad7ad5bd"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"a9800b34-9cb6-44ee-89c7-b690f58f5f7e\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"7e7b3c88-6bcb-472f-a1ef-bb8c56d22839\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"a9800b34-9cb6-44ee-89c7-b690f58f5f7e\\\"\"\ + ,\r\n \"etag\": \"W/\\\"7e7b3c88-6bcb-472f-a1ef-bb8c56d22839\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f68f00cf-0094-4348-ad19-6a5efb9b070f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/559638a7-daf5-451b-961d-4e1d1d3ea546?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:32 GMT'] + date: ['Mon, 25 Feb 2019 18:25:23 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f68f00cf-0094-4348-ad19-6a5efb9b070f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/559638a7-daf5-451b-961d-4e1d1d3ea546?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:36 GMT'] + date: ['Mon, 25 Feb 2019 18:25:27 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"3768347f-61a3-4663-ba43-c5b386113d1a\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"1f560c67-c188-4dc8-8c4c-c4f806452ae9\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"3768347f-61a3-4663-ba43-c5b386113d1a\\\"\"\ + ,\r\n \"etag\": \"W/\\\"1f560c67-c188-4dc8-8c4c-c4f806452ae9\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:36 GMT'] - etag: [W/"3768347f-61a3-4663-ba43-c5b386113d1a"] + date: ['Mon, 25 Feb 2019 18:25:27 GMT'] + etag: [W/"1f560c67-c188-4dc8-8c4c-c4f806452ae9"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -263,20 +263,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A56%3A41.4619803Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A25%3A32.7216917Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c86acddc-865e-4c36-85c5-c272635550d7?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b1686f9d-0f20-4711-8d0e-b0d92e4466ed?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:56:41 GMT'] - etag: [W/"datetime'2019-02-25T10%3A56%3A41.4619803Z'"] + date: ['Mon, 25 Feb 2019 18:25:33 GMT'] + etag: [W/"datetime'2019-02-25T18%3A25%3A32.7216917Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -290,14 +290,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c86acddc-865e-4c36-85c5-c272635550d7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b1686f9d-0f20-4711-8d0e-b0d92e4466ed?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c86acddc-865e-4c36-85c5-c272635550d7","name":"c86acddc-865e-4c36-85c5-c272635550d7","status":"Succeeded","startTime":"2019-02-25T10:56:41.4185112Z","endTime":"2019-02-25T10:56:41.684093Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b1686f9d-0f20-4711-8d0e-b0d92e4466ed","name":"b1686f9d-0f20-4711-8d0e-b0d92e4466ed","status":"Succeeded","startTime":"2019-02-25T18:25:32.674312Z","endTime":"2019-02-25T18:25:32.955572Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['574'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:57:20 GMT'] + date: ['Mon, 25 Feb 2019 18:26:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -320,13 +320,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A56%3A41.7321739Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A25%3A33.0018925Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:57:15 GMT'] - etag: [W/"datetime'2019-02-25T10%3A56%3A41.7321739Z'"] + date: ['Mon, 25 Feb 2019 18:26:05 GMT'] + etag: [W/"datetime'2019-02-25T18%3A25%3A33.0018925Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -353,20 +353,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A57%3A22.7295036Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A26%3A09.9603316Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/936d51ec-1523-45e9-81b1-dc5b737ec13d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f703a61e-6f53-4783-a071-64ee585054f7?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:57:22 GMT'] - etag: [W/"datetime'2019-02-25T10%3A57%3A22.7295036Z'"] + date: ['Mon, 25 Feb 2019 18:26:10 GMT'] + etag: [W/"datetime'2019-02-25T18%3A26%3A09.9603316Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -380,14 +380,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/936d51ec-1523-45e9-81b1-dc5b737ec13d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f703a61e-6f53-4783-a071-64ee585054f7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/936d51ec-1523-45e9-81b1-dc5b737ec13d","name":"936d51ec-1523-45e9-81b1-dc5b737ec13d","status":"Succeeded","startTime":"2019-02-25T10:57:22.6708803Z","endTime":"2019-02-25T10:57:23.1404501Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f703a61e-6f53-4783-a071-64ee585054f7","name":"f703a61e-6f53-4783-a071-64ee585054f7","status":"Succeeded","startTime":"2019-02-25T18:26:09.8699506Z","endTime":"2019-02-25T18:26:10.9012508Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:57:53 GMT'] + date: ['Mon, 25 Feb 2019 18:26:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -410,13 +410,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A57%3A23.1928357Z''\"","location":"westus2","properties":{"poolId":"9ffed657-7ee3-d5d0-a532-85f89f2554c9","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A26%3A10.9540407Z''\"","location":"westus2","properties":{"poolId":"642e8cc3-85cd-b89d-88cd-1c6526c8b37c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:58:08 GMT'] - etag: [W/"datetime'2019-02-25T10%3A57%3A23.1928357Z'"] + date: ['Mon, 25 Feb 2019 18:26:43 GMT'] + etag: [W/"datetime'2019-02-25T18%3A26%3A10.9540407Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -445,20 +445,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A58%3A05.0908117Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A26%3A47.8834615Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:58:08 GMT'] - etag: [W/"datetime'2019-02-25T10%3A58%3A05.0908117Z'"] + date: ['Mon, 25 Feb 2019 18:26:47 GMT'] + etag: [W/"datetime'2019-02-25T18%3A26%3A47.8834615Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -473,14 +473,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b","name":"face580e-59f8-4c03-b754-02804237034b","status":"Creating","startTime":"2019-02-25T10:58:04.9438567Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f","name":"d32f637c-6ee3-4af2-86e5-b8470d43107f","status":"Creating","startTime":"2019-02-25T18:26:47.8412012Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:58:36 GMT'] + date: ['Mon, 25 Feb 2019 18:27:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -502,14 +502,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/face580e-59f8-4c03-b754-02804237034b","name":"face580e-59f8-4c03-b754-02804237034b","status":"Succeeded","startTime":"2019-02-25T10:58:04.9438567Z","endTime":"2019-02-25T10:58:38.9535185Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f","name":"d32f637c-6ee3-4af2-86e5-b8470d43107f","status":"Succeeded","startTime":"2019-02-25T18:26:47.8412012Z","endTime":"2019-02-25T18:27:21.7399636Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:59:08 GMT'] + date: ['Mon, 25 Feb 2019 18:27:51 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -533,13 +533,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A58%3A38.9780521Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_291be34d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c4ff85a1-14cd-6de7-1fe0-5502799baa83","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A27%3A21.7636974Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_b46b1992","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e84058f4-c5a5-5369-69e7-7d1a06066469","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:59:10 GMT'] - etag: [W/"datetime'2019-02-25T10%3A58%3A38.9780521Z'"] + date: ['Mon, 25 Feb 2019 18:27:53 GMT'] + etag: [W/"datetime'2019-02-25T18%3A27%3A21.7636974Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -563,13 +563,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A58%3A38.9780521Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_291be34d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c4ff85a1-14cd-6de7-1fe0-5502799baa83","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A27%3A21.7636974Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_b46b1992","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e84058f4-c5a5-5369-69e7-7d1a06066469","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:59:12 GMT'] - etag: [W/"datetime'2019-02-25T10%3A58%3A38.9780521Z'"] + date: ['Mon, 25 Feb 2019 18:27:54 GMT'] + etag: [W/"datetime'2019-02-25T18%3A27%3A21.7636974Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -596,13 +596,13 @@ interactions: method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T10%3A59%3A19.3309208Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_291be34d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c4ff85a1-14cd-6de7-1fe0-5502799baa83","fileSystemId":"e22dd0f4-c6e3-1e05-dd1c-c1aae3130f56","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A28%3A01.7763218Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_b46b1992","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e84058f4-c5a5-5369-69e7-7d1a06066469","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: cache-control: [no-cache] content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:59:20 GMT'] - etag: [W/"datetime'2019-02-25T10%3A59%3A19.3309208Z'"] + date: ['Mon, 25 Feb 2019 18:28:02 GMT'] + etag: [W/"datetime'2019-02-25T18%3A28%3A01.7763218Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -632,9 +632,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:59:24 GMT'] + date: ['Mon, 25 Feb 2019 18:28:06 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUFdPNTVaS0VHNTRONDVRVjRTRFFBS1pMSTdQTUJSM3wzNkJBRERENkZBOTAxMEExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRkVJNDdYT01GQVBYWjVWS0pFNTdKUzRURzY2R05HTXw5RTFDQjI4REZCMjJFRDU5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py index dbc9f10ef2e..ec3eb12a884 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py @@ -26,7 +26,7 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/default" % (self.current_subscription(), rg, vnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name) + self.setup_vnet(rg, vnet_name) self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index 90e53646a9e..7a62a04884a 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -27,7 +27,7 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name, subnet_name) + self.setup_vnet(rg, vnet_name, subnet_name) self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index cdd28ae5908..0f4c5776f19 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -27,7 +27,7 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, vo subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) tag = "--tags '%s'" % tags if tags is not None else "" - self.setup_vnet('{rg}', vnet_name, subnet_name, '10.12.0.0') + self.setup_vnet(rg, vnet_name, subnet_name, '10.12.0.0') self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() @@ -37,7 +37,7 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, vo creation_token = volume_name2 subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) - self.setup_vnet('{rg}', vnet_name, subnet_name, '10.16.0.0') + self.setup_vnet(rg, vnet_name, subnet_name, '10.16.0.0') self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() return volume1 From c92c760eb7b7d91fdb83d780dd3826ab65396120 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 25 Feb 2019 20:51:53 +0000 Subject: [PATCH 12/15] Nfsaas 1708 initial cli extension (#13) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments --- src/anf-preview/azext_anf_preview/_params.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index ece7e56e1f9..e62cbf4e8ff 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -7,6 +7,9 @@ def load_arguments(self, _): + with self.argument_context('anf') as c: + c.argument('resource_group', options_list=['--resource-group', '-g'], required=True, help='The name of the resource group') + with self.argument_context('anf') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account') From e9d77d1e18152f044e111f56e14006b1beb1dc65 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 25 Feb 2019 21:17:24 +0000 Subject: [PATCH 13/15] Nfsaas 1708 initial cli extension (#14) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments --- .../test_ext_list_mount_targets.yaml | 128 +++++++++--------- 1 file changed, 64 insertions(+), 64 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml index 30c8fc29863..78e2d65c32f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:01:51Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T21:08:41Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:01:51Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T21:08:41Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:01:56 GMT'] + date: ['Mon, 25 Feb 2019 21:08:47 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -47,21 +47,21 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"23b7099a-8f4a-4632-a3e3-6573689134b0\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"97c5350e-000a-44e6-9c26-3bf913e253e7\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"6583d9dd-325a-42f6-9d6b-dace9415d291\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"50223e5e-1930-4137-a3bf-f602907d5b78\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/86d9e7ed-6e9c-4c80-83f5-56a99e9850a7?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/23ab69f1-ef07-4080-939c-7960d799b157?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['805'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:03 GMT'] + date: ['Mon, 25 Feb 2019 21:08:53 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -80,14 +80,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/86d9e7ed-6e9c-4c80-83f5-56a99e9850a7?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/23ab69f1-ef07-4080-939c-7960d799b157?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:06 GMT'] + date: ['Mon, 25 Feb 2019 21:08:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"d6b10d2c-b691-45ca-93b7-0aa99a3cb4cb\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"523a7296-9ff4-44fa-9e22-f76a700bbf64\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"6583d9dd-325a-42f6-9d6b-dace9415d291\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"50223e5e-1930-4137-a3bf-f602907d5b78\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:08 GMT'] - etag: [W/"d6b10d2c-b691-45ca-93b7-0aa99a3cb4cb"] + date: ['Mon, 25 Feb 2019 21:08:58 GMT'] + etag: [W/"523a7296-9ff4-44fa-9e22-f76a700bbf64"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -153,11 +153,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"57c3e34d-8ef4-46cc-b43d-c83d83377e38\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c46cee8e-12b9-42c7-aa74-ae55744de231\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"57c3e34d-8ef4-46cc-b43d-c83d83377e38\\\"\"\ + ,\r\n \"etag\": \"W/\\\"c46cee8e-12b9-42c7-aa74-ae55744de231\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,11 +166,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/996f847e-111e-4376-b45c-7d3625a2df8f?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bc4e6172-28d3-4510-9d42-4ae5e02bd841?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1274'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:09 GMT'] + date: ['Mon, 25 Feb 2019 21:08:59 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -189,14 +189,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/996f847e-111e-4376-b45c-7d3625a2df8f?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bc4e6172-28d3-4510-9d42-4ae5e02bd841?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:13 GMT'] + date: ['Mon, 25 Feb 2019 21:09:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -220,11 +220,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"6dff051c-aa83-46a8-9d18-fd7f2f5d685d\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"cd1951ad-e48b-42a6-b52f-5e8655295633\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"6dff051c-aa83-46a8-9d18-fd7f2f5d685d\\\"\"\ + ,\r\n \"etag\": \"W/\\\"cd1951ad-e48b-42a6-b52f-5e8655295633\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1275'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:14 GMT'] - etag: [W/"6dff051c-aa83-46a8-9d18-fd7f2f5d685d"] + date: ['Mon, 25 Feb 2019 21:09:04 GMT'] + etag: [W/"cd1951ad-e48b-42a6-b52f-5e8655295633"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -262,14 +262,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A02%3A18.9070162Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T21%3A09%3A09.1669344Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7cd29f8b-7515-4d57-957c-b03890acd041?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5373dd60-37f0-4922-9525-b5ea624fa3df?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['451'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:18 GMT'] - etag: [W/"datetime'2019-02-25T18%3A02%3A18.9070162Z'"] + date: ['Mon, 25 Feb 2019 21:09:09 GMT'] + etag: [W/"datetime'2019-02-25T21%3A09%3A09.1669344Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -289,14 +289,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7cd29f8b-7515-4d57-957c-b03890acd041?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5373dd60-37f0-4922-9525-b5ea624fa3df?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7cd29f8b-7515-4d57-957c-b03890acd041","name":"7cd29f8b-7515-4d57-957c-b03890acd041","status":"Succeeded","startTime":"2019-02-25T18:02:18.8537219Z","endTime":"2019-02-25T18:02:19.1349792Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5373dd60-37f0-4922-9525-b5ea624fa3df","name":"5373dd60-37f0-4922-9525-b5ea624fa3df","status":"Succeeded","startTime":"2019-02-25T21:09:09.1103709Z","endTime":"2019-02-25T21:09:09.4084643Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:51 GMT'] + date: ['Mon, 25 Feb 2019 21:09:40 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -319,13 +319,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A02%3A19.1832124Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T21%3A09%3A09.4541388Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:52 GMT'] - etag: [W/"datetime'2019-02-25T18%3A02%3A19.1832124Z'"] + date: ['Mon, 25 Feb 2019 21:09:42 GMT'] + etag: [W/"datetime'2019-02-25T21%3A09%3A09.4541388Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -352,20 +352,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A02%3A56.6157987Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T21%3A09%3A46.5474841Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ef112c34-5856-4b84-956a-bac627ceac8f?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a5ad7df-792b-4345-bb07-46b607b12c72?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:02:56 GMT'] - etag: [W/"datetime'2019-02-25T18%3A02%3A56.6157987Z'"] + date: ['Mon, 25 Feb 2019 21:09:46 GMT'] + etag: [W/"datetime'2019-02-25T21%3A09%3A46.5474841Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -379,14 +379,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ef112c34-5856-4b84-956a-bac627ceac8f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a5ad7df-792b-4345-bb07-46b607b12c72?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ef112c34-5856-4b84-956a-bac627ceac8f","name":"ef112c34-5856-4b84-956a-bac627ceac8f","status":"Succeeded","startTime":"2019-02-25T18:02:56.5434239Z","endTime":"2019-02-25T18:02:57.1996006Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a5ad7df-792b-4345-bb07-46b607b12c72","name":"8a5ad7df-792b-4345-bb07-46b607b12c72","status":"Succeeded","startTime":"2019-02-25T21:09:46.4600293Z","endTime":"2019-02-25T21:09:46.8905886Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:03:27 GMT'] + date: ['Mon, 25 Feb 2019 21:10:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -409,13 +409,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A02%3A57.2502493Z''\"","location":"westus2","properties":{"poolId":"b125b8ee-9ee9-b5df-c474-f2ce50bdec50","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T21%3A09%3A46.9447663Z''\"","location":"westus2","properties":{"poolId":"9e58c3f0-fe10-0317-05e3-ead4f608e3d9","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:03:28 GMT'] - etag: [W/"datetime'2019-02-25T18%3A02%3A57.2502493Z'"] + date: ['Mon, 25 Feb 2019 21:10:19 GMT'] + etag: [W/"datetime'2019-02-25T21%3A09%3A46.9447663Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -444,14 +444,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A03%3A33.5171299Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T21%3A10%3A24.6996296Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['901'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:03:33 GMT'] - etag: [W/"datetime'2019-02-25T18%3A03%3A33.5171299Z'"] + date: ['Mon, 25 Feb 2019 21:10:25 GMT'] + etag: [W/"datetime'2019-02-25T21%3A10%3A24.6996296Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -472,14 +472,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4","name":"3f6b2016-00b5-4e64-9ebd-fe945e855de4","status":"Creating","startTime":"2019-02-25T18:03:33.4010817Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58","name":"f7dcda0a-ba63-4485-bb4e-9c921d44db58","status":"Creating","startTime":"2019-02-25T21:10:24.6497002Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:04:04 GMT'] + date: ['Mon, 25 Feb 2019 21:10:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -501,14 +501,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3f6b2016-00b5-4e64-9ebd-fe945e855de4","name":"3f6b2016-00b5-4e64-9ebd-fe945e855de4","status":"Succeeded","startTime":"2019-02-25T18:03:33.4010817Z","endTime":"2019-02-25T18:04:13.4951936Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58","name":"f7dcda0a-ba63-4485-bb4e-9c921d44db58","status":"Succeeded","startTime":"2019-02-25T21:10:24.6497002Z","endTime":"2019-02-25T21:11:12.2504788Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: cache-control: [no-cache] content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:04:36 GMT'] + date: ['Mon, 25 Feb 2019 21:11:28 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -532,13 +532,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A04%3A13.525752Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ec3b8b08-ea4e-49f4-329e-b00476281617","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_6980ea3c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","fileSystemId":"ec3b8b08-ea4e-49f4-329e-b00476281617","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T21%3A11%3A12.2756684Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"39007b90-247a-ad4f-f6e5-bb43aa47d359","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_353ee3cb","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0a920eec-79a9-ceea-14b9-48e9b250a123","fileSystemId":"39007b90-247a-ad4f-f6e5-bb43aa47d359","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} headers: cache-control: [no-cache] - content-length: ['1587'] + content-length: ['1588'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:04:38 GMT'] - etag: [W/"datetime'2019-02-25T18%3A04%3A13.525752Z'"] + date: ['Mon, 25 Feb 2019 21:11:29 GMT'] + etag: [W/"datetime'2019-02-25T21%3A11%3A12.2756684Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -562,12 +562,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"b21bfc19-4e07-c14c-9a8b-ea1ca8bb2669","fileSystemId":"ec3b8b08-ea4e-49f4-329e-b00476281617","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/0a920eec-79a9-ceea-14b9-48e9b250a123","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/0a920eec-79a9-ceea-14b9-48e9b250a123","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"0a920eec-79a9-ceea-14b9-48e9b250a123","fileSystemId":"39007b90-247a-ad4f-f6e5-bb43aa47d359","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} headers: cache-control: [no-cache] content-length: ['836'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:04:40 GMT'] + date: ['Mon, 25 Feb 2019 21:11:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -596,9 +596,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:04:45 GMT'] + date: ['Mon, 25 Feb 2019 21:11:36 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdFNFFUVDNCREVMU1Q2SFk2NUhBRldYQ0xYWU5XVTdLR0xKNHw0MTc3RjRGOEMwNzJDMzU4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdNNUVCUDJPSzJBWVZYUkRWSlVLRkFWM1BDQU5MN0FVU0hQTXw0OEQ4N0I3Rjk3MUNBREZFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] From 8ab79e322cd3b4d8b081aa2bb9c6afdcf2ce2552 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Mon, 25 Feb 2019 21:35:50 +0000 Subject: [PATCH 14/15] Nfsaas 1708 initial cli extension (#16) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments From 9be88a3fe80a3cb0a33eb16f6304e30335536a84 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Thu, 28 Feb 2019 11:11:30 +0000 Subject: [PATCH 15/15] Nfsaas 1708 initial cli extension (#17) * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments * NFSAAS-1708 updates from review comments --- src/anf-preview/azext_anf_preview/_params.py | 5 + .../test_ext_create_delete_account.yaml | 98 +++++++------- .../test_ext_create_delete_pool.yaml | 116 ++++++++-------- .../test_ext_get_account_by_name_ext.yaml | 50 +++---- .../recordings/test_ext_get_pool_by_name.yaml | 70 +++++----- .../test_ext_list_accounts_ext.yaml | 98 +++++++------- .../recordings/test_ext_list_pools.yaml | 126 +++++++++--------- .../test_ext_update_account_ext.yaml | 48 +++---- .../recordings/test_ext_update_pool.yaml | 70 +++++----- .../tests/latest/test_account_commands_ext.py | 6 +- .../tests/latest/test_pool_commands_ext.py | 6 +- .../latest/test_snapshot_commands_ext.py | 6 +- .../tests/latest/test_volume_commands_ext.py | 6 +- 13 files changed, 355 insertions(+), 350 deletions(-) diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/anf-preview/azext_anf_preview/_params.py index e62cbf4e8ff..4f10198153b 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/anf-preview/azext_anf_preview/_params.py @@ -4,6 +4,7 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long +from azure.cli.core.commands.parameters import resource_group_name_type def load_arguments(self, _): @@ -56,3 +57,7 @@ def load_arguments(self, _): with self.argument_context('anf') as c: c.argument('tag', options_list=['--tags'], required=False, help='A list of space separated tags to apply to the account') + + # incompatible naming of resource_group in the swagger - including this to provide its associated feature set until it is updated + with self.argument_context('anf') as c: + c.argument('resource_group', arg_type=resource_group_name_type) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml index 7c1b5f599cc..dbefe229f51 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:44:25Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:35:11Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:44:25Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:35:11Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:44:34 GMT'] + date: ['Thu, 28 Feb 2019 08:35:17 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1", "Tag2": @@ -45,20 +45,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A44%3A37.4687781Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A35%3A23.2520595Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff52757f-c70e-4f25-b211-dca086a71a9f?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/eda78768-f636-415e-94bc-4ddb9bc0b068?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:44:48 GMT'] - etag: [W/"datetime'2019-02-25T09%3A44%3A37.4687781Z'"] + date: ['Thu, 28 Feb 2019 08:35:25 GMT'] + etag: [W/"datetime'2019-02-28T08%3A35%3A23.2520595Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -72,14 +72,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff52757f-c70e-4f25-b211-dca086a71a9f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/eda78768-f636-415e-94bc-4ddb9bc0b068?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff52757f-c70e-4f25-b211-dca086a71a9f","name":"ff52757f-c70e-4f25-b211-dca086a71a9f","status":"Succeeded","startTime":"2019-02-25T09:44:37.3806231Z","endTime":"2019-02-25T09:44:37.6986511Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/eda78768-f636-415e-94bc-4ddb9bc0b068","name":"eda78768-f636-415e-94bc-4ddb9bc0b068","status":"Succeeded","startTime":"2019-02-28T08:35:23.182011Z","endTime":"2019-02-28T08:35:23.508401Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['574'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:45:12 GMT'] + date: ['Thu, 28 Feb 2019 08:35:57 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -102,13 +102,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A44%3A37.7429724Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A35%3A23.5422659Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:45:18 GMT'] - etag: [W/"datetime'2019-02-25T09%3A44%3A37.7429724Z'"] + date: ['Thu, 28 Feb 2019 08:35:59 GMT'] + etag: [W/"datetime'2019-02-28T08%3A35%3A23.5422659Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -132,12 +132,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A44%3A37.7429724Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A35%3A23.5422659Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:45:32 GMT'] + date: ['Thu, 28 Feb 2019 08:36:30 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -164,12 +164,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:45:22 GMT'] + date: ['Thu, 28 Feb 2019 08:36:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -188,14 +188,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/157cd573-b18a-49ee-bd7b-ed25adc126c6","name":"157cd573-b18a-49ee-bd7b-ed25adc126c6","status":"Succeeded","startTime":"2019-02-25T09:45:21.2676037Z","endTime":"2019-02-25T09:45:21.3612898Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc","name":"fcd20a96-5232-44ad-885e-f4b14bd87bfc","status":"Succeeded","startTime":"2019-02-28T08:36:06.5430702Z","endTime":"2019-02-28T08:36:06.6211628Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:45:52 GMT'] + date: ['Thu, 28 Feb 2019 08:36:49 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -224,7 +224,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:45:58 GMT'] + date: ['Thu, 28 Feb 2019 08:36:39 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -248,20 +248,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A46%3A02.1379144Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A36%3A46.0397691Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb8087fc-face-4e6a-a06f-97b31de12930?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6d39b40-84f4-49e9-9b68-3fc3c1148cbb?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:46:01 GMT'] - etag: [W/"datetime'2019-02-25T09%3A46%3A02.1379144Z'"] + date: ['Thu, 28 Feb 2019 08:36:46 GMT'] + etag: [W/"datetime'2019-02-28T08%3A36%3A46.0397691Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -275,14 +275,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb8087fc-face-4e6a-a06f-97b31de12930?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6d39b40-84f4-49e9-9b68-3fc3c1148cbb?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb8087fc-face-4e6a-a06f-97b31de12930","name":"fb8087fc-face-4e6a-a06f-97b31de12930","status":"Succeeded","startTime":"2019-02-25T09:46:02.0724694Z","endTime":"2019-02-25T09:46:02.3693327Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6d39b40-84f4-49e9-9b68-3fc3c1148cbb","name":"c6d39b40-84f4-49e9-9b68-3fc3c1148cbb","status":"Succeeded","startTime":"2019-02-28T08:36:45.95675Z","endTime":"2019-02-28T08:36:46.2830427Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['574'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:46:34 GMT'] + date: ['Thu, 28 Feb 2019 08:37:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -305,13 +305,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A46%3A02.4201157Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A36%3A46.3229695Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['494'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:46:35 GMT'] - etag: [W/"datetime'2019-02-25T09%3A46%3A02.4201157Z'"] + date: ['Thu, 28 Feb 2019 08:37:18 GMT'] + etag: [W/"datetime'2019-02-28T08%3A36%3A46.3229695Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -335,12 +335,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A46%3A02.4201157Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A36%3A46.3229695Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} headers: cache-control: [no-cache] content-length: ['506'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:46:38 GMT'] + date: ['Thu, 28 Feb 2019 08:37:22 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -367,17 +367,17 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:46:41 GMT'] + date: ['Thu, 28 Feb 2019 08:37:30 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -391,14 +391,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d7dfc8f2-0ce8-40c9-b078-517925c88c87","name":"d7dfc8f2-0ce8-40c9-b078-517925c88c87","status":"Succeeded","startTime":"2019-02-25T09:46:41.4880515Z","endTime":"2019-02-25T09:46:41.9413517Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe","name":"65e566a9-f8ec-48cf-8517-3548a66842fe","status":"Succeeded","startTime":"2019-02-28T08:37:27.4067158Z","endTime":"2019-02-28T08:37:27.5628598Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:47:12 GMT'] + date: ['Thu, 28 Feb 2019 08:37:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -427,7 +427,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:47:13 GMT'] + date: ['Thu, 28 Feb 2019 08:37:58 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -453,9 +453,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:47:18 GMT'] + date: ['Thu, 28 Feb 2019 08:38:04 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQ0dCUEhMWjM0TkpYRDJTTUs0NDZWSElYTU5US1ZYQXw3RTk2MjgzNzI3NjMyODFDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHREZXQkg0U1ROVlpXWERGRUVHRk5SMkRUTFlGQUk3TXwwRTM0OEVFOUUxMTUyMkEwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml index f7b27945fa7..45f8f5c0f54 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:53:50Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T09:32:03Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:53:50Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T09:32:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:53:54 GMT'] + date: ['Thu, 28 Feb 2019 09:32:39 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -44,20 +44,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A53%3A59.0481637Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A32%3A15.8719063Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3eca049c-2332-4c9e-b8a0-b8f30577586f?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ad3192ab-3a2b-4be5-81e8-44763ef1b440?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:53:59 GMT'] - etag: [W/"datetime'2019-02-25T09%3A53%3A59.0481637Z'"] + date: ['Thu, 28 Feb 2019 09:32:17 GMT'] + etag: [W/"datetime'2019-02-28T09%3A32%3A15.8719063Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3eca049c-2332-4c9e-b8a0-b8f30577586f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ad3192ab-3a2b-4be5-81e8-44763ef1b440?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3eca049c-2332-4c9e-b8a0-b8f30577586f","name":"3eca049c-2332-4c9e-b8a0-b8f30577586f","status":"Succeeded","startTime":"2019-02-25T09:53:58.9445496Z","endTime":"2019-02-25T09:53:59.2726684Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ad3192ab-3a2b-4be5-81e8-44763ef1b440","name":"ad3192ab-3a2b-4be5-81e8-44763ef1b440","status":"Succeeded","startTime":"2019-02-28T09:32:15.8184867Z","endTime":"2019-02-28T09:32:16.1152417Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:54:31 GMT'] + date: ['Thu, 28 Feb 2019 09:32:48 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A53%3A59.3173549Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A32%3A16.1571074Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:54:32 GMT'] - etag: [W/"datetime'2019-02-25T09%3A53%3A59.3173549Z'"] + date: ['Thu, 28 Feb 2019 09:33:07 GMT'] + etag: [W/"datetime'2019-02-28T09%3A32%3A16.1571074Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -135,14 +135,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A54%3A36.5179507Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A32%3A56.8139465Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a8db45d-7600-48ca-be40-4180c0014a7d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/def82213-738d-45c1-aaee-92bc85774dbe?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:54:36 GMT'] - etag: [W/"datetime'2019-02-25T09%3A54%3A36.5179507Z'"] + date: ['Thu, 28 Feb 2019 09:33:12 GMT'] + etag: [W/"datetime'2019-02-28T09%3A32%3A56.8139465Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -163,14 +163,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a8db45d-7600-48ca-be40-4180c0014a7d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/def82213-738d-45c1-aaee-92bc85774dbe?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a8db45d-7600-48ca-be40-4180c0014a7d","name":"8a8db45d-7600-48ca-be40-4180c0014a7d","status":"Succeeded","startTime":"2019-02-25T09:54:36.460036Z","endTime":"2019-02-25T09:54:36.8819512Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/def82213-738d-45c1-aaee-92bc85774dbe","name":"def82213-738d-45c1-aaee-92bc85774dbe","status":"Succeeded","startTime":"2019-02-28T09:32:56.7503905Z","endTime":"2019-02-28T09:32:57.2660737Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:55:12 GMT'] + date: ['Thu, 28 Feb 2019 09:33:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -194,13 +194,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A54%3A36.9252426Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"152a0b24-d074-ed91-d6d9-1548156740a2","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A32%3A57.3002928Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"78be7485-5c9e-5ced-5635-9d543253ce03","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:55:15 GMT'] - etag: [W/"datetime'2019-02-25T09%3A54%3A36.9252426Z'"] + date: ['Thu, 28 Feb 2019 09:33:32 GMT'] + etag: [W/"datetime'2019-02-28T09%3A32%3A57.3002928Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -224,12 +224,12 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A54%3A36.9252426Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"152a0b24-d074-ed91-d6d9-1548156740a2","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A32%3A57.3002928Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"78be7485-5c9e-5ced-5635-9d543253ce03","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] content-length: ['703'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:55:16 GMT'] + date: ['Thu, 28 Feb 2019 09:33:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -256,12 +256,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:55:18 GMT'] + date: ['Thu, 28 Feb 2019 09:33:38 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -280,14 +280,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/107007ad-0bfd-4eda-900c-72ba82112ea5","name":"107007ad-0bfd-4eda-900c-72ba82112ea5","status":"Succeeded","startTime":"2019-02-25T09:55:19.1726892Z","endTime":"2019-02-25T09:55:22.532112Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a","name":"2b603983-8b86-4eb2-9a05-9a3cc02ac05a","status":"Succeeded","startTime":"2019-02-28T09:33:39.3666427Z","endTime":"2019-02-28T09:33:42.9690047Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:55:53 GMT'] + date: ['Thu, 28 Feb 2019 09:34:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -316,7 +316,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:55:52 GMT'] + date: ['Thu, 28 Feb 2019 09:34:12 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -343,20 +343,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A55%3A58.3104282Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A34%3A19.3544568Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/81ad42f5-815e-4b1d-b7a4-e67737673336?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9c7e3ea5-7317-43f1-9c1d-c9af75f69755?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:56:04 GMT'] - etag: [W/"datetime'2019-02-25T09%3A55%3A58.3104282Z'"] + date: ['Thu, 28 Feb 2019 09:34:22 GMT'] + etag: [W/"datetime'2019-02-28T09%3A34%3A19.3544568Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -370,14 +370,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/81ad42f5-815e-4b1d-b7a4-e67737673336?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9c7e3ea5-7317-43f1-9c1d-c9af75f69755?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/81ad42f5-815e-4b1d-b7a4-e67737673336","name":"81ad42f5-815e-4b1d-b7a4-e67737673336","status":"Succeeded","startTime":"2019-02-25T09:55:58.2539699Z","endTime":"2019-02-25T09:55:58.6601849Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9c7e3ea5-7317-43f1-9c1d-c9af75f69755","name":"9c7e3ea5-7317-43f1-9c1d-c9af75f69755","status":"Succeeded","startTime":"2019-02-28T09:34:19.1351036Z","endTime":"2019-02-28T09:34:19.6351165Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:56:41 GMT'] + date: ['Thu, 28 Feb 2019 09:35:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -400,13 +400,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A55%3A58.7107147Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"c5fdf966-54f4-71a5-e5f2-eded3bd59e9c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A34%3A19.6696801Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"124fdf7c-7e2e-d08b-89c3-4036902d3936","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['691'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:56:43 GMT'] - etag: [W/"datetime'2019-02-25T09%3A55%3A58.7107147Z'"] + date: ['Thu, 28 Feb 2019 09:34:55 GMT'] + etag: [W/"datetime'2019-02-28T09%3A34%3A19.6696801Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -433,12 +433,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:56:42 GMT'] + date: ['Thu, 28 Feb 2019 09:35:11 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -457,14 +457,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94c53461-bf23-42f9-a815-7f596bd9d2b4","name":"94c53461-bf23-42f9-a815-7f596bd9d2b4","status":"Succeeded","startTime":"2019-02-25T09:56:37.8092326Z","endTime":"2019-02-25T09:56:41.12564Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949","name":"a3857123-f537-45d7-a967-0466fc26b949","status":"Succeeded","startTime":"2019-02-28T09:34:59.7584047Z","endTime":"2019-02-28T09:35:03.2303059Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] - content-length: ['613'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:57:20 GMT'] + date: ['Thu, 28 Feb 2019 09:35:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -493,7 +493,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:57:12 GMT'] + date: ['Thu, 28 Feb 2019 09:35:35 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -522,12 +522,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:57:29 GMT'] + date: ['Thu, 28 Feb 2019 09:35:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHU1BCM1c2TDQ2T1RIS09WVVROVU5aTDdUM09FT0dKUHwxQkQwNjlEMTIxRjU1QTVELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSVY2UkNYTzJQTjZRU0FMUDJUU0pXRlRHS0Q1NVdTSXwxRUFFN0YxRTI2NDE0Q0E4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml index 2ef07bfcd6f..78c91146d0e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:47:18Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:38:06Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:47:18Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:38:06Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:47:21 GMT'] + date: ['Thu, 28 Feb 2019 08:38:07 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -44,20 +44,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.0475122Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.4441664Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/96f58db6-21d0-45f7-b9be-4c97178a2aec?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:47:26 GMT'] - etag: [W/"datetime'2019-02-25T09%3A47%3A26.0475122Z'"] + date: ['Thu, 28 Feb 2019 08:38:17 GMT'] + etag: [W/"datetime'2019-02-28T08%3A38%3A15.4441664Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/96f58db6-21d0-45f7-b9be-4c97178a2aec?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba","name":"2010dc85-4be5-4f5b-8cdb-7df2bb54d8ba","status":"Succeeded","startTime":"2019-02-25T09:47:25.8883093Z","endTime":"2019-02-25T09:47:26.284462Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/96f58db6-21d0-45f7-b9be-4c97178a2aec","name":"96f58db6-21d0-45f7-b9be-4c97178a2aec","status":"Succeeded","startTime":"2019-02-28T08:38:15.3241736Z","endTime":"2019-02-28T08:38:15.6837322Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:47:57 GMT'] + date: ['Thu, 28 Feb 2019 08:38:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.3347162Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.7243652Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:47:58 GMT'] - etag: [W/"datetime'2019-02-25T09%3A47%3A26.3347162Z'"] + date: ['Thu, 28 Feb 2019 08:38:48 GMT'] + etag: [W/"datetime'2019-02-28T08%3A38%3A15.7243652Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -131,13 +131,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.3347162Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.7243652Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:01 GMT'] - etag: [W/"datetime'2019-02-25T09%3A47%3A26.3347162Z'"] + date: ['Thu, 28 Feb 2019 08:38:51 GMT'] + etag: [W/"datetime'2019-02-28T08%3A38%3A15.7243652Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -154,20 +154,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account show] Connection: [keep-alive] - ParameterSetName: [--resource-group --ids] + ParameterSetName: [--ids] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A47%3A26.3347162Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.7243652Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:03 GMT'] - etag: [W/"datetime'2019-02-25T09%3A47%3A26.3347162Z'"] + date: ['Thu, 28 Feb 2019 08:38:53 GMT'] + etag: [W/"datetime'2019-02-28T08%3A38%3A15.7243652Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -196,9 +196,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:48:07 GMT'] + date: ['Thu, 28 Feb 2019 08:38:57 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVjRaUlEzWDZRTE1aNDNMRlZNSVJWVVFDU1hJRVQ0UXxFNkI3OUEyNTFFM0ZDREExLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHMlI2QUtOTDRESzdRN0s0RllCNFFFQkhDUk4yUkhWRXwyMjM4Mjc3MTk2MTcxQUUyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml index 9d5fe471bb4..55b6a594c87 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:57:19Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T09:35:43Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:57:19Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T09:35:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:57:28 GMT'] + date: ['Thu, 28 Feb 2019 09:35:44 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: !!python/unicode '{"location": "westus2"}' @@ -44,20 +44,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A57%3A28.8281449Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A35%3A52.7286703Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e2a9cb3b-1866-418a-a693-0a5d8a926c0d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e565952f-b20f-4b9a-85a0-683d000a30b2?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:57:32 GMT'] - etag: [W/"datetime'2019-02-25T09%3A57%3A28.8281449Z'"] + date: ['Thu, 28 Feb 2019 09:35:53 GMT'] + etag: [W/"datetime'2019-02-28T09%3A35%3A52.7286703Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e2a9cb3b-1866-418a-a693-0a5d8a926c0d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e565952f-b20f-4b9a-85a0-683d000a30b2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e2a9cb3b-1866-418a-a693-0a5d8a926c0d","name":"e2a9cb3b-1866-418a-a693-0a5d8a926c0d","status":"Succeeded","startTime":"2019-02-25T09:57:28.6244635Z","endTime":"2019-02-25T09:57:29.1244899Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e565952f-b20f-4b9a-85a0-683d000a30b2","name":"e565952f-b20f-4b9a-85a0-683d000a30b2","status":"Succeeded","startTime":"2019-02-28T09:35:52.6605761Z","endTime":"2019-02-28T09:35:52.9597367Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:00 GMT'] + date: ['Thu, 28 Feb 2019 09:36:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A57%3A29.3285035Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A35%3A53.0018625Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:02 GMT'] - etag: [W/"datetime'2019-02-25T09%3A57%3A29.3285035Z'"] + date: ['Thu, 28 Feb 2019 09:36:32 GMT'] + etag: [W/"datetime'2019-02-28T09%3A35%3A53.0018625Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -134,14 +134,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A06.652188Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.2561174Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1326fd61-7cc4-4f59-8524-cecf4e0fdbf4?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8752ac07-9f00-48b6-af34-8dc04f145500?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:07 GMT'] - etag: [W/"datetime'2019-02-25T09%3A58%3A06.652188Z'"] + date: ['Thu, 28 Feb 2019 09:36:46 GMT'] + etag: [W/"datetime'2019-02-28T09%3A36%3A34.2561174Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1326fd61-7cc4-4f59-8524-cecf4e0fdbf4?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8752ac07-9f00-48b6-af34-8dc04f145500?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1326fd61-7cc4-4f59-8524-cecf4e0fdbf4","name":"1326fd61-7cc4-4f59-8524-cecf4e0fdbf4","status":"Succeeded","startTime":"2019-02-25T09:58:06.5864002Z","endTime":"2019-02-25T09:58:07.0082179Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8752ac07-9f00-48b6-af34-8dc04f145500","name":"8752ac07-9f00-48b6-af34-8dc04f145500","status":"Succeeded","startTime":"2019-02-28T09:36:34.2000642Z","endTime":"2019-02-28T09:36:34.6531755Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:37 GMT'] + date: ['Thu, 28 Feb 2019 09:37:06 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -191,13 +191,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A07.0644831Z''\"","location":"westus2","properties":{"poolId":"364eea87-29e3-f7e0-daf3-152e3160b194","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.6924273Z''\"","location":"westus2","properties":{"poolId":"901e52f0-b6c6-59ca-c24b-f54fade7c68e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:38 GMT'] - etag: [W/"datetime'2019-02-25T09%3A58%3A07.0644831Z'"] + date: ['Thu, 28 Feb 2019 09:37:21 GMT'] + etag: [W/"datetime'2019-02-28T09%3A36%3A34.6924273Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -221,13 +221,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A07.0644831Z''\"","location":"westus2","properties":{"poolId":"364eea87-29e3-f7e0-daf3-152e3160b194","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.6924273Z''\"","location":"westus2","properties":{"poolId":"901e52f0-b6c6-59ca-c24b-f54fade7c68e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:41 GMT'] - etag: [W/"datetime'2019-02-25T09%3A58%3A07.0644831Z'"] + date: ['Thu, 28 Feb 2019 09:37:29 GMT'] + etag: [W/"datetime'2019-02-28T09%3A36%3A34.6924273Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -244,20 +244,20 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool show] Connection: [keep-alive] - ParameterSetName: [--resource-group --ids] + ParameterSetName: [--ids] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A58%3A07.0644831Z''\"","location":"westus2","properties":{"poolId":"364eea87-29e3-f7e0-daf3-152e3160b194","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.6924273Z''\"","location":"westus2","properties":{"poolId":"901e52f0-b6c6-59ca-c24b-f54fade7c68e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:43 GMT'] - etag: [W/"datetime'2019-02-25T09%3A58%3A07.0644831Z'"] + date: ['Thu, 28 Feb 2019 09:37:26 GMT'] + etag: [W/"datetime'2019-02-28T09%3A36%3A34.6924273Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -286,9 +286,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:58:47 GMT'] + date: ['Thu, 28 Feb 2019 09:37:20 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNlRORVNNWldOWUZYTUdMWEU1Q1FNQVA1UDJSTUYySXw0OERCMjk4QTNBNTUzOEU2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNk9FMlRCSkJRSlhaVzYyT1c2N0E3UEpJNFhYQzUzRnw0RUI5MzczREZDNkZFNjM5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml index 4d2f1b7c35f..9fd7be6a812 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:48:08Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:38:57Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:48:08Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:38:57Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:10 GMT'] + date: ['Thu, 28 Feb 2019 08:39:01 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -44,14 +44,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A14.7611109Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A05.479645Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a4139f07-5021-46fb-9723-bfc0e9ba7015?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['477'] + content-length: ['476'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:14 GMT'] - etag: [W/"datetime'2019-02-25T09%3A48%3A14.7611109Z'"] + date: ['Thu, 28 Feb 2019 08:39:05 GMT'] + etag: [W/"datetime'2019-02-28T08%3A39%3A05.479645Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a4139f07-5021-46fb-9723-bfc0e9ba7015?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd","name":"6e0a082c-dc95-4f6b-93dc-aeba1ccd40bd","status":"Succeeded","startTime":"2019-02-25T09:48:14.6963505Z","endTime":"2019-02-25T09:48:14.9932288Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a4139f07-5021-46fb-9723-bfc0e9ba7015","name":"a4139f07-5021-46fb-9723-bfc0e9ba7015","status":"Succeeded","startTime":"2019-02-28T08:39:05.4289715Z","endTime":"2019-02-28T08:39:05.7173751Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:46 GMT'] + date: ['Thu, 28 Feb 2019 08:39:36 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A15.0453132Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A05.7588435Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:47 GMT'] - etag: [W/"datetime'2019-02-25T09%3A48%3A15.0453132Z'"] + date: ['Thu, 28 Feb 2019 08:39:36 GMT'] + etag: [W/"datetime'2019-02-28T08%3A39%3A05.7588435Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -133,14 +133,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A53.351605Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A42.0886066Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94a1de1a-b195-4775-9869-2cdf01402012?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb6acde8-20e1-41a5-9f0b-f2fe62fea096?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['476'] + content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:48:53 GMT'] - etag: [W/"datetime'2019-02-25T09%3A48%3A53.351605Z'"] + date: ['Thu, 28 Feb 2019 08:39:42 GMT'] + etag: [W/"datetime'2019-02-28T08%3A39%3A42.0886066Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -160,14 +160,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94a1de1a-b195-4775-9869-2cdf01402012?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb6acde8-20e1-41a5-9f0b-f2fe62fea096?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/94a1de1a-b195-4775-9869-2cdf01402012","name":"94a1de1a-b195-4775-9869-2cdf01402012","status":"Succeeded","startTime":"2019-02-25T09:48:53.2571367Z","endTime":"2019-02-25T09:48:53.5697184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb6acde8-20e1-41a5-9f0b-f2fe62fea096","name":"bb6acde8-20e1-41a5-9f0b-f2fe62fea096","status":"Succeeded","startTime":"2019-02-28T08:39:42.0292748Z","endTime":"2019-02-28T08:39:42.3335072Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:49:25 GMT'] + date: ['Thu, 28 Feb 2019 08:40:13 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -190,13 +190,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A53.6358091Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A42.3788126Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:49:26 GMT'] - etag: [W/"datetime'2019-02-25T09%3A48%3A53.6358091Z'"] + date: ['Thu, 28 Feb 2019 08:40:17 GMT'] + etag: [W/"datetime'2019-02-28T08%3A39%3A42.3788126Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -213,19 +213,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account list] Connection: [keep-alive] - ParameterSetName: [--resource-group] + ParameterSetName: [-g] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A53.6358091Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A48%3A15.0453132Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A05.7588435Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A42.3788126Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}]}'} headers: cache-control: [no-cache] content-length: ['969'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:49:29 GMT'] + date: ['Thu, 28 Feb 2019 08:40:18 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -243,7 +243,7 @@ interactions: CommandName: [anf account delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [--resource-group -a] + ParameterSetName: [-g -a] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -252,12 +252,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:49:32 GMT'] + date: ['Thu, 28 Feb 2019 08:40:52 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -272,18 +272,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account delete] Connection: [keep-alive] - ParameterSetName: [--resource-group -a] + ParameterSetName: [-g -a] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c95b357b-3ace-4cfa-9dbd-5ff7e47c220c","name":"c95b357b-3ace-4cfa-9dbd-5ff7e47c220c","status":"Succeeded","startTime":"2019-02-25T09:49:32.3916024Z","endTime":"2019-02-25T09:49:32.4696999Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1","name":"1731d6f4-613c-436e-b1f6-75a8d4d7a8e1","status":"Succeeded","startTime":"2019-02-28T08:40:24.8062632Z","endTime":"2019-02-28T08:40:24.9000409Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:50:04 GMT'] + date: ['Thu, 28 Feb 2019 08:40:54 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -301,7 +301,7 @@ interactions: CommandName: [anf account delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [--resource-group -a] + ParameterSetName: [-g -a] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -310,17 +310,17 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:50:06 GMT'] + date: ['Thu, 28 Feb 2019 08:41:11 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -330,18 +330,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf account delete] Connection: [keep-alive] - ParameterSetName: [--resource-group -a] + ParameterSetName: [-g -a] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6943fcb5-8dbc-4feb-aa00-d4bac004ce7d","name":"6943fcb5-8dbc-4feb-aa00-d4bac004ce7d","status":"Succeeded","startTime":"2019-02-25T09:50:07.1573991Z","endTime":"2019-02-25T09:50:07.219929Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6","name":"b3cfd8db-9dc6-432e-b576-550a211a94b6","status":"Succeeded","startTime":"2019-02-28T08:41:00.2482359Z","endTime":"2019-02-28T08:41:00.4357437Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} headers: cache-control: [no-cache] - content-length: ['575'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:50:49 GMT'] + date: ['Thu, 28 Feb 2019 08:41:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -370,7 +370,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:50:42 GMT'] + date: ['Thu, 28 Feb 2019 08:41:32 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -396,9 +396,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:50:46 GMT'] + date: ['Thu, 28 Feb 2019 08:41:36 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNDRRRU9ZR0ZSSFYzQk1RNVE1SFQ0TTNPQU5KS0pQR3xCMTg1RDlDNTYyMzYwM0YxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSkZKVUdLMllXWkE3N1BZREFYNlFUS1o2S0I1Nk5ZMnxDMzQ4RjQ5M0YzMEI4QzI0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml index cb19c3a996b..6a95242b69c 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:58:48Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T09:37:21Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:58:48Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T09:37:21Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:50 GMT'] + date: ['Thu, 28 Feb 2019 09:37:22 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: ['1195'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -44,20 +44,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A58%3A54.6124182Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A37%3A30.3498945Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3379e616-e0d1-4cb1-8fa0-78e1c57cada3?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/67d86e44-bb09-44f9-8f5d-f360e89918af?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:58:54 GMT'] - etag: [W/"datetime'2019-02-25T09%3A58%3A54.6124182Z'"] + date: ['Thu, 28 Feb 2019 09:37:32 GMT'] + etag: [W/"datetime'2019-02-28T09%3A37%3A30.3498945Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3379e616-e0d1-4cb1-8fa0-78e1c57cada3?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/67d86e44-bb09-44f9-8f5d-f360e89918af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3379e616-e0d1-4cb1-8fa0-78e1c57cada3","name":"3379e616-e0d1-4cb1-8fa0-78e1c57cada3","status":"Succeeded","startTime":"2019-02-25T09:58:54.5542514Z","endTime":"2019-02-25T09:58:54.8355159Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/67d86e44-bb09-44f9-8f5d-f360e89918af","name":"67d86e44-bb09-44f9-8f5d-f360e89918af","status":"Succeeded","startTime":"2019-02-28T09:37:30.1611814Z","endTime":"2019-02-28T09:37:30.5961328Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:59:29 GMT'] + date: ['Thu, 28 Feb 2019 09:38:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A58%3A54.8866126Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A37%3A30.6350961Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:59:40 GMT'] - etag: [W/"datetime'2019-02-25T09%3A58%3A54.8866126Z'"] + date: ['Thu, 28 Feb 2019 09:38:04 GMT'] + etag: [W/"datetime'2019-02-28T09%3A37%3A30.6350961Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -134,20 +134,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A59%3A36.5221849Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A08.783151Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dc46b5-2a74-461c-bcb6-af676f5cc3d0?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/15166365-fd63-473d-a636-88a0e953bb25?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['567'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:59:39 GMT'] - etag: [W/"datetime'2019-02-25T09%3A59%3A36.5221849Z'"] + date: ['Thu, 28 Feb 2019 09:38:12 GMT'] + etag: [W/"datetime'2019-02-28T09%3A38%3A08.783151Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dc46b5-2a74-461c-bcb6-af676f5cc3d0?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/15166365-fd63-473d-a636-88a0e953bb25?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dc46b5-2a74-461c-bcb6-af676f5cc3d0","name":"f7dc46b5-2a74-461c-bcb6-af676f5cc3d0","status":"Succeeded","startTime":"2019-02-25T09:59:36.4404785Z","endTime":"2019-02-25T09:59:36.8935682Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/15166365-fd63-473d-a636-88a0e953bb25","name":"15166365-fd63-473d-a636-88a0e953bb25","status":"Succeeded","startTime":"2019-02-28T09:38:08.7389358Z","endTime":"2019-02-28T09:38:09.1225861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:00:11 GMT'] + date: ['Thu, 28 Feb 2019 09:38:45 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -191,13 +191,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A59%3A36.9374799Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2e8e53c9-7b00-c77d-81b0-debbe3fc4581","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A09.1594163Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f8ebf3b0-18c9-18d0-252f-ddd66dcc68e0","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:00:10 GMT'] - etag: [W/"datetime'2019-02-25T09%3A59%3A36.9374799Z'"] + date: ['Thu, 28 Feb 2019 09:38:44 GMT'] + etag: [W/"datetime'2019-02-28T09%3A38%3A09.1594163Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -224,14 +224,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A00%3A17.5173015Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A51.2322503Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db9bd374-d4a0-49e1-9ba3-18888fabe3fb?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3d4e84d5-78b7-4309-9f62-f51ca114e0f6?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:00:21 GMT'] - etag: [W/"datetime'2019-02-25T10%3A00%3A17.5173015Z'"] + date: ['Thu, 28 Feb 2019 09:38:51 GMT'] + etag: [W/"datetime'2019-02-28T09%3A38%3A51.2322503Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -251,14 +251,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db9bd374-d4a0-49e1-9ba3-18888fabe3fb?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3d4e84d5-78b7-4309-9f62-f51ca114e0f6?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db9bd374-d4a0-49e1-9ba3-18888fabe3fb","name":"db9bd374-d4a0-49e1-9ba3-18888fabe3fb","status":"Succeeded","startTime":"2019-02-25T10:00:17.4689969Z","endTime":"2019-02-25T10:00:18.031524Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3d4e84d5-78b7-4309-9f62-f51ca114e0f6","name":"3d4e84d5-78b7-4309-9f62-f51ca114e0f6","status":"Succeeded","startTime":"2019-02-28T09:38:51.1908651Z","endTime":"2019-02-28T09:38:51.6143048Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] - content-length: ['614'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:00:49 GMT'] + date: ['Thu, 28 Feb 2019 09:39:26 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -281,13 +281,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A00%3A18.0827031Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0d9c73b-b442-1e5a-b963-258da09cd272","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A51.6495445Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"c6970a0a-5b02-042d-2f29-0e59dc731e97","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:01:03 GMT'] - etag: [W/"datetime'2019-02-25T10%3A00%3A18.0827031Z'"] + date: ['Thu, 28 Feb 2019 09:39:38 GMT'] + etag: [W/"datetime'2019-02-28T09%3A38%3A51.6495445Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -304,19 +304,19 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool list] Connection: [keep-alive] - ParameterSetName: [--resource-group -a] + ParameterSetName: [-g -a] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A00%3A18.0827031Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a0d9c73b-b442-1e5a-b963-258da09cd272","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T09%3A59%3A36.9374799Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"2e8e53c9-7b00-c77d-81b0-debbe3fc4581","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A09.1594163Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f8ebf3b0-18c9-18d0-252f-ddd66dcc68e0","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A51.6495445Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"c6970a0a-5b02-042d-2f29-0e59dc731e97","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} headers: cache-control: [no-cache] content-length: ['1363'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:00:54 GMT'] + date: ['Thu, 28 Feb 2019 09:39:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -334,7 +334,7 @@ interactions: CommandName: [anf pool delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [--resource-group -a -p] + ParameterSetName: [-g -a -p] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -343,12 +343,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:01:03 GMT'] + date: ['Thu, 28 Feb 2019 09:39:36 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -363,18 +363,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool delete] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p] + ParameterSetName: [-g -a -p] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/66249d72-d039-45ae-9af9-8dd53443fcd3","name":"66249d72-d039-45ae-9af9-8dd53443fcd3","status":"Succeeded","startTime":"2019-02-25T10:01:00.1349706Z","endTime":"2019-02-25T10:01:03.4960715Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26","name":"1fdc1e12-1c13-46ab-8c61-6d584f8f5a26","status":"Succeeded","startTime":"2019-02-28T09:39:33.8755426Z","endTime":"2019-02-28T09:39:37.109861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} headers: cache-control: [no-cache] - content-length: ['615'] + content-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:01:31 GMT'] + date: ['Thu, 28 Feb 2019 09:40:16 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -392,7 +392,7 @@ interactions: CommandName: [anf pool delete] Connection: [keep-alive] Content-Length: ['0'] - ParameterSetName: [--resource-group -a -p] + ParameterSetName: [-g -a -p] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -401,12 +401,12 @@ interactions: response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:01:34 GMT'] + date: ['Thu, 28 Feb 2019 09:40:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -421,18 +421,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [anf pool delete] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p] + ParameterSetName: [-g -a -p] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f","name":"ea4bd8e8-07c2-4f55-bc37-4dd03ac6032f","status":"Succeeded","startTime":"2019-02-25T10:01:34.79491Z","endTime":"2019-02-25T10:01:38.2280348Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8","name":"28186a4d-7e8a-427a-b051-e6682cdf2ac8","status":"Succeeded","startTime":"2019-02-28T09:40:09.2021947Z","endTime":"2019-02-28T09:40:12.3234206Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} headers: cache-control: [no-cache] - content-length: ['613'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:02:06 GMT'] + date: ['Thu, 28 Feb 2019 09:40:39 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -461,7 +461,7 @@ interactions: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:02:07 GMT'] + date: ['Thu, 28 Feb 2019 09:40:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -490,12 +490,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:02:12 GMT'] + date: ['Thu, 28 Feb 2019 09:41:02 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVUUzTTdLWERCQUVMQzM2Mkw3WEkzTzM0MkRINlY0UHwzOEE3MzM1M0RGQTUwREUzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVE5NWVFUSktYT1RNT1BLVEwzWExZQzZLNzUyM1JLRHwzRUU5MDY0OEQzQUYwQjc0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml index c5b547cb543..2b5f2f17051 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T09:50:47Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:41:36Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T09:50:47Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:41:36Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:50:49 GMT'] + date: ['Thu, 28 Feb 2019 08:41: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: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' @@ -44,14 +44,14 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A50%3A56.4646243Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A41%3A44.6205052Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f27aff38-3a50-4334-9009-db28b9298de2?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e782c69c-97d7-4ec2-8ecb-a57e16cf01e6?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:50:56 GMT'] - etag: [W/"datetime'2019-02-25T09%3A50%3A56.4646243Z'"] + date: ['Thu, 28 Feb 2019 08:41:44 GMT'] + etag: [W/"datetime'2019-02-28T08%3A41%3A44.6205052Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f27aff38-3a50-4334-9009-db28b9298de2?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e782c69c-97d7-4ec2-8ecb-a57e16cf01e6?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f27aff38-3a50-4334-9009-db28b9298de2","name":"f27aff38-3a50-4334-9009-db28b9298de2","status":"Succeeded","startTime":"2019-02-25T09:50:56.4241044Z","endTime":"2019-02-25T09:50:56.6897053Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e782c69c-97d7-4ec2-8ecb-a57e16cf01e6","name":"e782c69c-97d7-4ec2-8ecb-a57e16cf01e6","status":"Succeeded","startTime":"2019-02-28T08:41:44.5497543Z","endTime":"2019-02-28T08:41:44.862287Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} headers: cache-control: [no-cache] - content-length: ['576'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:51:35 GMT'] + date: ['Thu, 28 Feb 2019 08:42:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A50%3A56.7368198Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A41%3A44.9077094Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:51:47 GMT'] - etag: [W/"datetime'2019-02-25T09%3A50%3A56.7368198Z'"] + date: ['Thu, 28 Feb 2019 08:42:16 GMT'] + etag: [W/"datetime'2019-02-28T08%3A41%3A44.9077094Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -131,13 +131,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A50%3A56.7368198Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A41%3A44.9077094Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:51:36 GMT'] - etag: [W/"datetime'2019-02-25T09%3A50%3A56.7368198Z'"] + date: ['Thu, 28 Feb 2019 08:42:19 GMT'] + etag: [W/"datetime'2019-02-28T08%3A41%3A44.9077094Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -163,13 +163,13 @@ interactions: method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T09%3A51%3A39.7775947Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A42%3A21.1152954Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} headers: cache-control: [no-cache] content-length: ['478'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 09:51:50 GMT'] - etag: [W/"datetime'2019-02-25T09%3A51%3A39.7775947Z'"] + date: ['Thu, 28 Feb 2019 08:42:22 GMT'] + etag: [W/"datetime'2019-02-28T08%3A42%3A21.1152954Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -199,12 +199,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 09:51:48 GMT'] + date: ['Thu, 28 Feb 2019 08:42:26 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRU00N0VPRjdSQURBNTVYTzdIQ0w1N0RTUjZSWDZKQ3w2N0U2NEFGRDZCQ0IxQ0QyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRTJCTTZXSkhWNFFFQTJFUzQ2NFRLTlpTNzdQT0ZRWHw2Q0REMzIzMjhEMTNDNTVFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml index d4405dcb372..1346fa47b4f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml +++ b/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T10:05:37Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T10:01:07Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T10:05:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T10:01:07Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:05:42 GMT'] + date: ['Thu, 28 Feb 2019 10:01:24 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -44,20 +44,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A05%3A46.763733Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T10%3A01%3A19.6665526Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ced30a26-2b27-4b9b-b364-e3258dc972db?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ab0873ff-ab7f-43fe-9401-13ebf0846bf1?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['451'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:05:46 GMT'] - etag: [W/"datetime'2019-02-25T10%3A05%3A46.763733Z'"] + date: ['Thu, 28 Feb 2019 10:01:23 GMT'] + etag: [W/"datetime'2019-02-28T10%3A01%3A19.6665526Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -71,14 +71,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ced30a26-2b27-4b9b-b364-e3258dc972db?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ab0873ff-ab7f-43fe-9401-13ebf0846bf1?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ced30a26-2b27-4b9b-b364-e3258dc972db","name":"ced30a26-2b27-4b9b-b364-e3258dc972db","status":"Succeeded","startTime":"2019-02-25T10:05:46.6799828Z","endTime":"2019-02-25T10:05:47.0081757Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ab0873ff-ab7f-43fe-9401-13ebf0846bf1","name":"ab0873ff-ab7f-43fe-9401-13ebf0846bf1","status":"Succeeded","startTime":"2019-02-28T10:01:19.6157575Z","endTime":"2019-02-28T10:01:19.9062319Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:06:18 GMT'] + date: ['Thu, 28 Feb 2019 10:02:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -101,13 +101,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T10%3A05%3A47.0569432Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T10%3A01%3A19.9517574Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: cache-control: [no-cache] content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:06:20 GMT'] - etag: [W/"datetime'2019-02-25T10%3A05%3A47.0569432Z'"] + date: ['Thu, 28 Feb 2019 10:01:59 GMT'] + etag: [W/"datetime'2019-02-28T10%3A01%3A19.9517574Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -134,20 +134,20 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A06%3A24.1714901Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A01.9910073Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/14a91ec9-d317-4603-a609-734319aa2e65?api-version=2017-08-15'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/485a2f74-5b61-46ae-9462-83bd82d3d84e?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:06:24 GMT'] - etag: [W/"datetime'2019-02-25T10%3A06%3A24.1714901Z'"] + date: ['Thu, 28 Feb 2019 10:02:00 GMT'] + etag: [W/"datetime'2019-02-28T10%3A02%3A01.9910073Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -161,14 +161,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/14a91ec9-d317-4603-a609-734319aa2e65?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/485a2f74-5b61-46ae-9462-83bd82d3d84e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/14a91ec9-d317-4603-a609-734319aa2e65","name":"14a91ec9-d317-4603-a609-734319aa2e65","status":"Succeeded","startTime":"2019-02-25T10:06:24.1047522Z","endTime":"2019-02-25T10:06:24.6360085Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/485a2f74-5b61-46ae-9462-83bd82d3d84e","name":"485a2f74-5b61-46ae-9462-83bd82d3d84e","status":"Succeeded","startTime":"2019-02-28T10:02:01.9235313Z","endTime":"2019-02-28T10:02:02.3419383Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} headers: cache-control: [no-cache] content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:06:56 GMT'] + date: ['Thu, 28 Feb 2019 10:02:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -191,13 +191,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A06%3A24.6868599Z''\"","location":"westus2","properties":{"poolId":"f4dce9de-fa7d-889f-cacf-e869aec317fa","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A02.3942999Z''\"","location":"westus2","properties":{"poolId":"ee926ac0-d1ed-f662-391c-9199a24513b5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:06:56 GMT'] - etag: [W/"datetime'2019-02-25T10%3A06%3A24.6868599Z'"] + date: ['Thu, 28 Feb 2019 10:02:36 GMT'] + etag: [W/"datetime'2019-02-28T10%3A02%3A02.3942999Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -221,13 +221,13 @@ interactions: method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A06%3A24.6868599Z''\"","location":"westus2","properties":{"poolId":"f4dce9de-fa7d-889f-cacf-e869aec317fa","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A02.3942999Z''\"","location":"westus2","properties":{"poolId":"ee926ac0-d1ed-f662-391c-9199a24513b5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:06:59 GMT'] - etag: [W/"datetime'2019-02-25T10%3A06%3A24.6868599Z'"] + date: ['Thu, 28 Feb 2019 10:02:38 GMT'] + etag: [W/"datetime'2019-02-28T10%3A02%3A02.3942999Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -254,13 +254,13 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T10%3A07%3A02.4908988Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f4dce9de-fa7d-889f-cacf-e869aec317fa","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A42.6562713Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"ee926ac0-d1ed-f662-391c-9199a24513b5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['676'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 10:07:03 GMT'] - etag: [W/"datetime'2019-02-25T10%3A07%3A02.4908988Z'"] + date: ['Thu, 28 Feb 2019 10:02:43 GMT'] + etag: [W/"datetime'2019-02-28T10%3A02%3A42.6562713Z'"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-IIS/10.0] @@ -290,12 +290,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 10:07:07 GMT'] + date: ['Thu, 28 Feb 2019 10:02:48 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQUU0TVBRS0tNQzY3SERJVzQ3REJQTDM0QUhHREFGSXwwQzBCMUZEODdDMzVENjdGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVDNMTjVFTU5JTkpaUE9TT0RRM1hWQ0hQQk5XSTdRVnw3MkI4RDczQkZGMkY5RjVGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14998'] + x-ms-ratelimit-remaining-subscription-deletes: ['14999'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py index 4ef935d9aac..89bbaab6ecc 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py @@ -45,11 +45,11 @@ def test_ext_list_accounts_ext(self): for account_name in accounts: self.cmd("az anf account create -g {rg} -a %s -l 'westus2' --tags 'Tag1=Value1'" % account_name).get_output_in_json() - account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() + account_list = self.cmd("anf account list -g {rg}").get_output_in_json() assert len(account_list) == 2 for account_name in accounts: - self.cmd("az anf account delete --resource-group {rg} -a %s" % account_name) + self.cmd("az anf account delete -g {rg} -a %s" % account_name) account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() assert len(account_list) == 0 @@ -60,7 +60,7 @@ def test_ext_get_account_by_name_ext(self): account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() account = self.cmd("az anf account show --resource-group {rg} -a %s" % account_name).get_output_in_json() assert account['name'] == account_name - account_from_id = self.cmd("az anf account show --resource-group {rg} --ids %s" % account['id']).get_output_in_json() + account_from_id = self.cmd("az anf account show --ids %s" % account['id']).get_output_in_json() assert account_from_id['name'] == account_name @ResourceGroupPreparer(name_prefix='cli_tests_rg') diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py index 6fabfd5f2f7..ec7a3583512 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py @@ -49,11 +49,11 @@ def test_ext_list_pools(self): for pool_name in pools: self.cmd("az anf pool create -g {rg} -a '%s' -p '%s' -l 'westus2' %s --tags 'Tag1=Value1'" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() - pool_list = self.cmd("anf pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json() + pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() assert len(pool_list) == 2 for pool_name in pools: - self.cmd("az anf pool delete --resource-group {rg} -a %s -p %s" % (account_name, pool_name)) + self.cmd("az anf pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) pool_list = self.cmd("anf pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json() assert len(pool_list) == 0 @@ -66,7 +66,7 @@ def test_ext_get_pool_by_name(self): pool = self.cmd("az anf pool show --resource-group {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() assert pool['name'] == account_name + '/' + pool_name - pool_from_id = self.cmd("az anf pool show --resource-group {rg} --ids %s" % pool['id']).get_output_in_json() + pool_from_id = self.cmd("az anf pool show --ids %s" % pool['id']).get_output_in_json() assert pool_from_id['name'] == account_name + '/' + pool_name @ResourceGroupPreparer(name_prefix='cli_tests_rg') diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py index 7a62a04884a..f056d8e0597 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py @@ -60,7 +60,7 @@ def test_ext_list_snapshots(self): self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() - snapshot_list = self.cmd("az anf snapshot list --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + snapshot_list = self.cmd("az anf snapshot list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert len(snapshot_list) == 2 @ResourceGroupPreparer() @@ -72,8 +72,8 @@ def test_ext_get_snapshot(self): volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() - snapshot = self.cmd("az anf snapshot show --resource-group {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() + snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name - snapshot_from_id = self.cmd("az anf snapshot show --resource-group {rg} --ids %s" % snapshot['id']).get_output_in_json() + snapshot_from_id = self.cmd("az anf snapshot show --ids %s" % snapshot['id']).get_output_in_json() assert snapshot_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py index 0f4c5776f19..f51b95e139d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py @@ -72,8 +72,8 @@ def test_ext_list_volumes(self): volume_list = self.cmd("anf volume list --resource-group {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 1 - self.cmd("az anf volume delete --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) - volume_list = self.cmd("anf volume list --resource-group {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) + volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() assert len(volume_list) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -90,7 +90,7 @@ def test_ext_get_volume_by_name(self): assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name assert volume['tags']['Tag2'] == 'Value1' - volume_from_id = self.cmd("az anf volume show --resource-group {rg} --ids %s" % volume['id']).get_output_in_json() + volume_from_id = self.cmd("az anf volume show --ids %s" % volume['id']).get_output_in_json() assert volume_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name @ResourceGroupPreparer(name_prefix='cli_tests_rg')