From f6108b110100fbc360d01548d497b00298d4b204 Mon Sep 17 00:00:00 2001 From: Leonard Francis Date: Tue, 9 Jul 2019 20:25:53 +0000 Subject: [PATCH] NFSAAS-2316 update to R4 RP standard (#30) (#9744) * NFSAAS-2316 update to R4 RP standard (#30) * NFSAAS-2316 update to R4 RP standard (#31) * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 update to R4 RP standard * NFSAAS 2316 R4 update path correction (#32) * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 correction to path in R4 update * NFSAAS-2316 R4 update and structure change (#33) * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 correction to path in R4 update * NFSAAS-2316 R4 update and structure change * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * NFSAAS 2316 R4 update remove wheel (#34) * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 update to R4 RP standard * NFSAAS-2316 correction to path in R4 update * NFSAAS-2316 R4 update and structure change * NFSAAS-2316 update to R4 remove wheel * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * This file should have been removed in the PR #33 * NFSAAS-2316 R4 update packaging fixes (#35) * NFSAAS 2316 R4 update review comments (#36) * NFSAAS-2316 R4 update packaging fixes * NFSAAS-2316 update R4 review comments Use enum for service level * NFSAAS 2316 R4 corrections to booleans (#37) * NFSAAS-2316 R4 update packaging fixes * NFSAAS-2316 update R4 review comments Use enum for service level * NFSAAS-2316 correction to boolean usage * NFSAAS-2316 update history (#38) * NFSAAS-2316 R4 update packaging fixes * NFSAAS-2316 update R4 review comments Use enum for service level * NFSAAS-2316 correction to boolean usage * NFSAAS-2316 update history * NFSAAS-2316 R4 fixes (#39) * NFSAAS-2316 R4 update packaging fixes * NFSAAS-2316 update R4 review comments Use enum for service level * NFSAAS-2316 correction to boolean usage * NFSAAS-2316 update history * NFSAAS-2316 further fixes to R4 commands * NFSAAS-2316 R4 Fixes (#40) * NFSAAS-2316 R4 update packaging fixes * NFSAAS-2316 update R4 review comments Use enum for service level * NFSAAS-2316 correction to boolean usage * NFSAAS-2316 update history * NFSAAS-2316 further fixes to R4 commands * NFSAAS-2316 R4 fixes --- doc/sphinx/azhelpgen/doc_source_map.json | 5 +- .../azure/cli/core/profiles/_shared.py | 1 + src/azure-cli/HISTORY.rst | 10 +- .../command_modules/netappfiles/__init__.py | 32 + .../netappfiles/_client_factory.py | 32 + .../netappfiles/_exception_handler.py | 19 + .../cli/command_modules/netappfiles/_help.py | 499 +++ .../command_modules/netappfiles/_params.py | 71 + .../command_modules/netappfiles/commands.py | 142 + .../cli/command_modules/netappfiles/custom.py | 150 + .../netappfiles/tests/__init__.py | 4 + .../netappfiles/tests/latest/__init__.py | 4 + .../recordings/test_active_directory.yaml | 568 ++++ .../test_create_delete_account.yaml | 859 +++++ .../recordings/test_create_delete_pool.yaml | 993 ++++++ .../test_create_delete_snapshots.yaml | 2090 ++++++++++++ .../test_create_delete_volumes.yaml | 2782 ++++++++++++++++ .../test_create_pool_string_size.yaml | 268 ++ .../test_create_pool_too_small.yaml | 268 ++ .../latest/recordings/test_export_policy.yaml | 2083 ++++++++++++ .../recordings/test_get_account_by_name.yaml | 382 +++ .../recordings/test_get_pool_by_name.yaml | 552 ++++ .../latest/recordings/test_get_snapshot.yaml | 1443 ++++++++ .../recordings/test_get_volume_by_name.yaml | 1443 ++++++++ .../latest/recordings/test_list_accounts.yaml | 757 +++++ .../recordings/test_list_mount_targets.yaml | 1384 ++++++++ .../latest/recordings/test_list_pools.yaml | 938 ++++++ .../recordings/test_list_snapshots.yaml | 1771 ++++++++++ .../latest/recordings/test_list_volumes.yaml | 2912 +++++++++++++++++ .../recordings/test_update_account.yaml | 388 +++ .../latest/recordings/test_update_pool.yaml | 559 ++++ .../latest/recordings/test_update_volume.yaml | 1449 ++++++++ .../tests/latest/test_account_commands.py | 106 + .../latest/test_mount_target_commands.py | 45 + .../tests/latest/test_pool_commands.py | 112 + .../tests/latest/test_snapshot_commands.py | 84 + .../tests/latest/test_volume_commands.py | 148 + src/azure-cli/setup.py | 1 + 38 files changed, 25349 insertions(+), 5 deletions(-) create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/_client_factory.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/_exception_handler.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/_help.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/_params.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/custom.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/__init__.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_active_directory.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_account.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_pool.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_snapshots.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_volumes.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_string_size.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_too_small.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_export_policy.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_account_by_name.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_pool_by_name.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_snapshot.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_volume_by_name.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_accounts.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_mount_targets.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_pools.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_snapshots.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_volumes.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_account.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_pool.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_volume.yaml create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_account_commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_mount_target_commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_pool_commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py create mode 100644 src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py diff --git a/doc/sphinx/azhelpgen/doc_source_map.json b/doc/sphinx/azhelpgen/doc_source_map.json index 2656903bb89..9249a360391 100644 --- a/doc/sphinx/azhelpgen/doc_source_map.json +++ b/doc/sphinx/azhelpgen/doc_source_map.json @@ -9,7 +9,7 @@ "acr": "src/azure-cli/azure/cli/command_modules/acr/_help.py", "acs": "src/azure-cli/azure/cli/command_modules/acs/_help.py", "advisor": "src/azure-cli/azure/cli/command_modules/advisor/_help.py", - "ams": "src/azure-cli/azure/cli/command_modules/ams/_help.py", + "ams": "src/azure-cli/azure/cli/command_modules/ams/_help.py", "appservice": "src/azure-cli/azure/cli/command_modules/appservice/_help.py", "batch": "src/azure-cli/azure/cli/command_modules/batch/_help.py", "batchai": "src/azure-cli/azure/cli/command_modules/batchai/_help.py", @@ -35,7 +35,7 @@ "iot": "src/azure-cli/azure/cli/command_modules/iot/_help.py", "iotcentral": "src/azure-cli/azure/cli/command_modules/iotcentral/_help.py", "keyvault": "src/azure-cli/azure/cli/command_modules/keyvault/_help.py", - "kusto": "src/azure-cli/azure/cli/command_modules/kusto/_help.py", + "kusto": "src/azure-cli/azure/cli/command_modules/kusto/_help.py", "lab": "src/azure-cli/azure/cli/command_modules/lab/_help.py", "maps": "src/azure-cli/azure/cli/command_modules/maps/_help.py", "monitor": "src/azure-cli/azure/cli/command_modules/monitor/_help.py", @@ -68,5 +68,6 @@ "deployment": "src/azure-cli/azure/cli/command_modules/resource/_help.py", "functionapp": "src/azure-cli/azure/cli/command_modules/appservice/_help.py", "lock": "src/azure-cli/azure/cli/command_modules/resource/_help.py", + "netappfiles": "src/azure-cli/azure/cli/command_modules/netappfiles/_help.py", "managedservices": "src/azure-cli/azure/cli/command_modules/managedservices/_help.py" } diff --git a/src/azure-cli-core/azure/cli/core/profiles/_shared.py b/src/azure-cli-core/azure/cli/core/profiles/_shared.py index 161b1d31f3b..1660bcddb95 100644 --- a/src/azure-cli-core/azure/cli/core/profiles/_shared.py +++ b/src/azure-cli-core/azure/cli/core/profiles/_shared.py @@ -85,6 +85,7 @@ class ResourceType(Enum): # pylint: disable=too-few-public-methods MGMT_SQL = ('azure.mgmt.sql', None) MGMT_SQLVM = ('azure.mgmt.sqlvirtualmachine', None) MGMT_MANAGEDSERVICES = ('azure.mgmt.managedservices', None) + MGMT_NETAPPFILES = ('azure.mgmt.netappfiles', None) def __init__(self, import_prefix, client_name): """Constructor. diff --git a/src/azure-cli/HISTORY.rst b/src/azure-cli/HISTORY.rst index 4db8b5cbc91..a86244d26de 100644 --- a/src/azure-cli/HISTORY.rst +++ b/src/azure-cli/HISTORY.rst @@ -57,8 +57,8 @@ Release History **HDInsight** * BREAKING CHANGE: Changed "oms" command group name to "monitor" -* BREAKING CHANGE: Made "--http-password/-p" a required parameter -* Added completers for "--cluster-admin-account" and "cluster-users-group-dns" parameters completer +* BREAKING CHANGE: Made "--http-password/-p" a required parameter +* Added completers for "--cluster-admin-account" and "cluster-users-group-dns" parameters completer * "cluster-users-group-dns" parameter is now required when "—esp" is present * Added a timeout for all existing argument auto-completers * Added a timeout for transforming resource name to resource id @@ -69,6 +69,10 @@ Release History * Introducing managed service command module in preview. +**NetAppFiles** + +* Initial version relating to the R4 version of the RP. + **Profile** * Suppress `--subscription` argument for logout command. @@ -78,7 +82,7 @@ Release History * role assignment: expose --assignee-principal-type from create command to avoid intermittent failures caused by AAD graph server replication latency * ad signed-in-user: fix a crash on listing owned objects -* ad sp: use the right approach to find the application from a service principal +* ad sp: use the right approach to find the application from a service principal **RDBMS** diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/__init__.py b/src/azure-cli/azure/cli/command_modules/netappfiles/__init__.py new file mode 100644 index 00000000000..04f3d5cd67c --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/__init__.py @@ -0,0 +1,32 @@ +# -------------------------------------------------------------------------------------------- +# 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 azure.cli.core.profiles import ResourceType +from azure.cli.command_modules.netappfiles._help import helps # pylint: disable=unused-import + + +class NetAppFilesCommandsLoader(AzCommandsLoader): + + def __init__(self, cli_ctx=None): + from azure.cli.core.commands import CliCommandType + netappfiles_custom = CliCommandType(operations_tmpl='azure.cli.command_modules.netappfiles.custom#{}') + super(NetAppFilesCommandsLoader, self).__init__(cli_ctx=cli_ctx, + resource_type=ResourceType.MGMT_NETAPPFILES, + custom_command_type=netappfiles_custom) + + def load_command_table(self, args): + super(NetAppFilesCommandsLoader, self).load_command_table(args) + from azure.cli.command_modules.netappfiles.commands import load_command_table + load_command_table(self, args) + return self.command_table + + def load_arguments(self, command): + super(NetAppFilesCommandsLoader, self).load_arguments(command) + from azure.cli.command_modules.netappfiles._params import load_arguments + load_arguments(self, command) + + +COMMAND_LOADER_CLS = NetAppFilesCommandsLoader diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_client_factory.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_client_factory.py new file mode 100644 index 00000000000..7bd0744b1f7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_client_factory.py @@ -0,0 +1,32 @@ +# -------------------------------------------------------------------------------------------- +# 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_netappfiles(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_netappfiles(cli_ctx).accounts + + +def pools_mgmt_client_factory(cli_ctx, _): + return cf_netappfiles(cli_ctx).pools + + +def volumes_mgmt_client_factory(cli_ctx, _): + return cf_netappfiles(cli_ctx).volumes + + +def mount_targets_mgmt_client_factory(cli_ctx, _): + return cf_netappfiles(cli_ctx).mount_targets + + +def snapshots_mgmt_client_factory(cli_ctx, _): + return cf_netappfiles(cli_ctx).snapshots diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_exception_handler.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_exception_handler.py new file mode 100644 index 00000000000..f574ac045ef --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_exception_handler.py @@ -0,0 +1,19 @@ +# -------------------------------------------------------------------------------------------- +# 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 +from msrest.exceptions import ValidationError # pylint: disable=import-error +from msrestazure.azure_exceptions import CloudError + + +def netappfiles_exception_handler(ex): + if isinstance(ex, (CloudError, ValidationError, ValueError)): + message = ex + raise CLIError(message) + + import sys + + from six import reraise + reraise(*sys.exc_info()) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_help.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_help.py new file mode 100644 index 00000000000..fb74f49de50 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_help.py @@ -0,0 +1,499 @@ +# 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['netappfiles'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Resources. +""" + +# account + +helps['netappfiles account'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Account Resources. +""" + +helps['netappfiles account create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) account. Note that active directories are added using the subgroup commands. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + - name: --tags + short-summary: Space-separated tags in `key[=value]` format + examples: + - name: Create an ANF account + text: > + az netappfiles account create -g mygroup --name myname -l location --tags testtag1=mytag1 testtag3=mytagg +""" + +helps['netappfiles account update'] = """ + type: command + short-summary: Set/modify the tags for a specified ANF account. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + - name: --tags + short-summary: Space-separated tags in `key[=value]` format + examples: + - name: Update the tags of an ANF account + text: > + az netappfiles account update -g mygroup --name myname --tags testtag2=mytagb +""" + +helps['netappfiles account delete'] = """ + type: command + short-summary: Delete the specified ANF account. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + examples: + - name: Delete an ANF account + text: > + az netappfiles account delete -g mygroup --name myname +""" + +helps['netappfiles account list'] = """ + type: command + short-summary: List ANF accounts. + examples: + - name: List ANF accounts within a resource group + text: > + az netappfiles account list -g mygroup +""" + +helps['netappfiles account show'] = """ + type: command + short-summary: Get the specified ANF account. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + examples: + - name: Get an ANF account + text: > + az netappfiles account show -g mygroup --name myname +""" + +# account active directory subgroup commands + +helps['netappfiles account ad'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Account active directories. +""" + +helps['netappfiles account ad add'] = """ + type: command + short-summary: Add an active directory to the account. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + - name: --username + short-summary: Username of Active Directory domain administrator + - name: --password + short-summary: Plain text password of Active Directory domain administrator + - name: --domain + short-summary: Name of the Active Directory domain + - name: --dns + short-summary: Comma separated list of DNS server IP addresses for the Active Directory domain + - name: --smb-server-name + short-summary: NetBIOS name of the SMB server. This name will be registered as a computer account in the AD and used to mount volumes. Must be 10 characters or less + - name: --organizational-unit + short-summary: The Organizational Unit (OU) within the Windows Active Directory + examples: + - name: Add an active directory to the account + text: > + az netappfiles account ad add -g mygroup --name myname --username aduser --password aduser --smb-server-name SMBSERVER --dns 1.2.3.4 --domain westcentralus +""" + +helps['netappfiles account ad list'] = """ + type: command + short-summary: List the active directories of an account. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + examples: + - name: Add an active directory to the account + text: > + az netappfiles account ad list -g mygroup --name myname +""" + +helps['netappfiles account ad remove'] = """ + type: command + short-summary: Remove an active directory from the account. + parameters: + - name: --account-name --name -a -n + short-summary: The name of the ANF account + - name: --active-directory + short-summary: The id of the active directory + examples: + - name: Remove an active directory from the account + text: > + az netappfiles account ad remove -g mygroup --name myname --active-directory 13641da9-c0e9-4b97-84fc-4f8014a93848 +""" + + +# pools + +helps['netappfiles pool'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Pool Resources. +""" + +helps['netappfiles pool create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) pool. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --name --pool-name -n -p + short-summary: The name of the ANF pool + - name: --size + short-summary: The size for the ANF pool. Must be an integer number of tebibytes in multiples of 4 + - name: --service-level + short-summary: The service level for the ANF pool + - name: --tags + short-summary: Space-separated tags in `key[=value]` format + examples: + - name: Create an ANF pool + text: > + az netappfiles pool create -g mygroup --account-name myaccountname --name mypoolname -l westus2 --size 8 --service-level premium +""" + +helps['netappfiles pool update'] = """ + type: command + short-summary: Update the tags of the specified ANF pool. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --name --pool-name -n -p + short-summary: The name of the ANF pool + - name: --size + short-summary: The size for the ANF pool. Must be an integer number of tebibytes in multiples of 4 + - name: --service-level + short-summary: The service level for the ANF pool + - name: --tags + short-summary: Space-separated tags in `key[=value]` format + examples: + - name: Update specific values for an ANF pool + text: > + az netappfiles pool update -g mygroup --account-name myaccname --name mypoolname --service-level ultra --tags mytag1=abcd mytag2=efgh +""" + +helps['netappfiles pool delete'] = """ + type: command + short-summary: Delete the specified ANF pool. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --name --pool-name -n -p + short-summary: The name of the ANF pool + examples: + - name: Delete an ANF pool + text: > + az netappfiles pool delete -g mygroup --account-name myaccname --name mypoolname +""" + +helps['netappfiles pool list'] = """ + type: command + short-summary: L:ist the ANF pools for the specified account. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + examples: + - name: List the pools for the ANF account + text: > + az netappfiles pool list -g mygroup --account-name myname +""" + +helps['netappfiles pool show'] = """ + type: command + short-summary: Get the specified ANF pool. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --name --pool-name -n -p + short-summary: The name of the ANF pool + examples: + - name: Get an ANF pool + text: > + az netappfiles pool show -g mygroup --account-name myaccname --name mypoolname +""" + +# volumes + +helps['netappfiles volume'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Volume Resources. +""" + +helps['netappfiles volume create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) volume. Export policies are applied with the subgroup commands but note that volumes are always created with a default export policy + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF volume + - name: --service-level + short-summary: The service level + - name: --usage-threshold + short-summary: The maximum storage quota allowed for a file system as integer number of GiB. Min 100 GiB, max 100TiB" + - name: --creation-token + short-summary: A 1-80 character long alphanumeric string value that identifies a unique file share or mount point in the target subnet + - name: --vnet + short-summary: The vnet for the volume + - name: --subnet + short-summary: The subnet. If omitted 'default' will be used + - name: --tags + short-summary: Space-separated tags in `key[=value]` format + examples: + - name: Create an ANF volume + text: > + az netappfiles volume create -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname -l westus2 --service-level premium --usage-threshold 100 --creation-token "unique-file-path" --vnet myvnet --subnet mysubnet +""" + +helps['netappfiles volume update'] = """ + type: command + short-summary: Update the specified ANF volume with the values provided. Unspecified values will remain unchanged. Export policies are amended/created with the subgroup commands + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF volume + - name: --service-level + short-summary: The service level + - name: --usage-threshold + short-summary: The maximum storage quota allowed for a file system as integer number of GiB. Min 100 GiB, max 100TiB" + - name: --tags + short-summary: Space-separated tags in `key[=value]` format + examples: + - name: Update an ANF volume + text: > + az netappfiles volume update -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --service-level ultra --usage-threshold 100 --tags mytag=specialvol +""" + +helps['netappfiles volume delete'] = """ + type: command + short-summary: Delete the specified ANF volume. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF volume + examples: + - name: Delete an ANF volume + text: > + az netappfiles volume delete -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname +""" + +helps['netappfiles volume list'] = """ + type: command + short-summary: List the ANF Pools for the specified account. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + examples: + - name: List the ANF volumes of the pool + text: > + az netappfiles volume list -g mygroup --account-name myaccname --pool-name mypoolname +""" + +helps['netappfiles volume show'] = """ + type: command + short-summary: Get the specified ANF volume. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF pool + examples: + - name: Returns the properties of the given ANF volume + text: > + az netappfiles volume show -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname +""" + +# volume subgroup to create export policy attribute + +helps['netappfiles volume export-policy'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Volume export policies. +""" + +helps['netappfiles volume export-policy add'] = """ + type: command + short-summary: Add a new rule to the export policy for a volume. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF volume + - name: --rule-index + short-summary: Order index. No number can be repeated. Max 6 rules. + - name: --unix-read-only + short-summary: Indication of read only access + - name: --unix-read-write + short-summary: Indication of read and write access + - name: --cifs + short-summary: Indication that CIFS protocol is allowed + - name: --nfsv3 + short-summary: Indication that NFSv3 protocol is allowed + - name: --nfsv4 + short-summary: Indication that NFSv4 protocol is allowed + - name: --allowed-clients + short-summary: Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names) + examples: + - name: Add an export policy rule for the ANF volume + text: > + az netappfiles volume export-policy add -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --allowed-clients "1.2.3.0/24" --rule-index 2 --unix-read-only true --unix-read-write false --cifs false --nfsv3 true --nfsv4 false +""" + +helps['netappfiles volume export-policy list'] = """ + type: command + short-summary: List the export policy rules for a volume. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF volume + examples: + - name: List the export policy rules for an ANF volume + text: > + az netappfiles volume export-policy list -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname +""" + +helps['netappfiles volume export-policy remove'] = """ + type: command + short-summary: Remove a rule from the export policy for a volume by rule index. The current rules can be obtained by performing the subgroup list command. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --name --volume-name -n -v + short-summary: The name of the ANF volume + - name: --rule-index + short-summary: Order index. Range 1 to 6. + examples: + - name: Remove an export policy rule for an ANF volume + text: > + az netappfiles volume export-policy remove -g mygroup --account-name myaccname --pool-name mypoolname --name myvolname --rule-index 4 +""" + +# mounttargets + +helps['netappfiles list-mount-targets'] = """ + type: command + short-summary: List the mount targets of an Azure NetApp Files (ANF) volume. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --volume-name -v + short-summary: The name of the ANF pool + examples: + - name: list the mount targets of an ANF volume + text: > + az netappfiles list-mount-targets -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname +""" + +# snapshots + +helps['netappfiles snapshot'] = """ + type: group + short-summary: Manage Azure NetApp Files (ANF) Snapshot Resources. +""" + +helps['netappfiles snapshot create'] = """ + type: command + short-summary: Create a new Azure NetApp Files (ANF) snapshot. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --volume-name -v + short-summary: The name of the ANF volume + - name: --name --snapshot-name -n -s + short-summary: The name of the ANF snapshot + - name: --file-system-id + short-summary: The uuid of the volume + examples: + - name: Create an ANF snapshot + text: > + az netappfiles snapshot create -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname -l eastus --file-system-id 13641da9-c0e9-4b97-84fc-4f8014a93848 +""" + +helps['netappfiles snapshot delete'] = """ + type: command + short-summary: Delete the specified ANF snapshot. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --volume-name -v + short-summary: The name of the ANF volume + - name: --name --snapshot-name -n -s + short-summary: The name of the ANF snapshot + examples: + - name: Delete an ANF snapshot + text: > + az netappfiles snapshot delete -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname +""" + +helps['netappfiles snapshot list'] = """ + type: command + short-summary: List the snapshots of an ANF volume. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --volume-name -v + short-summary: The name of the ANF volume + examples: + - name: list the snapshots of an ANF volume + text: > + az netappfiles snapshot list -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname +""" + +helps['netappfiles snapshot show'] = """ + type: command + short-summary: Get the specified ANF snapshot. + parameters: + - name: --account-name -a + short-summary: The name of the ANF account + - name: --pool-name -p + short-summary: The name of the ANF pool + - name: --volume-name -v + short-summary: The name of the ANF volume + - name: --name --snapshot-name -n -s + short-summary: The name of the ANF snapshot + examples: + - name: Return the specified ANF snapshot + text: > + az netappfiles snapshot show -g mygroup --account-name myaccname --pool-name mypoolname --volume-name myvolname --name mysnapname +""" diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/_params.py b/src/azure-cli/azure/cli/command_modules/netappfiles/_params.py new file mode 100644 index 00000000000..cdc18e09f1d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/_params.py @@ -0,0 +1,71 @@ +# -------------------------------------------------------------------------------------------- +# 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.parameters import tags_type, resource_group_name_type, get_enum_type, get_three_state_flag +from knack.arguments import CLIArgumentType + + +def load_arguments(self, _): + account_name_type = CLIArgumentType(options_list=['--account-name', '-a'], id_part='name', help='Name of the ANF account.') + pool_name_type = CLIArgumentType(options_list=['--pool-name', '-p'], id_part='child_name_1', help='Name of the ANF pool.') + volume_name_type = CLIArgumentType(options_list=['--volume-name', '-v'], id_part='child_name_2', help='Name of the ANF volume.') + + with self.argument_context('netappfiles') as c: + c.argument('resource_group', resource_group_name_type) + c.argument('tags', arg_type=tags_type) + c.argument('account_name', account_name_type) + c.argument('pool_name', pool_name_type) + c.argument('volume_name', volume_name_type) + c.argument('snapshot_name', options_list=['--snapshot-name', '-s'], help='The name of the ANF snapshot') + c.argument('tag', tags_type) + c.argument('service_level', options_list=['--service-level'], arg_type=get_enum_type(['Standard', 'Premium', 'Ultra']), help='Service level') + + with self.argument_context('netappfiles account') as c: + c.argument('account_name', account_name_type, options_list=['--name', '--account-name', '-n', '-a']) + + with self.argument_context('netappfiles account list') as c: + c.argument('account_name', help='The name of the ANF account', id_part=None) + + with self.argument_context('netappfiles account ad list') as c: + c.argument('account_name', help='The name of the ANF account', id_part=None) + + with self.argument_context('netappfiles pool') as c: + c.argument('account_name', id_part='name') + c.argument('pool_name', pool_name_type, options_list=['--pool-name', '-p', '--name', '-n']) + + with self.argument_context('netappfiles pool list') as c: + c.argument('account_name', account_name_type, options_list=['--account-name', '-a'], id_part=None) + + with self.argument_context('netappfiles volume') as c: + c.argument('account_name', id_part='name') + c.argument('pool_name', pool_name_type) + c.argument('volume_name', volume_name_type, options_list=['--volume-name', '-v', '--name', '-n']) + + with self.argument_context('netappfiles volume list') as c: + c.argument('account_name', account_name_type, id_part=None) + c.argument('pool_name', options_list=['--pool-name', '-p'], help='Name of the ANF pool.', id_part=None) + + with self.argument_context('netappfiles volume export-policy list') as c: + c.argument('account_name', id_part=None) + c.argument('pool_name', pool_name_type, id_part=None) + c.argument('volume_name', volume_name_type, options_list=['--volume-name', '-v', '--name', '-n'], id_part=None) + + with self.argument_context('netappfiles volume export-policy add') as c: + c.argument('unix_read_only', help="Indication of read only access", arg_type=get_three_state_flag()) + c.argument('unix_read_write', help="Indication of read and write access", arg_type=get_three_state_flag()) + c.argument('cifs', help="Indication that CIFS protocol is allowed", arg_type=get_three_state_flag()) + c.argument('nfsv3', help="Indication that NFSv3 protocol is allowed", arg_type=get_three_state_flag()) + c.argument('nfsv4', help="Indication that NFSv4 protocol is allowed", arg_type=get_three_state_flag()) + + with self.argument_context('netappfiles snapshot') as c: + c.argument('account_name', account_name_type) + c.argument('pool_name', pool_name_type) + c.argument('volume_name', volume_name_type) + c.argument('snapshot_name', id_part='child_name_3', options_list=['--name', '--snapshot-name', '-n', '-s'], help='The name of the ANF snapshot') + + with self.argument_context('netappfiles snapshot list') as c: + c.argument('account_name', account_name_type, id_part=None) + c.argument('volume_name', options_list=['--volume-name', '-v'], help='The name of the ANF volume', id_part=None) diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/commands.py new file mode 100644 index 00000000000..a49414f2564 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/commands.py @@ -0,0 +1,142 @@ +# -------------------------------------------------------------------------------------------- +# 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 netappfiles_exception_handler + + +def load_command_table(self, _): + netappfiles_accounts_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.accounts_operations#AccountsOperations.{}', + client_factory=accounts_mgmt_client_factory, + exception_handler=netappfiles_exception_handler + ) + + netappfiles_pools_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.pools_operations#PoolsOperations.{}', + client_factory=pools_mgmt_client_factory, + exception_handler=netappfiles_exception_handler + ) + + netappfiles_volumes_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.volumes_operations#VolumesOperations.{}', + client_factory=volumes_mgmt_client_factory, + exception_handler=netappfiles_exception_handler + ) + + netappfiles_mount_targets_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.mount_targets_operations#MountTargetsOperations.{}', + client_factory=mount_targets_mgmt_client_factory, + exception_handler=netappfiles_exception_handler + ) + + netappfiles_snapshots_sdk = CliCommandType( + operations_tmpl='azure.mgmt.netapp.operations.snapshots_operations#SnapshotsOperations.{}', + client_factory=snapshots_mgmt_client_factory, + exception_handler=netappfiles_exception_handler + ) + + with self.command_group('netappfiles account', netappfiles_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', + exception_handler=netappfiles_exception_handler) + g.generic_update_command('update', + setter_name='update', + custom_func_name='patch_account', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#NetAppAccountPatch', + exception_handler=netappfiles_exception_handler) + + with self.command_group('netappfiles account ad', netappfiles_accounts_sdk) as g: + g.generic_update_command('add', + setter_name='update', + custom_func_name='add_active_directory', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#NetAppAccountPatch', + exception_handler=netappfiles_exception_handler) + g.custom_command('list', 'list_active_directories', + client_factory=accounts_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#NetAppAccount', + exception_handler=netappfiles_exception_handler) + + g.custom_command('remove', 'remove_active_directory', + client_factory=accounts_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#NetAppAccount', + exception_handler=netappfiles_exception_handler) + + with self.command_group('netappfiles pool', netappfiles_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', + exception_handler=netappfiles_exception_handler) + g.generic_update_command('update', + setter_name='update', + custom_func_name='patch_pool', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#CapacityPool', + exception_handler=netappfiles_exception_handler) + + with self.command_group('netappfiles volume', netappfiles_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', + exception_handler=netappfiles_exception_handler) + 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', + exception_handler=netappfiles_exception_handler) + + with self.command_group('netappfiles volume export-policy', netappfiles_volumes_sdk) as g: + g.generic_update_command('add', + setter_name='update', + custom_func_name='add_export_policy_rule', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#VolumePatch', + exception_handler=netappfiles_exception_handler) + g.custom_command('list', 'list_export_policy_rules', + client_factory=volumes_mgmt_client_factory, + doc_string_source='azure.mgmt.netapp.models#Volume', + exception_handler=netappfiles_exception_handler) + g.generic_update_command('remove', + setter_name='update', + custom_func_name='remove_export_policy_rule', + setter_arg_name='body', + doc_string_source='azure.mgmt.netapp.models#VolumePatch', + exception_handler=netappfiles_exception_handler) + + with self.command_group('netappfiles', netappfiles_mount_targets_sdk) as g: + g.command('list-mount-targets', 'list') + + with self.command_group('netappfiles snapshot', netappfiles_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', + exception_handler=netappfiles_exception_handler) + + with self.command_group('netappfiles', is_preview=True) as g: + pass diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py new file mode 100644 index 00000000000..118d5275973 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/custom.py @@ -0,0 +1,150 @@ +# -------------------------------------------------------------------------------------------- +# 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 ActiveDirectory, NetAppAccount, NetAppAccountPatch, CapacityPool, CapacityPoolPatch, Volume, VolumePatch, VolumePropertiesExportPolicy, ExportPolicyRule, Snapshot +from azure.cli.core.commands.client_factory import get_subscription_id + +logger = get_logger(__name__) + +# RP expted bytes but CLI allows integer TiBs for ease of use +gib_scale = 1024 * 1024 * 1024 +tib_scale = gib_scale * 1024 + + +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 +# account update - active_directory is amended with subgroup commands +def create_account(cmd, client, account_name, resource_group_name, location, tags=None): + body = NetAppAccount(location=location, tags=tags) + return client.create_or_update(body, resource_group_name, account_name) + + +# pylint: disable=unused-argument +# add an active directory to the netapp account +# current limitation is 1 AD/subscription +def add_active_directory(cmd, instance, account_name, resource_group_name, username, password, domain, dns, smb_server_name, organizational_unit=None): + active_directories = [] + active_directory = ActiveDirectory(username=username, password=password, domain=domain, dns=dns, smb_server_name=smb_server_name, organizational_unit=organizational_unit) + active_directories.append(active_directory) + body = NetAppAccountPatch(active_directories=active_directories) + _update_mapper(instance, body, ['active_directories']) + return body + + +# list all active directories +def list_active_directories(cmd, client, account_name, resource_group_name): + return client.get(resource_group_name, account_name).active_directories + + +# removes the active directory entry matching the provided id +# Note: +# The RP implementation is such that patch of active directories provides an addition type amendment, i.e. +# absence of an AD does not remove the ADs already present. To perform this a put request is required that +# asserts exactly the content provided, replacing whatever is already present including removing it if none +# are present +def remove_active_directory(cmd, client, account_name, resource_group_name, active_directory): + instance = client.get(resource_group_name, account_name) + + for ad in instance.active_directories: + if ad.active_directory_id == active_directory: + instance.active_directories.remove(ad) + + active_directories = instance.active_directories + body = NetAppAccount(location=instance.location, tags=instance.tags, active_directories=active_directories) + + return client.create_or_update(body, resource_group_name, account_name) + + +# account update, active_directory is amended with subgroup commands +def patch_account(cmd, instance, account_name, resource_group_name, tags=None): + body = NetAppAccountPatch(tags=tags) + _update_mapper(instance, body, ['tags']) + return body + + +def create_pool(cmd, client, account_name, pool_name, resource_group_name, service_level, location, size, tags=None): + body = CapacityPool(service_level=service_level, size=int(size) * tib_scale, location=location, tags=tags) + return client.create_or_update(body, resource_group_name, account_name, pool_name) + + +# pool update +def patch_pool(cmd, instance, size=None, service_level=None, tags=None): + # put operation to update the record + if size is not None: + size = int(size) * tib_scale + body = CapacityPoolPatch(service_level=service_level, size=size, tags=tags) + _update_mapper(instance, body, ['service_level', 'size', 'tags']) + return body + + +def create_volume(cmd, client, account_name, pool_name, volume_name, resource_group_name, location, creation_token, usage_threshold, vnet, subnet='default', service_level=None, tags=None): + subs_id = get_subscription_id(cmd.cli_ctx) + subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (subs_id, resource_group_name, vnet, subnet) + body = Volume( + usage_threshold=int(usage_threshold) * gib_scale, + creation_token=creation_token, + service_level=service_level, + location=location, + subnet_id=subnet_id, + tags=tags) + + return client.create_or_update(body, resource_group_name, account_name, pool_name, volume_name) + + +# volume update +def patch_volume(cmd, instance, usage_threshold=None, service_level=None, tags=None): + params = VolumePatch( + usage_threshold=None if usage_threshold is None else int(usage_threshold) * gib_scale, + service_level=service_level, + tags=tags) + _update_mapper(instance, params, ['service_level', 'usage_threshold', 'tags']) + return params + + +# add new rule to policy +def add_export_policy_rule(cmd, instance, allowed_clients, rule_index, unix_read_only, unix_read_write, cifs, nfsv3, nfsv4): + rules = [] + + export_policy = ExportPolicyRule(rule_index=rule_index, unix_read_only=unix_read_only, unix_read_write=unix_read_write, cifs=cifs, nfsv3=nfsv3, nfsv4=nfsv4, allowed_clients=allowed_clients) + + rules.append(export_policy) + for rule in instance.export_policy.rules: + rules.append(rule) + + volume_export_policy = VolumePropertiesExportPolicy(rules=rules) + + params = VolumePatch( + export_policy=volume_export_policy) + _update_mapper(instance, params, ['export_policy']) + return params + + +# list all rules +def list_export_policy_rules(cmd, client, account_name, pool_name, volume_name, resource_group_name): + return client.get(resource_group_name, account_name, pool_name, volume_name).export_policy + + +# delete rule by specific index +def remove_export_policy_rule(cmd, instance, rule_index): + # look for the rule and remove + for rule in instance.export_policy.rules: + if rule.rule_index == int(rule_index): + instance.export_policy.rules.remove(rule) + + return instance + + +def create_snapshot(cmd, client, account_name, pool_name, volume_name, snapshot_name, resource_group_name, location, file_system_id=None): + 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/azure-cli/azure/cli/command_modules/netappfiles/tests/__init__.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/__init__.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/__init__.py new file mode 100644 index 00000000000..34913fb394d --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_active_directory.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_active_directory.yaml new file mode 100644 index 00000000000..e16d51d9fda --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_active_directory.yaml @@ -0,0 +1,568 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:17:00Z", + "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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001","name":"cli_tests_rg_000001","location":"westus","tags":{"date":"2019-05-31T16:17:00Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.4430405Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/9a29c81c-8cad-4cc9-bcf8-8990632771d0?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:12 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.4430405Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/9a29c81c-8cad-4cc9-bcf8-8990632771d0?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/9a29c81c-8cad-4cc9-bcf8-8990632771d0","name":"9a29c81c-8cad-4cc9-bcf8-8990632771d0","status":"Succeeded","startTime":"2019-05-31T16:17:11.3090831Z","endTime":"2019-05-31T16:17:11.5126667Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.634179Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '477' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:46 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.634179Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account ad add + Connection: + - keep-alive + ParameterSetName: + - -g -n --username --password --smb-server-name --dns --domain + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.634179Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '477' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:48 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.634179Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": {"activeDirectories": [{"username": "aduser", + "domain": "westcentralus", "password": "aduser", "dns": "1.2.3.4", "smbServerName": + "SMBSERVER"}]}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles account ad add + Connection: + - keep-alive + Content-Length: + - '160' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --username --password --smb-server-name --dns --domain + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A52.4325808Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002","activeDirectories":[{"activeDirectoryId":"c1eefa33-5831-2589-8b6c-20257739b118","username":"aduser","password":"****************","domain":"westcentralus","dns":"1.2.3.4","status":"Created","smbServerName":"SMBSERVER","organizationalUnit":"CN=Computers"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:51 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A52.4325808Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - '1198' + x-powered-by: + - ASP.NET + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles account ad list + Connection: + - keep-alive + ParameterSetName: + - -g -n + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A52.4325808Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002","activeDirectories":[{"activeDirectoryId":"c1eefa33-5831-2589-8b6c-20257739b118","username":"aduser","password":"****************","domain":"westcentralus","dns":"1.2.3.4","status":"Created","smbServerName":"SMBSERVER","organizationalUnit":"CN=Computers"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:53 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A52.4325808Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account ad remove + Connection: + - keep-alive + ParameterSetName: + - -g -n --active-directory + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A52.4325808Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002","activeDirectories":[{"activeDirectoryId":"c1eefa33-5831-2589-8b6c-20257739b118","username":"aduser","password":"****************","domain":"westcentralus","dns":"1.2.3.4","status":"Created","smbServerName":"SMBSERVER","organizationalUnit":"CN=Computers"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '735' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:57 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A52.4325808Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": {"activeDirectories": []}, "location": + "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles account ad remove + Connection: + - keep-alive + Content-Length: + - '92' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -n --active-directory + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A59.1864489Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:59 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A59.1864489Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:18:04 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGQVBJQVVWWVJBN0IySkgzN0ZRVUdMWERZVE9GWHxEM0I0RjY0QjVCMTc3NzEzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_account.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_account.yaml new file mode 100644 index 00000000000..da431580c65 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_account.yaml @@ -0,0 +1,859 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:17:00Z", + "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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001","name":"cli_tests_rg_000001","location":"westus","tags":{"date":"2019-05-31T16:17:00Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2", "tags": {"Tag1": "Value1", "Tag2": + "Value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A10.9927153Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/1affb441-f8a2-4198-8a7a-95022b1d558f?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:11 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A10.9927153Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/1affb441-f8a2-4198-8a7a-95022b1d558f?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/1affb441-f8a2-4198-8a7a-95022b1d558f","name":"1affb441-f8a2-4198-8a7a-95022b1d558f","status":"Succeeded","startTime":"2019-05-31T16:17:10.8402739Z","endTime":"2019-05-31T16:17:11.0590519Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.1828531Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:46 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.1828531Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.1828531Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '506' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:49 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/410256e8-46c0-4e98-8cff-92d2ddc55b86?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:17:52 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/410256e8-46c0-4e98-8cff-92d2ddc55b86?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/410256e8-46c0-4e98-8cff-92d2ddc55b86?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/410256e8-46c0-4e98-8cff-92d2ddc55b86","name":"410256e8-46c0-4e98-8cff-92d2ddc55b86","status":"Succeeded","startTime":"2019-05-31T16:17:53.0523949Z","endTime":"2019-05-31T16:17:53.2086632Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:24 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:26 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": "eastus2", "tags": {"Tag1": "Value1", "Tag2": + "Value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A32.3393016Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6dfd67cc-5a64-45fe-a258-e21d051ad53e?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:32 GMT + etag: + - W/"datetime'2019-05-31T16%3A18%3A32.3393016Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/6dfd67cc-5a64-45fe-a258-e21d051ad53e?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6dfd67cc-5a64-45fe-a258-e21d051ad53e","name":"6dfd67cc-5a64-45fe-a258-e21d051ad53e","status":"Succeeded","startTime":"2019-05-31T16:18:32.2116089Z","endTime":"2019-05-31T16:18:32.4002184Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:05 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A32.5374438Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '494' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:06 GMT + etag: + - W/"datetime'2019-05-31T16%3A18%3A32.5374438Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A32.5374438Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '506' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:08 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group -a + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ac3e2bff-5346-4bf9-a83b-bdb0e9734725?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:19:10 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ac3e2bff-5346-4bf9-a83b-bdb0e9734725?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/ac3e2bff-5346-4bf9-a83b-bdb0e9734725?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ac3e2bff-5346-4bf9-a83b-bdb0e9734725","name":"ac3e2bff-5346-4bf9-a83b-bdb0e9734725","status":"Succeeded","startTime":"2019-05-31T16:19:10.8612635Z","endTime":"2019-05-31T16:19:11.0175317Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:41 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:42 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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:19:46 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGRDdRSE1YQ0NUTVFEN0JGSDJQUlZYM1JHQkNKTnwwQkZFODRGRjJCMkJGQzhELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_pool.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_pool.yaml new file mode 100644 index 00000000000..49ab966a19e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_pool.yaml @@ -0,0 +1,993 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:20:02Z", + "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.6 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-05-31T16:20:02Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:06 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A11.247107Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/64d4a6d9-e3e2-4323-9d1e-dc7fc1afeddc?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:11 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A11.247107Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/64d4a6d9-e3e2-4323-9d1e-dc7fc1afeddc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/64d4a6d9-e3e2-4323-9d1e-dc7fc1afeddc","name":"64d4a6d9-e3e2-4323-9d1e-dc7fc1afeddc","status":"Succeeded","startTime":"2019-05-31T16:20:11.1266652Z","endTime":"2019-05-31T16:20:11.3142232Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:43 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A11.4382434Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:45 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A11.4382434Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2019-05-01 + 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-05-31T16%3A20%3A52.7279474Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5cce400a-9c36-462b-acff-370ff69bb424?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '583' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:53 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A52.7279474Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/5cce400a-9c36-462b-acff-370ff69bb424?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5cce400a-9c36-462b-acff-370ff69bb424","name":"5cce400a-9c36-462b-acff-370ff69bb424","status":"Succeeded","startTime":"2019-05-31T16:20:52.5812347Z","endTime":"2019-05-31T16:20:53.0684917Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:25 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2019-05-01 + 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-05-31T16%3A20%3A53.1472503Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"b4934e3c-fd8a-d4d3-96b0-653d94c3eb24","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:28 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A53.1472503Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + 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-05-31T16%3A20%3A53.1472503Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"b4934e3c-fd8a-d4d3-96b0-653d94c3eb24","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '703' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:31 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/71dee8dc-c781-49cb-aeb4-36b2e6dc568f?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:21:33 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/71dee8dc-c781-49cb-aeb4-36b2e6dc568f?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + server: + - Microsoft-IIS/10.0 + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-deletes: + - '14997' + x-powered-by: + - ASP.NET + status: + code: 202 + message: Accepted +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/71dee8dc-c781-49cb-aeb4-36b2e6dc568f?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/71dee8dc-c781-49cb-aeb4-36b2e6dc568f","name":"71dee8dc-c781-49cb-aeb4-36b2e6dc568f","status":"Succeeded","startTime":"2019-05-31T16:21:34.3021535Z","endTime":"2019-05-31T16:21:34.5208648Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:22:07 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:22:10 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2019-05-01 + 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-05-31T16%3A22%3A15.6966133Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/2b6ca792-7029-4e42-8a92-26a687b6f6f5?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '583' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:22:16 GMT + etag: + - W/"datetime'2019-05-31T16%3A22%3A15.6966133Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/2b6ca792-7029-4e42-8a92-26a687b6f6f5?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/2b6ca792-7029-4e42-8a92-26a687b6f6f5","name":"2b6ca792-7029-4e42-8a92-26a687b6f6f5","status":"Succeeded","startTime":"2019-05-31T16:22:15.5435411Z","endTime":"2019-05-31T16:22:16.0133935Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:22:47 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2019-05-01 + 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-05-31T16%3A22%3A16.0878934Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"f27bd4bd-9690-1c5e-4a08-2d2d1adf6dff","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:22:50 GMT + etag: + - W/"datetime'2019-05-31T16%3A22%3A16.0878934Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --resource-group -a -p + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4dc041b0-8889-49d4-83af-19a95ad95479?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:22:55 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4dc041b0-8889-49d4-83af-19a95ad95479?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool delete + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a -p + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/4dc041b0-8889-49d4-83af-19a95ad95479?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4dc041b0-8889-49d4-83af-19a95ad95479","name":"4dc041b0-8889-49d4-83af-19a95ad95479","status":"Succeeded","startTime":"2019-05-31T16:22:55.3714364Z","endTime":"2019-05-31T16:22:55.5901503Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:23:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool list + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:23:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:23:38 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRksyQkRBWlA1RURQUEVBV1ZCTjROR1hWTVlTV1UzQnwwRDhFOTk0QUY3ODMzNUNDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_snapshots.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_snapshots.yaml new file mode 100644 index 00000000000..500b278f8bb --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_snapshots.yaml @@ -0,0 +1,2090 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T16:19:06Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T16:19:06Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19: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: + - '1198' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.5.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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"8aec942c-061d-450e-a576-e245f03f45de\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"ea9c7e96-5fc4-4301-9b86-d93b261a9181\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": 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/eastus2/operations/8c6677c0-ee32-4037-93fc-d51c08f1a739?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:42 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/8c6677c0-ee32-4037-93fc-d51c08f1a739?api-version=2019-04-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, 04 Jun 2019 16:19: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 create + Connection: + - keep-alive + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"e64de83a-21d3-468a-aba6-299e6f0bbd21\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"ea9c7e96-5fc4-4301-9b86-d93b261a9181\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:46 GMT + etag: + - W/"e64de83a-21d3-468a-aba6-299e6f0bbd21" + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"e64de83a-21d3-468a-aba6-299e6f0bbd21\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"ea9c7e96-5fc4-4301-9b86-d93b261a9181\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:48 GMT + etag: + - W/"e64de83a-21d3-468a-aba6-299e6f0bbd21" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02", + "etag": "W/\"e64de83a-21d3-468a-aba6-299e6f0bbd21\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-lefr-02", + "properties": {"addressPrefix": "10.5.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.5.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "ea9c7e96-5fc4-4301-9b86-d93b261a9181", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '771' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"7934e38c-62be-41ee-84d0-02a1418bbdaa\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"ea9c7e96-5fc4-4301-9b86-d93b261a9181\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"7934e38c-62be-41ee-84d0-02a1418bbdaa\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ + ,\r\n \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\"\ + : [\r\n {\r\n \"name\": \"0\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"7934e38c-62be-41ee-84d0-02a1418bbdaa\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/9de2d684-4351-46d0-8907-c0ca7f51695c?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2250' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:48 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/9de2d684-4351-46d0-8907-c0ca7f51695c?api-version=2019-04-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, 04 Jun 2019 16:19:52 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"2512092a-2650-42f1-be35-1ea8565d75f6\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"ea9c7e96-5fc4-4301-9b86-d93b261a9181\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"2512092a-2650-42f1-be35-1ea8565d75f6\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\"\ + : [\r\n {\r\n \"name\": \"0\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"2512092a-2650-42f1-be35-1ea8565d75f6\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2252' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:53 GMT + etag: + - W/"2512092a-2650-42f1-be35-1ea8565d75f6" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A19%3A55.9612075Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a4b221dd-0bcb-446b-9231-c0084d3c4e58?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:55 GMT + etag: + - W/"datetime'2019-06-04T16%3A19%3A55.9612075Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a4b221dd-0bcb-446b-9231-c0084d3c4e58?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a4b221dd-0bcb-446b-9231-c0084d3c4e58","name":"a4b221dd-0bcb-446b-9231-c0084d3c4e58","status":"Succeeded","startTime":"2019-06-04T16:19:55.8117206Z","endTime":"2019-06-04T16:19:56.0148545Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:27 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A19%3A56.1513825Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:27 GMT + etag: + - W/"datetime'2019-06-04T16%3A19%3A56.1513825Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A32.5811195Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cb9295ff-63cc-4f18-9317-3796798193ca?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:32 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A32.5811195Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cb9295ff-63cc-4f18-9317-3796798193ca?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cb9295ff-63cc-4f18-9317-3796798193ca","name":"cb9295ff-63cc-4f18-9317-3796798193ca","status":"Succeeded","startTime":"2019-06-04T16:20:32.4380274Z","endTime":"2019-06-04T16:20:32.9380202Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:03 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A33.0735752Z''\"","location":"eastus2","properties":{"poolId":"9302fcc9-3a11-56dd-356a-0524a4353dd7","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:04 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A33.0735752Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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-lefr-02/subnets/cli-subnet-lefr-02", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + Content-Length: + - '389' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A21%3A08.0059371Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:08 GMT + etag: + - W/"datetime'2019-06-04T16%3A21%3A08.0059371Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:22:10 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:22:41 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:12 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:24:15 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:24:46 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:25:17 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:25:48 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:19 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:53 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:27:24 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:27:56 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:28:27 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Creating","startTime":"2019-06-04T16:21:07.8752988Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:28:58 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","name":"cf2d62a8-495d-4c8b-8972-ec11ed3e49ff","status":"Succeeded","startTime":"2019-06-04T16:21:07.8752988Z","endTime":"2019-06-04T16:29:02.6831465Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:29:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A29%3A02.7195324Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ac7196fb-4ed6-edc0-1775-c3e02e3048fa","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_8345a8b9","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0356be67-6c5b-6597-fb6e-0c9fbb2ae758","fileSystemId":"ac7196fb-4ed6-edc0-1775-c3e02e3048fa","startIp":"10.5.0.4","endIp":"10.5.0.4","gateway":"10.5.0.1","netmask":"255.255.255.0","ipAddress":"10.5.0.4"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:29:30 GMT + etag: + - W/"datetime'2019-06-04T16%3A29%3A02.7195324Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "ac7196fb-4ed6-edc0-1775-c3e02e3048fa"}, + "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"6/4/2019 + 4:29:36 PM","location":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"14416b19-ec70-4b1b-2136-cfb720322803","fileSystemId":"ac7196fb-4ed6-edc0-1775-c3e02e3048fa","name":"cli-sn-000005","created":"2019-06-04T16:29:34Z"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '777' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:29:36 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"14416b19-ec70-4b1b-2136-cfb720322803","fileSystemId":"ac7196fb-4ed6-edc0-1775-c3e02e3048fa","name":"cli-sn-000005","created":"2019-06-04T16:29:34Z"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '760' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:29:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles snapshot delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - -g -a -p -v -s + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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/snapshots/cli-sn-000005?api-version=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:29:43 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: 200 + message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:29:45 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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, 04 Jun 2019 16:29:49 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdJUUhKWVNRQ1JLQVVZWUxCV0JIT1pJR0pEUTNQQUZDUzJNVnw0QjJDMTJFOTZBQzY1REQ5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_volumes.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_volumes.yaml new file mode 100644 index 00000000000..8eb8fef6d83 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_delete_volumes.yaml @@ -0,0 +1,2782 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T15:55:04Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T15:55:04Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:08 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": "eastus2", "properties": {"dhcpOptions": + {}, "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: + - '125' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"d3d42147-6f87-4ed5-a95c-44b4cb063b09\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"73bc345c-c72b-493a-9a2c-fd183d2a9f85\"\ + ,\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/eastus2/operations/6bd73a19-edbf-4ec4-9a59-8a1205faf0ed?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '806' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:29 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/6bd73a19-edbf-4ec4-9a59-8a1205faf0ed?api-version=2019-04-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, 04 Jun 2019 15:55:34 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"d3a25146-500d-401f-87a7-1589b1ce85f1\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"73bc345c-c72b-493a-9a2c-fd183d2a9f85\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:34 GMT + etag: + - W/"d3a25146-500d-401f-87a7-1589b1ce85f1" + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + 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=2019-04-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/\\\"d3a25146-500d-401f-87a7-1589b1ce85f1\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"73bc345c-c72b-493a-9a2c-fd183d2a9f85\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:35 GMT + etag: + - W/"d3a25146-500d-401f-87a7-1589b1ce85f1" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005", + "etag": "W/\"d3a25146-500d-401f-87a7-1589b1ce85f1\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-000006", + "properties": {"addressPrefix": "10.12.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.12.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "73bc345c-c72b-493a-9a2c-fd183d2a9f85", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '779' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"fb88c126-31c5-47fb-9366-499cac0fd155\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"73bc345c-c72b-493a-9a2c-fd183d2a9f85\"\ + ,\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 {\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/\\\"fb88c126-31c5-47fb-9366-499cac0fd155\\\"\"\ + ,\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/\\\"fb88c126-31c5-47fb-9366-499cac0fd155\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/4a732927-fbc3-48a3-a9df-59e42b448ec6?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2278' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:36 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/4a732927-fbc3-48a3-a9df-59e42b448ec6?api-version=2019-04-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, 04 Jun 2019 15:55: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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"749e4778-f7b2-483f-bb9d-622b98153698\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"73bc345c-c72b-493a-9a2c-fd183d2a9f85\"\ + ,\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 {\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/\\\"749e4778-f7b2-483f-bb9d-622b98153698\\\"\"\ + ,\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/\\\"749e4778-f7b2-483f-bb9d-622b98153698\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2280' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:40 GMT + etag: + - W/"749e4778-f7b2-483f-bb9d-622b98153698" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A43.957645Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/22ec2993-e3cd-47a6-a9d2-1359c98aafbc?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:44 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A43.957645Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/22ec2993-e3cd-47a6-a9d2-1359c98aafbc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/22ec2993-e3cd-47a6-a9d2-1359c98aafbc","name":"22ec2993-e3cd-47a6-a9d2-1359c98aafbc","status":"Succeeded","startTime":"2019-06-04T15:55:43.767567Z","endTime":"2019-06-04T15:55:44.0175678Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:15 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A44.1528283Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:15 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A44.1528283Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1", "Tag2": "Value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A19.2808412Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6834d9ed-87c8-4a4e-8626-10f48583f7c1?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '583' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:19 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A19.2808412Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6834d9ed-87c8-4a4e-8626-10f48583f7c1?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6834d9ed-87c8-4a4e-8626-10f48583f7c1","name":"6834d9ed-87c8-4a4e-8626-10f48583f7c1","status":"Succeeded","startTime":"2019-06-04T15:56:19.1388728Z","endTime":"2019-06-04T15:56:19.6463341Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:50 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A19.7242604Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"e13ed60f-fe80-2c07-ca42-35f644a85792","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '691' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:50 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A19.7242604Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "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"}, "tags": {"Tag1": + "Value1", "Tag2": "Value2"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + 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 --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A55.4059949Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '951' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:55 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A55.4059949Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:26 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:56 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:27 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:58 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:00:00 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:00:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:01:02 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:01:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:02:04 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:02:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:06 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:04:07 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:04:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:05:09 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:05:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:06:11 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Creating","startTime":"2019-06-04T15:56:55.2128691Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:06:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0a260585-8dbf-4279-829f-cf3eb82b6233","name":"0a260585-8dbf-4279-829f-cf3eb82b6233","status":"Succeeded","startTime":"2019-06-04T15:56:55.2128691Z","endTime":"2019-06-04T16:06:44.2855615Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:07:13 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A06%3A44.3299721Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ccda6c71-99b2-3cc9-688a-3f4732b914c8","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_a0bb5c60","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":"2a604fdf-e6e3-5c0f-461a-d338f23dfa8d","fileSystemId":"ccda6c71-99b2-3cc9-688a-3f4732b914c8","startIp":"10.12.0.7","endIp":"10.12.0.7","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.7"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1676' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:07:14 GMT + etag: + - W/"datetime'2019-06-04T16%3A06%3A44.3299721Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A06%3A44.3299721Z''\"","location":"eastus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ccda6c71-99b2-3cc9-688a-3f4732b914c8","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_a0bb5c60","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":"2a604fdf-e6e3-5c0f-461a-d338f23dfa8d","fileSystemId":"ccda6c71-99b2-3cc9-688a-3f4732b914c8","startIp":"10.12.0.7","endIp":"10.12.0.7","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.7"}]}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1688' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:07:15 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:07:17 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:07:47 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:08:18 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:08:50 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:09:21 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:09:51 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:10:22 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:10:52 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:23 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Deleting","startTime":"2019-06-04T16:07:17.3148806Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:54 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/351389d8-f419-4abf-a609-7d418d68c8db","name":"351389d8-f419-4abf-a609-7d418d68c8db","status":"Succeeded","startTime":"2019-06-04T16:07:17.3148806Z","endTime":"2019-06-04T16:12:21.8610262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:25 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume list + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a -p + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:27 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:12:30 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHQjJYNlpSRkVZV1NZVExLR1RGSjVDUlJRWTMzNU9NQ3w1NDI5RDIxNzk3QTBGMUNBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_string_size.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_string_size.yaml new file mode 100644 index 00000000000..f1b575302e7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_string_size.yaml @@ -0,0 +1,268 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:20:02Z", + "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.6 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-05-31T16:20:02Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:06 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A12.3929272Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/371476ff-f7e4-45cb-b2e2-03f045342f86?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:13 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A12.3929272Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/371476ff-f7e4-45cb-b2e2-03f045342f86?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/371476ff-f7e4-45cb-b2e2-03f045342f86","name":"371476ff-f7e4-45cb-b2e2-03f045342f86","status":"Succeeded","startTime":"2019-05-31T16:20:12.2776486Z","endTime":"2019-05-31T16:20:12.4660675Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:45 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A12.5900679Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:48 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A12.5900679Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:20:54 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHTFJRTFlPUDJTMkJMVE5HN0QzNkxRTTRIUFNVRFlRTXwxMzYyMzIyNUU2MzBCRkI2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_too_small.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_too_small.yaml new file mode 100644 index 00000000000..63ddc0754b7 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_create_pool_too_small.yaml @@ -0,0 +1,268 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:20:02Z", + "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.6 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-05-31T16:20:02Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:06 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A12.5350285Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/af0f89ab-8876-466c-a2e4-77ddbdf0a1ff?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:12 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A12.5350285Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/af0f89ab-8876-466c-a2e4-77ddbdf0a1ff?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/af0f89ab-8876-466c-a2e4-77ddbdf0a1ff","name":"af0f89ab-8876-466c-a2e4-77ddbdf0a1ff","status":"Succeeded","startTime":"2019-05-31T16:20:12.3870318Z","endTime":"2019-05-31T16:20:12.6057893Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:46 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli-acc-000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A12.7281667Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:49 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A12.7281667Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:20:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWE1OS0NQMkszSzNZM0NERUJSU09SNTRPRURXTVhHSnxDMUE3OEJGNjNBOTg4QTUyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_export_policy.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_export_policy.yaml new file mode 100644 index 00000000000..0a5f3a5c06e --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_export_policy.yaml @@ -0,0 +1,2083 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T15:55:04Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T15:55:04Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:08 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": "eastus2", "properties": {"dhcpOptions": + {}, "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: + - '125' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"8f9e6659-0bf1-468a-a604-e99e45920594\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"1bcc2d6d-2f6d-408a-a276-1637d8915cde\"\ + ,\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/eastus2/operations/692e2f1f-3b1d-4862-8310-b6c12656ea3c?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '806' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55: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' + 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/692e2f1f-3b1d-4862-8310-b6c12656ea3c?api-version=2019-04-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: + - Tue, 04 Jun 2019 15:55:15 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/692e2f1f-3b1d-4862-8310-b6c12656ea3c?api-version=2019-04-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, 04 Jun 2019 15:55:26 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"f0ff601b-e394-49fd-beef-34f20f5c0a63\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1bcc2d6d-2f6d-408a-a276-1637d8915cde\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:26 GMT + etag: + - W/"f0ff601b-e394-49fd-beef-34f20f5c0a63" + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + 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=2019-04-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/\\\"f0ff601b-e394-49fd-beef-34f20f5c0a63\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1bcc2d6d-2f6d-408a-a276-1637d8915cde\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:27 GMT + etag: + - W/"f0ff601b-e394-49fd-beef-34f20f5c0a63" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005", + "etag": "W/\"f0ff601b-e394-49fd-beef-34f20f5c0a63\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-000006", + "properties": {"addressPrefix": "10.12.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.12.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "1bcc2d6d-2f6d-408a-a276-1637d8915cde", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '779' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"28aafda2-803c-4686-9528-27306c1ed39f\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"1bcc2d6d-2f6d-408a-a276-1637d8915cde\"\ + ,\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 {\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/\\\"28aafda2-803c-4686-9528-27306c1ed39f\\\"\"\ + ,\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/\\\"28aafda2-803c-4686-9528-27306c1ed39f\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/b52b645e-e85a-47ac-b40b-f47303064a54?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2278' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/b52b645e-e85a-47ac-b40b-f47303064a54?api-version=2019-04-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, 04 Jun 2019 15:55: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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"3c5015ba-79f9-45f9-91f6-007b9c01d154\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1bcc2d6d-2f6d-408a-a276-1637d8915cde\"\ + ,\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 {\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/\\\"3c5015ba-79f9-45f9-91f6-007b9c01d154\\\"\"\ + ,\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/\\\"3c5015ba-79f9-45f9-91f6-007b9c01d154\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2280' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:31 GMT + etag: + - W/"3c5015ba-79f9-45f9-91f6-007b9c01d154" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A34.9201584Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/57ed0263-8872-4d08-a06c-9139576433da?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:36 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A34.9201584Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/57ed0263-8872-4d08-a06c-9139576433da?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/57ed0263-8872-4d08-a06c-9139576433da","name":"57ed0263-8872-4d08-a06c-9139576433da","status":"Succeeded","startTime":"2019-06-04T15:55:34.7382995Z","endTime":"2019-06-04T15:55:37.9259202Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:06 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A39.559515Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:07 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A39.559515Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A11.658658Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a72fedc5-bf50-4391-94f8-9152538a0253?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '541' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:11 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A11.658658Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a72fedc5-bf50-4391-94f8-9152538a0253?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a72fedc5-bf50-4391-94f8-9152538a0253","name":"a72fedc5-bf50-4391-94f8-9152538a0253","status":"Succeeded","startTime":"2019-06-04T15:56:11.5032159Z","endTime":"2019-06-04T15:56:12.2065372Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:43 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A12.3513075Z''\"","location":"eastus2","properties":{"poolId":"68405c99-e9a5-ec08-606a-f13583cdf9a6","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:43 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A12.3513075Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + 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 --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A49.8187124Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '910' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:49 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A49.8187124Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:21 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:52 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:22 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:00:20 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:00:50 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:01:21 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:01:52 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:02:22 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Creating","startTime":"2019-06-04T15:56:49.6426649Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:02:53 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a0e412e-d178-46a6-9d66-aa15b48302af","name":"4a0e412e-d178-46a6-9d66-aa15b48302af","status":"Succeeded","startTime":"2019-06-04T15:56:49.6426649Z","endTime":"2019-06-04T16:03:08.8942394Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:25 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A08.9263211Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:26 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A08.9263211Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume export-policy add + Connection: + - keep-alive + ParameterSetName: + - -g -a -p -v --allowed-clients --rule-index --unix-read-only --unix-read-write + --cifs --nfsv3 --nfsv4 + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A08.9263211Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:27 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A08.9263211Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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, "exportPolicy": + {"rules": [{"unixReadOnly": true, "allowedClients": "1.2.3.0/24", "cifs": false, + "nfsv4": false, "unixReadWrite": false, "ruleIndex": 3, "nfsv3": true}, {"unixReadOnly": + false, "allowedClients": "0.0.0.0/0", "cifs": false, "nfsv4": false, "unixReadWrite": + true, "ruleIndex": 1, "nfsv3": true}]}, "serviceLevel": "Premium"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume export-policy add + Connection: + - keep-alive + Content-Length: + - '387' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -a -p -v --allowed-clients --rule-index --unix-read-only --unix-read-write + --cifs --nfsv3 --nfsv4 + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A34.7857696Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":3,"unixReadOnly":true,"unixReadWrite":false,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.3.0/24"},{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1763' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:34 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A34.7857696Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume export-policy add + Connection: + - keep-alive + ParameterSetName: + - -g -a -p -v --allowed-clients --rule-index --unix-read-only --unix-read-write + --cifs --nfsv3 --nfsv4 + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A34.7857696Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":3,"unixReadOnly":true,"unixReadWrite":false,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.3.0/24"},{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1763' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:35 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A34.7857696Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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, "exportPolicy": + {"rules": [{"unixReadOnly": true, "allowedClients": "1.2.4.0/24", "cifs": true, + "nfsv4": false, "unixReadWrite": false, "ruleIndex": 2, "nfsv3": true}, {"unixReadOnly": + true, "allowedClients": "1.2.3.0/24", "cifs": false, "nfsv4": false, "unixReadWrite": + false, "ruleIndex": 3, "nfsv3": true}, {"unixReadOnly": false, "allowedClients": + "0.0.0.0/0", "cifs": false, "nfsv4": false, "unixReadWrite": true, "ruleIndex": + 1, "nfsv3": true}]}, "serviceLevel": "Premium"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume export-policy add + Connection: + - keep-alive + Content-Length: + - '528' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -a -p -v --allowed-clients --rule-index --unix-read-only --unix-read-write + --cifs --nfsv3 --nfsv4 + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A44.0235033Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":2,"unixReadOnly":true,"unixReadWrite":false,"cifs":true,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.4.0/24"},{"ruleIndex":3,"unixReadOnly":true,"unixReadWrite":false,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.3.0/24"},{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1890' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:43 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A44.0235033Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume export-policy 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A44.0235033Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":2,"unixReadOnly":true,"unixReadWrite":false,"cifs":true,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.4.0/24"},{"ruleIndex":3,"unixReadOnly":true,"unixReadWrite":false,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.3.0/24"},{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1890' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:44 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A44.0235033Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume export-policy remove + Connection: + - keep-alive + ParameterSetName: + - -g -a -p -v --rule-index + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A03%3A44.0235033Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":2,"unixReadOnly":true,"unixReadWrite":false,"cifs":true,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.4.0/24"},{"ruleIndex":3,"unixReadOnly":true,"unixReadWrite":false,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.3.0/24"},{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1890' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:45 GMT + etag: + - W/"datetime'2019-06-04T16%3A03%3A44.0235033Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", + "exportPolicy": {"rules": [{"unixReadOnly": true, "allowedClients": "1.2.3.0/24", + "cifs": false, "nfsv4": false, "unixReadWrite": false, "ruleIndex": 3, "nfsv3": + true}, {"unixReadOnly": false, "allowedClients": "0.0.0.0/0", "cifs": false, + "nfsv4": false, "unixReadWrite": true, "ruleIndex": 1, "nfsv3": true}]}, "serviceLevel": + "Premium", "creationToken": "cli-vol-000004"}, "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume export-policy remove + Connection: + - keep-alive + Content-Length: + - '707' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -a -p -v --rule-index + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A05%3A07.7276405Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":3,"unixReadOnly":true,"unixReadWrite":false,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"1.2.3.0/24"},{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_79770fad516411e99e4a3a8c013b5748_f7903f64","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":"a20e48b1-7985-52ab-d5a5-cf3c74b6803e","fileSystemId":"c5b2534f-bdb4-8b0b-d53c-99a67fdcc54c","startIp":"10.12.0.6","endIp":"10.12.0.6","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.6"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1763' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:05:08 GMT + etag: + - W/"datetime'2019-06-04T16%3A05%3A07.7276405Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:05:18 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNk5WWTIyQVEyRlZLR0ZPM1lNRVU2NTRHVVpFTlYzN3xBQ0M1NTE2RTNFNkUzNDJDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_account_by_name.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_account_by_name.yaml new file mode 100644 index 00000000000..179259501b1 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_account_by_name.yaml @@ -0,0 +1,382 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:17:00Z", + "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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001","name":"cli_tests_rg_000001","location":"westus","tags":{"date":"2019-05-31T16:17:00Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:05 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.038749Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf765496-6c53-47df-8872-367355149139?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:12 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.038749Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/cf765496-6c53-47df-8872-367355149139?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cf765496-6c53-47df-8872-367355149139","name":"cf765496-6c53-47df-8872-367355149139","status":"Succeeded","startTime":"2019-05-31T16:17:10.9027823Z","endTime":"2019-05-31T16:17:11.105933Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.2328892Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:47 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.2328892Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account show + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.2328892Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:49 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.2328892Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account show + Connection: + - keep-alive + ParameterSetName: + - --ids + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A11.2328892Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:51 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A11.2328892Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:17:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGQTNNTk00RldKNDNXUlBGTTJNVFBWUUlKTllHUHxCMTU2REREQTc0OTAwRDUzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_pool_by_name.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_pool_by_name.yaml new file mode 100644 index 00000000000..750e4786fd4 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_pool_by_name.yaml @@ -0,0 +1,552 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:20:02Z", + "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.6 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-05-31T16:20:02Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20: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: + - '1196' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A12.5640493Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3af1216f-2cc9-4fe6-8762-52b40a4b722f?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:12 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A12.5640493Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/3af1216f-2cc9-4fe6-8762-52b40a4b722f?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3af1216f-2cc9-4fe6-8762-52b40a4b722f","name":"3af1216f-2cc9-4fe6-8762-52b40a4b722f","status":"Succeeded","startTime":"2019-05-31T16:20:12.4182751Z","endTime":"2019-05-31T16:20:12.6370375Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:45 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + 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-05-31T16%3A20%3A12.7561872Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:48 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A12.7561872Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2019-05-01 + 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-05-31T16%3A20%3A52.0664731Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fd1412e5-62c2-4e52-9d60-e01fdf433163?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:20:52 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A52.0664731Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/fd1412e5-62c2-4e52-9d60-e01fdf433163?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fd1412e5-62c2-4e52-9d60-e01fdf433163","name":"fd1412e5-62c2-4e52-9d60-e01fdf433163","status":"Succeeded","startTime":"2019-05-31T16:20:51.9408011Z","endTime":"2019-05-31T16:20:52.4121864Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:24 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2019-05-01 + 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-05-31T16%3A20%3A52.5378109Z''\"","location":"eastus2","properties":{"poolId":"84279bd4-c0dd-cb96-d7b0-c32ed73b91cd","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:27 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A52.5378109Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool show + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a -p + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + 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-05-31T16%3A20%3A52.5378109Z''\"","location":"eastus2","properties":{"poolId":"84279bd4-c0dd-cb96-d7b0-c32ed73b91cd","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:29 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A52.5378109Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool show + Connection: + - keep-alive + ParameterSetName: + - --ids + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + 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-05-31T16%3A20%3A52.5378109Z''\"","location":"eastus2","properties":{"poolId":"84279bd4-c0dd-cb96-d7b0-c32ed73b91cd","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:21:31 GMT + etag: + - W/"datetime'2019-05-31T16%3A20%3A52.5378109Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:21:35 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSjJWVEo1NVU3Uk9XQ1FKWEZUUEFWNldDVE5EUFJTVnxBRjlFNTA4RDA5MkJGNUVBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_snapshot.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_snapshot.yaml new file mode 100644 index 00000000000..3ead4ed1597 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_snapshot.yaml @@ -0,0 +1,1443 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T16:19:06Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T16:19:06Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19: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: + - '1197' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.5.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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"d49d7447-57dd-4e44-b62e-bcf5d44a9555\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"3d1bebf4-e566-4479-a1c8-564fa1b60fc7\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": 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/eastus2/operations/e4f45213-4d68-49ae-8533-920a820ccee1?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:14 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/e4f45213-4d68-49ae-8533-920a820ccee1?api-version=2019-04-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, 04 Jun 2019 16:19:18 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"6efb18df-2543-40f9-a7d8-e0cece8dd9f4\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"3d1bebf4-e566-4479-a1c8-564fa1b60fc7\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:19 GMT + etag: + - W/"6efb18df-2543-40f9-a7d8-e0cece8dd9f4" + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"6efb18df-2543-40f9-a7d8-e0cece8dd9f4\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"3d1bebf4-e566-4479-a1c8-564fa1b60fc7\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:20 GMT + etag: + - W/"6efb18df-2543-40f9-a7d8-e0cece8dd9f4" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02", + "etag": "W/\"6efb18df-2543-40f9-a7d8-e0cece8dd9f4\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-lefr-02", + "properties": {"addressPrefix": "10.5.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.5.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "3d1bebf4-e566-4479-a1c8-564fa1b60fc7", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '771' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"fdb45716-6437-4956-b2e1-af4a42a30e9c\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"3d1bebf4-e566-4479-a1c8-564fa1b60fc7\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"fdb45716-6437-4956-b2e1-af4a42a30e9c\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ + ,\r\n \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\"\ + : [\r\n {\r\n \"name\": \"0\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"fdb45716-6437-4956-b2e1-af4a42a30e9c\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/ddd2124e-3e9c-4ac1-a06f-86a624cf4b11?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2250' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19: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 + x-ms-ratelimit-remaining-subscription-writes: + - '1196' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/ddd2124e-3e9c-4ac1-a06f-86a624cf4b11?api-version=2019-04-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, 04 Jun 2019 16:19: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 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"f0a4475b-28c7-46e1-a793-97ec8bb345ab\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"3d1bebf4-e566-4479-a1c8-564fa1b60fc7\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"f0a4475b-28c7-46e1-a793-97ec8bb345ab\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\"\ + : [\r\n {\r\n \"name\": \"0\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"f0a4475b-28c7-46e1-a793-97ec8bb345ab\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2252' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:24 GMT + etag: + - W/"f0a4475b-28c7-46e1-a793-97ec8bb345ab" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A19%3A29.3347144Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0025b1b1-bf87-467d-9146-5fcf7820cabb?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:29 GMT + etag: + - W/"datetime'2019-06-04T16%3A19%3A29.3347144Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0025b1b1-bf87-467d-9146-5fcf7820cabb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0025b1b1-bf87-467d-9146-5fcf7820cabb","name":"0025b1b1-bf87-467d-9146-5fcf7820cabb","status":"Succeeded","startTime":"2019-06-04T16:19:29.1721621Z","endTime":"2019-06-04T16:19:29.4065324Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:00 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A19%3A29.5379013Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:01 GMT + etag: + - W/"datetime'2019-06-04T16%3A19%3A29.5379013Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A04.559164Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/446abcb0-ed46-411a-92c0-57b0ead81b70?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '541' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:04 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A04.559164Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/446abcb0-ed46-411a-92c0-57b0ead81b70?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/446abcb0-ed46-411a-92c0-57b0ead81b70","name":"446abcb0-ed46-411a-92c0-57b0ead81b70","status":"Succeeded","startTime":"2019-06-04T16:20:04.4031244Z","endTime":"2019-06-04T16:20:04.9344038Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A05.0776438Z''\"","location":"eastus2","properties":{"poolId":"b5b1b070-b65d-2b27-6887-28a98b99303b","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:36 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A05.0776438Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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-lefr-02/subnets/cli-subnet-lefr-02", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + Content-Length: + - '389' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A39.9689621Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:39 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A39.9689621Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc","name":"cfc73631-d363-4fd4-9f80-ffeabdbeaafc","status":"Creating","startTime":"2019-06-04T16:20:39.7821936Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:10 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc","name":"cfc73631-d363-4fd4-9f80-ffeabdbeaafc","status":"Creating","startTime":"2019-06-04T16:20:39.7821936Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc","name":"cfc73631-d363-4fd4-9f80-ffeabdbeaafc","status":"Creating","startTime":"2019-06-04T16:20:39.7821936Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:22:12 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc","name":"cfc73631-d363-4fd4-9f80-ffeabdbeaafc","status":"Creating","startTime":"2019-06-04T16:20:39.7821936Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:22:43 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/cfc73631-d363-4fd4-9f80-ffeabdbeaafc","name":"cfc73631-d363-4fd4-9f80-ffeabdbeaafc","status":"Succeeded","startTime":"2019-06-04T16:20:39.7821936Z","endTime":"2019-06-04T16:23:09.1995419Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:13 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A23%3A09.2331592Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"7816e9e3-597a-086a-7cc0-48e0ceeefdd0","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_431de7e5","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7f697df9-aec2-8e29-17e4-4c2599c70ff1","fileSystemId":"7816e9e3-597a-086a-7cc0-48e0ceeefdd0","startIp":"10.5.0.4","endIp":"10.5.0.4","gateway":"10.5.0.1","netmask":"255.255.255.0","ipAddress":"10.5.0.4"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:15 GMT + etag: + - W/"datetime'2019-06-04T16%3A23%3A09.2331592Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "7816e9e3-597a-086a-7cc0-48e0ceeefdd0"}, + "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"6/4/2019 + 4:23:22 PM","location":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"659fa05b-f1ad-0ce5-74f2-17ec1ee9beb2","fileSystemId":"7816e9e3-597a-086a-7cc0-48e0ceeefdd0","name":"cli-sn-000005","created":"2019-06-04T16:23:19Z"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '777' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:22 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"659fa05b-f1ad-0ce5-74f2-17ec1ee9beb2","fileSystemId":"7816e9e3-597a-086a-7cc0-48e0ceeefdd0","name":"cli-sn-000005","created":"2019-06-04T16:23:19Z"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '748' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:23 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles snapshot show + Connection: + - keep-alive + ParameterSetName: + - --ids + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"659fa05b-f1ad-0ce5-74f2-17ec1ee9beb2","fileSystemId":"7816e9e3-597a-086a-7cc0-48e0ceeefdd0","name":"cli-sn-000005","created":"2019-06-04T16:23:19Z"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '748' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:24 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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, 04 Jun 2019 16:23:27 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdVUjJQSFRZUkU0VElPTENYSTVKV1BCUTY3WkEzRFZRTVBBWnwxQTcyNzFFREI4RDdFRTIzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_volume_by_name.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_volume_by_name.yaml new file mode 100644 index 00000000000..2220f8a1ea5 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_get_volume_by_name.yaml @@ -0,0 +1,1443 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T15:55:04Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T15:55:04Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:08 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": "eastus2", "properties": {"dhcpOptions": + {}, "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: + - '125' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"f52ba018-7154-4650-89fe-880be8f61f7b\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"6d754925-6b33-4759-a767-9e712c14583b\"\ + ,\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/eastus2/operations/c2aba5e6-3cd4-4a7e-a175-76e3bc4a76e1?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '806' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55: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: + - '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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/c2aba5e6-3cd4-4a7e-a175-76e3bc4a76e1?api-version=2019-04-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, 04 Jun 2019 15:55:15 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"7ec0e7d7-5be6-4b8c-ad4b-2067a873ac2d\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"6d754925-6b33-4759-a767-9e712c14583b\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:15 GMT + etag: + - W/"7ec0e7d7-5be6-4b8c-ad4b-2067a873ac2d" + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + 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=2019-04-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/\\\"7ec0e7d7-5be6-4b8c-ad4b-2067a873ac2d\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"6d754925-6b33-4759-a767-9e712c14583b\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:16 GMT + etag: + - W/"7ec0e7d7-5be6-4b8c-ad4b-2067a873ac2d" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005", + "etag": "W/\"7ec0e7d7-5be6-4b8c-ad4b-2067a873ac2d\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-000006", + "properties": {"addressPrefix": "10.12.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.12.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "6d754925-6b33-4759-a767-9e712c14583b", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '779' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"593bf486-45f0-48af-b72e-cf97826adbe0\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"6d754925-6b33-4759-a767-9e712c14583b\"\ + ,\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 {\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/\\\"593bf486-45f0-48af-b72e-cf97826adbe0\\\"\"\ + ,\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/\\\"593bf486-45f0-48af-b72e-cf97826adbe0\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1e2934c1-2b15-4036-a223-1c40b86d9436?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2278' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:17 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/1e2934c1-2b15-4036-a223-1c40b86d9436?api-version=2019-04-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, 04 Jun 2019 15:55: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 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"980f6baf-9ab8-4eba-ade8-baf2e0e68d39\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"6d754925-6b33-4759-a767-9e712c14583b\"\ + ,\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 {\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/\\\"980f6baf-9ab8-4eba-ade8-baf2e0e68d39\\\"\"\ + ,\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/\\\"980f6baf-9ab8-4eba-ade8-baf2e0e68d39\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2280' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:22 GMT + etag: + - W/"980f6baf-9ab8-4eba-ade8-baf2e0e68d39" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A25.2440717Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ea0969f3-df4f-4270-bcf0-d30995139638?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:24 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A25.2440717Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ea0969f3-df4f-4270-bcf0-d30995139638?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ea0969f3-df4f-4270-bcf0-d30995139638","name":"ea0969f3-df4f-4270-bcf0-d30995139638","status":"Succeeded","startTime":"2019-06-04T15:55:25.0794458Z","endTime":"2019-06-04T15:55:25.360709Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:56 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A25.5133246Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:57 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A25.5133246Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag2": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A00.1978954Z''\"","location":"eastus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0f08c89f-00e7-4e38-9385-bdcf0bbc284e?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:00 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A00.1978954Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0f08c89f-00e7-4e38-9385-bdcf0bbc284e?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/0f08c89f-00e7-4e38-9385-bdcf0bbc284e","name":"0f08c89f-00e7-4e38-9385-bdcf0bbc284e","status":"Succeeded","startTime":"2019-06-04T15:56:00.0311854Z","endTime":"2019-06-04T15:56:00.9843256Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:30 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A01.0757197Z''\"","location":"eastus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"c00b6e62-925f-da20-1a3f-216051fbffc4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:31 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A01.0757197Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "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"}, "tags": {"Tag2": + "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + 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 --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A36.2158513Z''\"","location":"eastus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '935' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:36 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A36.2158513Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95","name":"b77b0213-000f-43e3-84a2-8a1dc9308b95","status":"Creating","startTime":"2019-06-04T15:56:36.0700981Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:07 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95","name":"b77b0213-000f-43e3-84a2-8a1dc9308b95","status":"Creating","startTime":"2019-06-04T15:56:36.0700981Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95","name":"b77b0213-000f-43e3-84a2-8a1dc9308b95","status":"Creating","startTime":"2019-06-04T15:56:36.0700981Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95","name":"b77b0213-000f-43e3-84a2-8a1dc9308b95","status":"Creating","startTime":"2019-06-04T15:56:36.0700981Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:40 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95","name":"b77b0213-000f-43e3-84a2-8a1dc9308b95","status":"Creating","startTime":"2019-06-04T15:56:36.0700981Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:11 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b77b0213-000f-43e3-84a2-8a1dc9308b95","name":"b77b0213-000f-43e3-84a2-8a1dc9308b95","status":"Succeeded","startTime":"2019-06-04T15:56:36.0700981Z","endTime":"2019-06-04T15:59:39.1368811Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A59%3A39.1718259Z''\"","location":"eastus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e74d7060-3a23-19d7-24e4-69da753a86b3","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_599d4a49","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":"de2875eb-fd4b-2aba-afdb-fb16f42505db","fileSystemId":"e74d7060-3a23-19d7-24e4-69da753a86b3","startIp":"10.12.0.5","endIp":"10.12.0.5","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1660' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:43 GMT + etag: + - W/"datetime'2019-06-04T15%3A59%3A39.1718259Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume show + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a -p -v + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A59%3A39.1718259Z''\"","location":"eastus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e74d7060-3a23-19d7-24e4-69da753a86b3","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_599d4a49","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":"de2875eb-fd4b-2aba-afdb-fb16f42505db","fileSystemId":"e74d7060-3a23-19d7-24e4-69da753a86b3","startIp":"10.12.0.5","endIp":"10.12.0.5","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1660' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:44 GMT + etag: + - W/"datetime'2019-06-04T15%3A59%3A39.1718259Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume show + Connection: + - keep-alive + ParameterSetName: + - --ids + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A59%3A39.1718259Z''\"","location":"eastus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"e74d7060-3a23-19d7-24e4-69da753a86b3","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_599d4a49","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":"de2875eb-fd4b-2aba-afdb-fb16f42505db","fileSystemId":"e74d7060-3a23-19d7-24e4-69da753a86b3","startIp":"10.12.0.5","endIp":"10.12.0.5","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1660' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:46 GMT + etag: + - W/"datetime'2019-06-04T15%3A59%3A39.1718259Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 15:59:57 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSUQ2SUtSSURKR1JQV1JRU1lWVUJERFBLSzdCRVdWWHxCMzUxRDI2RTQ2RTA1OUNELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_accounts.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_accounts.yaml new file mode 100644 index 00000000000..a7944bab730 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_accounts.yaml @@ -0,0 +1,757 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:17:00Z", + "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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001","name":"cli_tests_rg_000001","location":"westus","tags":{"date":"2019-05-31T16:17:00Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17: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": "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A10.4353127Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5212d815-a2a1-47ef-8160-eab6fa1e293b?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:10 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A10.4353127Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/5212d815-a2a1-47ef-8160-eab6fa1e293b?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5212d815-a2a1-47ef-8160-eab6fa1e293b","name":"5212d815-a2a1-47ef-8160-eab6fa1e293b","status":"Succeeded","startTime":"2019-05-31T16:17:10.2622244Z","endTime":"2019-05-31T16:17:10.5121104Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A10.6334558Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:46 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A10.6334558Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A51.8811821Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5e1ba980-b575-4ae8-be90-68af4a792eaf?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:17:52 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A51.8811821Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/5e1ba980-b575-4ae8-be90-68af4a792eaf?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5e1ba980-b575-4ae8-be90-68af4a792eaf","name":"5e1ba980-b575-4ae8-be90-68af4a792eaf","status":"Succeeded","startTime":"2019-05-31T16:17:51.6928596Z","endTime":"2019-05-31T16:17:51.9428965Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:24 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A52.0713195Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:27 GMT + etag: + - W/"datetime'2019-05-31T16%3A17%3A52.0713195Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account list + Connection: + - keep-alive + ParameterSetName: + - -g + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A52.0713195Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A17%3A10.6334558Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '969' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/df206f14-c699-4b14-8ae3-c43c009db2ae?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:18:32 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/df206f14-c699-4b14-8ae3-c43c009db2ae?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/df206f14-c699-4b14-8ae3-c43c009db2ae?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/df206f14-c699-4b14-8ae3-c43c009db2ae","name":"df206f14-c699-4b14-8ae3-c43c009db2ae","status":"Succeeded","startTime":"2019-05-31T16:18:32.1318183Z","endTime":"2019-05-31T16:18:32.3035726Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:04 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/21fa7b2d-f0a7-4969-a7f1-1b4ee9abee6f?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:19:07 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/21fa7b2d-f0a7-4969-a7f1-1b4ee9abee6f?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/21fa7b2d-f0a7-4969-a7f1-1b4ee9abee6f?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/21fa7b2d-f0a7-4969-a7f1-1b4ee9abee6f","name":"21fa7b2d-f0a7-4969-a7f1-1b4ee9abee6f","status":"Succeeded","startTime":"2019-05-31T16:19:07.9029703Z","endTime":"2019-05-31T16:19:08.0748321Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:38 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:19:40 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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:19:44 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGNTNRRERDWlpNWEVKV1VVWUFOUlFZRDRPUENITnxEOUZGREFBQTBCMjU4OEQxLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_mount_targets.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_mount_targets.yaml new file mode 100644 index 00000000000..17c58ce03ab --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_mount_targets.yaml @@ -0,0 +1,1384 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T15:21:46Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T15:21:46Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22: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": "eastus2", "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 --resource-group -l + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-01?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-01\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"b32324a4-a928-45df-8252-d27fb81129f5\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"5dee712a-6739-40f6-8f3b-97b0d05dac5a\"\ + ,\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/eastus2/operations/9754ffac-91ff-4afb-b800-f22b8099e8cc?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22:09 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 --resource-group -l + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/9754ffac-91ff-4afb-b800-f22b8099e8cc?api-version=2019-04-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, 04 Jun 2019 15:22:15 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 --resource-group -l + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-01\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"6c46afcb-e106-4ad7-83cf-cc2180e63786\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"5dee712a-6739-40f6-8f3b-97b0d05dac5a\"\ + ,\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: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22:16 GMT + etag: + - W/"6c46afcb-e106-4ad7-83cf-cc2180e63786" + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-01\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"6c46afcb-e106-4ad7-83cf-cc2180e63786\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"5dee712a-6739-40f6-8f3b-97b0d05dac5a\"\ + ,\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: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22:18 GMT + etag: + - W/"6c46afcb-e106-4ad7-83cf-cc2180e63786" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01", + "etag": "W/\"6c46afcb-e106-4ad7-83cf-cc2180e63786\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-lefr-01", + "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "5dee712a-6739-40f6-8f3b-97b0d05dac5a", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '771' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-01?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-01\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"1a694aeb-dc31-44ff-a191-757916e2a583\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"5dee712a-6739-40f6-8f3b-97b0d05dac5a\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-01\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01/subnets/cli-subnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"1a694aeb-dc31-44ff-a191-757916e2a583\\\"\"\ + ,\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-lefr-01/subnets/cli-subnet-lefr-01/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"1a694aeb-dc31-44ff-a191-757916e2a583\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/62b2732d-4601-4d0b-97c9-5dea4c2cd428?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2250' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22:20 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/62b2732d-4601-4d0b-97c9-5dea4c2cd428?api-version=2019-04-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, 04 Jun 2019 15:22:26 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-01\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"79d1ad24-bed2-42ed-8a3b-8843833f8a96\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"5dee712a-6739-40f6-8f3b-97b0d05dac5a\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-01\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01/subnets/cli-subnet-lefr-01\"\ + ,\r\n \"etag\": \"W/\\\"79d1ad24-bed2-42ed-8a3b-8843833f8a96\\\"\"\ + ,\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-lefr-01/subnets/cli-subnet-lefr-01/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"79d1ad24-bed2-42ed-8a3b-8843833f8a96\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2252' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22:28 GMT + etag: + - W/"79d1ad24-bed2-42ed-8a3b-8843833f8a96" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-01?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01","name":"cli-acc-lefr-01","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-06-04T15%3A22%3A33.9058686Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6cf62afd-9334-43d2-bb6c-6ec786826fcc?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '426' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:22:34 GMT + etag: + - W/"datetime'2019-06-04T15%3A22%3A33.9058686Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6cf62afd-9334-43d2-bb6c-6ec786826fcc?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/6cf62afd-9334-43d2-bb6c-6ec786826fcc","name":"6cf62afd-9334-43d2-bb6c-6ec786826fcc","status":"Succeeded","startTime":"2019-06-04T15:22:33.7338457Z","endTime":"2019-06-04T15:22:33.9525956Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:23:08 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01","name":"cli-acc-lefr-01","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-06-04T15%3A22%3A34.1000522Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '426' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:23:11 GMT + etag: + - W/"datetime'2019-06-04T15%3A22%3A34.1000522Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-01/capacityPools/cli-pool-lefr-01?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01","name":"cli-acc-lefr-01/cli-pool-lefr-01","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-06-04T15%3A23%3A18.0929186Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ae00f457-8931-4847-92d0-74ddc46abf0d?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '508' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:23:18 GMT + etag: + - W/"datetime'2019-06-04T15%3A23%3A18.0929186Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ae00f457-8931-4847-92d0-74ddc46abf0d?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ae00f457-8931-4847-92d0-74ddc46abf0d","name":"ae00f457-8931-4847-92d0-74ddc46abf0d","status":"Succeeded","startTime":"2019-06-04T15:23:17.8970643Z","endTime":"2019-06-04T15:23:26.0849109Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '598' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:23:51 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01","name":"cli-acc-lefr-01/cli-pool-lefr-01","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-06-04T15%3A23%3A27.7621225Z''\"","location":"eastus2","properties":{"poolId":"fc66cbdb-41d0-c948-f2aa-a45b4e537a0a","name":"cli-acc-lefr-01/cli-pool-lefr-01","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '599' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:23:53 GMT + etag: + - W/"datetime'2019-06-04T15%3A23%3A27.7621225Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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-lefr-01/subnets/cli-subnet-lefr-01", + "serviceLevel": "Premium", "creationToken": "cli-volume-lefr-01"}, "location": + "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + Content-Length: + - '383' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01","name":"cli-acc-lefr-01/cli-pool-lefr-01/cli-volume-lefr-01","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-06-04T15%3A24%3A00.910684Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","creationToken":"cli-volume-lefr-01","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01/subnets/cli-subnet-lefr-01","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '851' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:24:01 GMT + etag: + - W/"datetime'2019-06-04T15%3A24%3A00.910684Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","name":"dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","status":"Creating","startTime":"2019-06-04T15:24:00.7405761Z","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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:24:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","name":"dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","status":"Creating","startTime":"2019-06-04T15:24:00.7405761Z","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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:25:06 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","name":"dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","status":"Creating","startTime":"2019-06-04T15:24:00.7405761Z","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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:25:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","name":"dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","status":"Creating","startTime":"2019-06-04T15:24:00.7405761Z","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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:26:11 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","name":"dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","status":"Creating","startTime":"2019-06-04T15:24:00.7405761Z","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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:26:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","name":"dd9bb0d0-fdc4-43a9-a139-b3b8c739b143","status":"Succeeded","startTime":"2019-06-04T15:24:00.7405761Z","endTime":"2019-06-04T15:26:55.2496718Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '625' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:27:16 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01","name":"cli-acc-lefr-01/cli-pool-lefr-01/cli-volume-lefr-01","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-06-04T15%3A26%3A55.2972944Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"c1de4c71-7efc-80b7-5b14-915ae739d045","name":"cli-volume-lefr-01","serviceLevel":"Premium","creationToken":"cli-volume-lefr-01","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_8676c7d2","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-01/subnets/cli-subnet-lefr-01","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"ba1716a7-4906-0efb-6d42-7436541bbb0f","fileSystemId":"c1de4c71-7efc-80b7-5b14-915ae739d045","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1567' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:27:20 GMT + etag: + - W/"datetime'2019-06-04T15%3A26%3A55.2972944Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles list-mount-targets + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a -p -v + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01/mountTargets?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-lefr-01/capacityPools/cli-pool-lefr-01/volumes/cli-volume-lefr-01/mountTargets/ba1716a7-4906-0efb-6d42-7436541bbb0f","name":"cli-acc-lefr-01/cli-pool-lefr-01/cli-volume-lefr-01/ba1716a7-4906-0efb-6d42-7436541bbb0f","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"eastus2","properties":{"provisioningState":"Succeeded","mountTargetId":"ba1716a7-4906-0efb-6d42-7436541bbb0f","fileSystemId":"c1de4c71-7efc-80b7-5b14-915ae739d045","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:27:23 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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, 04 Jun 2019 15:27:29 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZVEFUNlk2WFZIRkc0VzNERU8zTU43MlZSQVlSS0hCNlpQN3xDM0MwMEZCNDJCRjExNTJFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_pools.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_pools.yaml new file mode 100644 index 00000000000..898c8f30793 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_pools.yaml @@ -0,0 +1,938 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:23: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.6 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-05-31T16:23:39Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:23:43 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + 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-05-31T16%3A23%3A48.4423034Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ee359c0a-5035-4b49-a4c7-712e8a3124d9?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:23:49 GMT + etag: + - W/"datetime'2019-05-31T16%3A23%3A48.4423034Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/ee359c0a-5035-4b49-a4c7-712e8a3124d9?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/ee359c0a-5035-4b49-a4c7-712e8a3124d9","name":"ee359c0a-5035-4b49-a4c7-712e8a3124d9","status":"Succeeded","startTime":"2019-05-31T16:23:48.3262334Z","endTime":"2019-05-31T16:23:48.5218639Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:24:22 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + 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-05-31T16%3A23%3A48.6404448Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:24:25 GMT + etag: + - W/"datetime'2019-05-31T16%3A23%3A48.6404448Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2019-05-01 + 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-05-31T16%3A24%3A32.0564475Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/231340c3-1a03-4e42-b8a9-307256332c64?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:24:32 GMT + etag: + - W/"datetime'2019-05-31T16%3A24%3A32.0564475Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/231340c3-1a03-4e42-b8a9-307256332c64?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/231340c3-1a03-4e42-b8a9-307256332c64","name":"231340c3-1a03-4e42-b8a9-307256332c64","status":"Succeeded","startTime":"2019-05-31T16:24:31.8973887Z","endTime":"2019-05-31T16:24:32.5075338Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:25:05 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2019-05-01 + 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-05-31T16%3A24%3A32.5788173Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"b10326f9-8c5f-6287-44fe-1fe69f0349c6","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:25:08 GMT + etag: + - W/"datetime'2019-05-31T16%3A24%3A32.5788173Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2019-05-01 + 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-05-31T16%3A25%3A14.694913Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/534282ba-e559-48ef-b1e8-5c8cb617e473?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '566' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:25:14 GMT + etag: + - W/"datetime'2019-05-31T16%3A25%3A14.694913Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/534282ba-e559-48ef-b1e8-5c8cb617e473?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/534282ba-e559-48ef-b1e8-5c8cb617e473","name":"534282ba-e559-48ef-b1e8-5c8cb617e473","status":"Succeeded","startTime":"2019-05-31T16:25:14.5669907Z","endTime":"2019-05-31T16:25:15.0845567Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:25:46 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2019-05-01 + 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-05-31T16%3A25%3A15.5735424Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"4042de6b-08ed-509b-f8c3-8def005a29c1","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '675' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:25:46 GMT + etag: + - W/"datetime'2019-05-31T16%3A25%3A15.5735424Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + 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-05-31T16%3A24%3A32.5788173Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"b10326f9-8c5f-6287-44fe-1fe69f0349c6","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-05-31T16%3A25%3A15.5735424Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"4042de6b-08ed-509b-f8c3-8def005a29c1","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1363' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:25:49 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a42f828d-2bf9-43f8-a7d7-ca88c707e4a1?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:25:51 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a42f828d-2bf9-43f8-a7d7-ca88c707e4a1?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/a42f828d-2bf9-43f8-a7d7-ca88c707e4a1?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/a42f828d-2bf9-43f8-a7d7-ca88c707e4a1","name":"a42f828d-2bf9-43f8-a7d7-ca88c707e4a1","status":"Succeeded","startTime":"2019-05-31T16:25:52.0894546Z","endTime":"2019-05-31T16:25:52.355189Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:26:22 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/73b16749-5bd8-49d0-85fc-151ff8160e6b?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:26:25 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/73b16749-5bd8-49d0-85fc-151ff8160e6b?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/73b16749-5bd8-49d0-85fc-151ff8160e6b?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/73b16749-5bd8-49d0-85fc-151ff8160e6b","name":"73b16749-5bd8-49d0-85fc-151ff8160e6b","status":"Succeeded","startTime":"2019-05-31T16:26:25.5186102Z","endTime":"2019-05-31T16:26:25.7061168Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:26:56 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool list + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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=2019-05-01 + response: + body: + string: !!python/unicode '{"value":[]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '12' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:27:00 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:27:06 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHWlJLSk4zQ1NIVTZBV05HR0VFRldGSkxDSVhSQk5YRnw2MkJGM0Y3NDM0ODE5REE4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_snapshots.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_snapshots.yaml new file mode 100644 index 00000000000..3bd90706c60 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_snapshots.yaml @@ -0,0 +1,1771 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T16:19:06Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T16:19:06Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19: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: + - '1197' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2", "properties": {"dhcpOptions": + {}, "addressSpace": {"addressPrefixes": ["10.5.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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"ecc04074-ff40-45a0-8956-4e52e56712e7\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"c4494c1c-cb12-4e44-851a-1a4f712c141e\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": 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/eastus2/operations/2aeecfe1-029c-4f6a-9d85-1a6fece2aed4?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '789' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19: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' + 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/2aeecfe1-029c-4f6a-9d85-1a6fece2aed4?api-version=2019-04-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, 04 Jun 2019 16:19:18 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"642169e5-a1f9-4a3c-8ec0-10da009b5af5\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"c4494c1c-cb12-4e44-851a-1a4f712c141e\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:19 GMT + etag: + - W/"642169e5-a1f9-4a3c-8ec0-10da009b5af5" + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"642169e5-a1f9-4a3c-8ec0-10da009b5af5\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"c4494c1c-cb12-4e44-851a-1a4f712c141e\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ + \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ + : false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '790' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:19 GMT + etag: + - W/"642169e5-a1f9-4a3c-8ec0-10da009b5af5" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02", + "etag": "W/\"642169e5-a1f9-4a3c-8ec0-10da009b5af5\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-lefr-02", + "properties": {"addressPrefix": "10.5.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.5.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "c4494c1c-cb12-4e44-851a-1a4f712c141e", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '771' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"db7b060e-9d06-4472-b6fb-b67a31dca02e\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"c4494c1c-cb12-4e44-851a-1a4f712c141e\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"db7b060e-9d06-4472-b6fb-b67a31dca02e\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\"\ + ,\r\n \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\"\ + : [\r\n {\r\n \"name\": \"0\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"db7b060e-9d06-4472-b6fb-b67a31dca02e\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/9f1f1b3c-a9c9-4f1c-bf64-f921ed19f1a9?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2250' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:20 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/9f1f1b3c-a9c9-4f1c-bf64-f921ed19f1a9?api-version=2019-04-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, 04 Jun 2019 16:19: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 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-lefr-02\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"9dbe18f2-109a-4df9-b682-c57667bd0ff7\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"c4494c1c-cb12-4e44-851a-1a4f712c141e\"\ + ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ + 10.5.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ + : []\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"cli-subnet-lefr-02\"\ + ,\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02\"\ + ,\r\n \"etag\": \"W/\\\"9dbe18f2-109a-4df9-b682-c57667bd0ff7\\\"\"\ + ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ + ,\r\n \"addressPrefix\": \"10.5.0.0/24\",\r\n \"delegations\"\ + : [\r\n {\r\n \"name\": \"0\",\r\n \"\ + id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"9dbe18f2-109a-4df9-b682-c57667bd0ff7\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2252' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:24 GMT + etag: + - W/"9dbe18f2-109a-4df9-b682-c57667bd0ff7" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A19%3A28.6260625Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/bba63f1a-f844-4c7a-90f7-507d102ead53?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:28 GMT + etag: + - W/"datetime'2019-06-04T16%3A19%3A28.6260625Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/bba63f1a-f844-4c7a-90f7-507d102ead53?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/bba63f1a-f844-4c7a-90f7-507d102ead53","name":"bba63f1a-f844-4c7a-90f7-507d102ead53","status":"Succeeded","startTime":"2019-06-04T16:19:28.4291672Z","endTime":"2019-06-04T16:19:28.6791771Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:19:59 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A19%3A28.8192406Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:00 GMT + etag: + - W/"datetime'2019-06-04T16%3A19%3A28.8192406Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A04.4130286Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/078145ad-69e9-4801-af42-420ae97f7892?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:04 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A04.4130286Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/078145ad-69e9-4801-af42-420ae97f7892?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/078145ad-69e9-4801-af42-420ae97f7892","name":"078145ad-69e9-4801-af42-420ae97f7892","status":"Succeeded","startTime":"2019-06-04T16:20:04.2625281Z","endTime":"2019-06-04T16:20:04.8406459Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:35 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A05.0105817Z''\"","location":"eastus2","properties":{"poolId":"0aa79b43-3030-0f9d-4e50-ba7a628d758e","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:36 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A05.0105817Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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-lefr-02/subnets/cli-subnet-lefr-02", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + Content-Length: + - '389' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A20%3A40.1841619Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '904' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:20:39 GMT + etag: + - W/"datetime'2019-06-04T16%3A20%3A40.1841619Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:11 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:21:41 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:22:12 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:22:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:14 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:23:45 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:24:15 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:24:47 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:25:17 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Creating","startTime":"2019-06-04T16:20:40.0340262Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:25:49 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/7c589a01-e639-44f9-8fcc-4e0f3884d235","name":"7c589a01-e639-44f9-8fcc-4e0f3884d235","status":"Succeeded","startTime":"2019-06-04T16:20:40.0340262Z","endTime":"2019-06-04T16:25:55.3506562Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:19 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A25%3A55.3864213Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"1ac8e31a-807d-c3d3-7ac6-7626bfd09194","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_73f01e73","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-lefr-02/subnets/cli-subnet-lefr-02","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"49df9bda-ef3e-24fd-1bac-df3b7c0907c6","fileSystemId":"1ac8e31a-807d-c3d3-7ac6-7626bfd09194","startIp":"10.5.0.5","endIp":"10.5.0.5","gateway":"10.5.0.1","netmask":"255.255.255.0","ipAddress":"10.5.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1625' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:20 GMT + etag: + - W/"datetime'2019-06-04T16%3A25%3A55.3864213Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "1ac8e31a-807d-c3d3-7ac6-7626bfd09194"}, + "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"6/4/2019 + 4:26:26 PM","location":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"1521db28-3b87-b11c-3bad-51c0b1efe505","fileSystemId":"1ac8e31a-807d-c3d3-7ac6-7626bfd09194","name":"cli-sn-000005","created":"2019-06-04T16:26:24Z"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '777' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:26 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "1ac8e31a-807d-c3d3-7ac6-7626bfd09194"}, + "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"6/4/2019 + 4:26:32 PM","location":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"bcae6bdc-abc0-5149-3e9d-b0cad46aa839","fileSystemId":"1ac8e31a-807d-c3d3-7ac6-7626bfd09194","name":"cli-sn-000006","created":"2019-06-04T16:26:30Z"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '777' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"1521db28-3b87-b11c-3bad-51c0b1efe505","fileSystemId":"1ac8e31a-807d-c3d3-7ac6-7626bfd09194","name":"cli-sn-000005","created":"2019-06-04T16:26:24Z"}},{"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":"eastus2","properties":{"provisioningState":"Succeeded","snapshotId":"bcae6bdc-abc0-5149-3e9d-b0cad46aa839","fileSystemId":"1ac8e31a-807d-c3d3-7ac6-7626bfd09194","name":"cli-sn-000006","created":"2019-06-04T16:26:30Z"}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1509' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:26:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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, 04 Jun 2019 16:26:37 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdUNTdETDdGSUtNQ1BQUzRWUkI1SjNZWDQ1NTZGS1dENE5KM3xBRjE1OEUzRjFCOUIyOTJGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_volumes.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_volumes.yaml new file mode 100644 index 00000000000..3ebe3023f76 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_list_volumes.yaml @@ -0,0 +1,2912 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T15:55:04Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T15:55:04Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:09 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": "eastus2", "properties": {"dhcpOptions": + {}, "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: + - '125' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-000006?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"ce940fd7-683b-4816-9165-6f91228744f4\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"a7201db6-4bb2-494a-ad42-ac5524f53321\"\ + ,\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/eastus2/operations/da347aa2-86d9-4c97-b67c-bdb2dc356903?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '806' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55: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: + - '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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/da347aa2-86d9-4c97-b67c-bdb2dc356903?api-version=2019-04-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, 04 Jun 2019 15:55:16 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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"13293db7-147e-4989-915b-077ff3274dc1\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"a7201db6-4bb2-494a-ad42-ac5524f53321\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:16 GMT + etag: + - W/"13293db7-147e-4989-915b-077ff3274dc1" + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"13293db7-147e-4989-915b-077ff3274dc1\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"a7201db6-4bb2-494a-ad42-ac5524f53321\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:17 GMT + etag: + - W/"13293db7-147e-4989-915b-077ff3274dc1" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006", + "etag": "W/\"13293db7-147e-4989-915b-077ff3274dc1\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-000007", + "properties": {"addressPrefix": "10.12.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.12.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "a7201db6-4bb2-494a-ad42-ac5524f53321", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '779' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-000006?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"20708e51-6b75-482c-b46b-2f11f6b92b60\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"a7201db6-4bb2-494a-ad42-ac5524f53321\"\ + ,\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 {\r\n \"\ + name\": \"cli-subnet-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"20708e51-6b75-482c-b46b-2f11f6b92b60\\\"\"\ + ,\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-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"20708e51-6b75-482c-b46b-2f11f6b92b60\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/7a2cf6cb-ed36-4599-9d17-4ba9f63426be?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2278' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:19 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/7a2cf6cb-ed36-4599-9d17-4ba9f63426be?api-version=2019-04-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, 04 Jun 2019 15:55:22 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006?api-version=2019-04-01 + response: + body: + string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"id\"\ + : \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ + ,\r\n \"etag\": \"W/\\\"5568083a-2f89-45ff-baeb-08dbcb469368\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"a7201db6-4bb2-494a-ad42-ac5524f53321\"\ + ,\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 {\r\n \"\ + name\": \"cli-subnet-000007\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ + ,\r\n \"etag\": \"W/\\\"5568083a-2f89-45ff-baeb-08dbcb469368\\\"\"\ + ,\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-000006/subnets/cli-subnet-000007/delegations/0\"\ + ,\r\n \"etag\": \"W/\\\"5568083a-2f89-45ff-baeb-08dbcb469368\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2280' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:22 GMT + etag: + - W/"5568083a-2f89-45ff-baeb-08dbcb469368" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A26.2780431Z''\"","location":"eastus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/c4b48f35-4b97-48fd-a50a-7a5301290f70?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:26 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A26.2780431Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/c4b48f35-4b97-48fd-a50a-7a5301290f70?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/c4b48f35-4b97-48fd-a50a-7a5301290f70","name":"c4b48f35-4b97-48fd-a50a-7a5301290f70","status":"Succeeded","startTime":"2019-06-04T15:55:26.1300915Z","endTime":"2019-06-04T15:55:26.3332196Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:57 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A55%3A26.479232Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:55:57 GMT + etag: + - W/"datetime'2019-06-04T15%3A55%3A26.479232Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A00.7814433Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b11b1016-dab6-4392-bd5e-3c8579a4b4fb?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '567' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:01 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A00.7814433Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b11b1016-dab6-4392-bd5e-3c8579a4b4fb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/b11b1016-dab6-4392-bd5e-3c8579a4b4fb","name":"b11b1016-dab6-4392-bd5e-3c8579a4b4fb","status":"Succeeded","startTime":"2019-06-04T15:56:00.6433374Z","endTime":"2019-06-04T15:56:01.0964823Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A01.187825Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"ae563134-354d-317b-b64b-63202e901944","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '674' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:32 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A01.187825Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"usageThreshold": + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": + "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + 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 --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T15%3A56%3A37.0586486Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '935' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:56:37 GMT + etag: + - W/"datetime'2019-06-04T15%3A56%3A37.0586486Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:08 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:57:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:09 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:58:41 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:12 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 15:59:43 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:00:14 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:00:45 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:01:16 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:01:47 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:02:18 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:02:49 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:21 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:03:52 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:04:23 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:04:54 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:05:25 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:05:56 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:06:27 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:06:58 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:07:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:08:00 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:08:32 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:09:03 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:09:34 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:10:05 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Creating","startTime":"2019-06-04T15:56:36.8847657Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:10:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fdd57a8c-8fa4-4d79-96de-8fabca235bdb","name":"fdd57a8c-8fa4-4d79-96de-8fabca235bdb","status":"Succeeded","startTime":"2019-06-04T15:56:36.8847657Z","endTime":"2019-06-04T16:10:52.2352312Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:07 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A10%3A52.280896Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"c8630837-3662-2e4b-97b7-4f4b1d85d00e","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_27f4393c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a05c23f0-21f0-c84f-8632-aac79f49c0e4","fileSystemId":"c8630837-3662-2e4b-97b7-4f4b1d85d00e","startIp":"10.12.0.8","endIp":"10.12.0.8","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.8"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1659' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:08 GMT + etag: + - W/"datetime'2019-06-04T16%3A10%3A52.280896Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"usageThreshold": + 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007", + "serviceLevel": "Premium", "creationToken": "cli-vol-000005"}, "tags": {"Tag1": + "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + Content-Length: + - '423' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -g -a -p -v -l --service-level --usage-threshold --creation-token --vnet --subnet + --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-000005?api-version=2019-05-01 + 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-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-06-04T16%3A11%3A13.6662833Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000005","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/8ed85d9e-b390-4b02-a700-56da9b8fcd48?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '935' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:13 GMT + etag: + - W/"datetime'2019-06-04T16%3A11%3A13.6662833Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - -g -a -p -v -l --service-level --usage-threshold --creation-token --vnet --subnet + --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/8ed85d9e-b390-4b02-a700-56da9b8fcd48?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/8ed85d9e-b390-4b02-a700-56da9b8fcd48","name":"8ed85d9e-b390-4b02-a700-56da9b8fcd48","status":"Succeeded","startTime":"2019-06-04T16:11:13.5046492Z","endTime":"2019-06-04T16:11:27.5677011Z","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-000005"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:44 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - -g -a -p -v -l --service-level --usage-threshold --creation-token --vnet --subnet + --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-000005?api-version=2019-05-01 + 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-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-06-04T16%3A11%3A27.6085733Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"3c379aae-acb9-551e-5a1f-2d4e915c181b","name":"cli-vol-000005","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_27f4393c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2893bde9-45aa-cf13-9f37-7085807ec53c","fileSystemId":"3c379aae-acb9-551e-5a1f-2d4e915c181b","startIp":"10.8.0.64","endIp":"10.8.0.127","gateway":"10.8.0.65","netmask":"255.255.255.192","ipAddress":"10.12.0.8"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1663' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:44 GMT + etag: + - W/"datetime'2019-06-04T16%3A11%3A27.6085733Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume list + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a -p + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A10%3A52.280896Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"c8630837-3662-2e4b-97b7-4f4b1d85d00e","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_27f4393c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"a05c23f0-21f0-c84f-8632-aac79f49c0e4","fileSystemId":"c8630837-3662-2e4b-97b7-4f4b1d85d00e","startIp":"10.12.0.8","endIp":"10.12.0.8","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.8"}]}},{"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-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-06-04T16%3A11%3A27.6085733Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"3c379aae-acb9-551e-5a1f-2d4e915c181b","name":"cli-vol-000005","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_27f4393c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2893bde9-45aa-cf13-9f37-7085807ec53c","fileSystemId":"3c379aae-acb9-551e-5a1f-2d4e915c181b","startIp":"10.8.0.64","endIp":"10.8.0.127","gateway":"10.8.0.65","netmask":"255.255.255.192","ipAddress":"10.12.0.8"}]}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '3335' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:11:46 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + response: + body: + string: !!python/unicode '' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/18dfc062-0160-412a-9a1e-9730f061c800?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:11:48 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/18dfc062-0160-412a-9a1e-9730f061c800?api-version=2019-05-01&operationResultResponseType=Location + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/18dfc062-0160-412a-9a1e-9730f061c800?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/18dfc062-0160-412a-9a1e-9730f061c800","name":"18dfc062-0160-412a-9a1e-9730f061c800","status":"Succeeded","startTime":"2019-06-04T16:11:48.6719318Z","endTime":"2019-06-04T16:11:52.1464529Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:19 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-06-04T16%3A11%3A27.6085733Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"3c379aae-acb9-551e-5a1f-2d4e915c181b","name":"cli-vol-000005","serviceLevel":"Premium","creationToken":"cli-vol-000005","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_27f4393c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"2893bde9-45aa-cf13-9f37-7085807ec53c","fileSystemId":"3c379aae-acb9-551e-5a1f-2d4e915c181b","startIp":"10.8.0.64","endIp":"10.8.0.127","gateway":"10.8.0.65","netmask":"255.255.255.192","ipAddress":"10.12.0.8"}]}}]}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1675' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:20 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:13:30 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUTdLUjQ1R0VaSlpKTEdJM0FUWVBGSVNaWUlYREZWNXw2NDIzNzkyREFFNEZCNjUzLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_account.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_account.yaml new file mode 100644 index 00000000000..a3e2144c335 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_account.yaml @@ -0,0 +1,388 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-05-31T16:18:05Z", + "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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001","name":"cli_tests_rg_000001","location":"westus","tags":{"date":"2019-05-31T16:18:05Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:09 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A14.0911902Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3621b057-fdaf-4de3-bde4-6622234c9ab6?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:14 GMT + etag: + - W/"datetime'2019-05-31T16%3A18%3A14.0911902Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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.NetApp/locations/eastus2/operationResults/3621b057-fdaf-4de3-bde4-6622234c9ab6?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3621b057-fdaf-4de3-bde4-6622234c9ab6","name":"3621b057-fdaf-4de3-bde4-6622234c9ab6","status":"Succeeded","startTime":"2019-05-31T16:18:13.9594774Z","endTime":"2019-05-31T16:18:14.1626005Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:46 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A14.2853308Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:49 GMT + etag: + - W/"datetime'2019-05-31T16%3A18%3A14.2853308Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account update + Connection: + - keep-alive + ParameterSetName: + - --resource-group -a --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A14.2853308Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:52 GMT + etag: + - W/"datetime'2019-05-31T16%3A18%3A14.2853308Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles account update + Connection: + - keep-alive + Content-Length: + - '28' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - --resource-group -a --tags + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.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_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-05-31T16%3A18%3A57.1998436Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '478' + content-type: + - application/json; charset=utf-8 + date: + - Fri, 31 May 2019 16:18:58 GMT + etag: + - W/"datetime'2019-05-31T16%3A18%3A57.1998436Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 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_rg_000001?api-version=2018-05-01 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Fri, 31 May 2019 16:19:04 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGRkpGU0hWUENXTFFUM0pLSEpSSUdINjVCVlhZRnxGNjJEOEE1QjZEQzcwODdDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_pool.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_pool.yaml new file mode 100644 index 00000000000..7abf775ab4a --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_pool.yaml @@ -0,0 +1,559 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T18:59:40Z", + "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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T18:59:40Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 18:59:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T18%3A59%3A48.5609467Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5ef9c030-1e7e-41a5-a1a5-44a6ab71d212?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 18:59:49 GMT + etag: + - W/"datetime'2019-06-04T18%3A59%3A48.5609467Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5ef9c030-1e7e-41a5-a1a5-44a6ab71d212?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/5ef9c030-1e7e-41a5-a1a5-44a6ab71d212","name":"5ef9c030-1e7e-41a5-a1a5-44a6ab71d212","status":"Succeeded","startTime":"2019-06-04T18:59:48.3878555Z","endTime":"2019-06-04T18:59:51.5933371Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '576' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:00:21 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T18%3A59%3A53.2333646Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:00:21 GMT + etag: + - W/"datetime'2019-06-04T18%3A59%3A53.2333646Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T19%3A00%3A25.6991231Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/003d7e1f-40fb-4f95-bcc8-2810f33c96ee?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:00:31 GMT + etag: + - W/"datetime'2019-06-04T19%3A00%3A25.6991231Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/003d7e1f-40fb-4f95-bcc8-2810f33c96ee?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/003d7e1f-40fb-4f95-bcc8-2810f33c96ee","name":"003d7e1f-40fb-4f95-bcc8-2810f33c96ee","status":"Succeeded","startTime":"2019-06-04T19:00:25.5526634Z","endTime":"2019-06-04T19:00:38.155851Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '614' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:01:03 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T19%3A00%3A39.8065126Z''\"","location":"eastus2","properties":{"poolId":"343410fb-f76e-bed5-51ba-34c518fc43d3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:01:04 GMT + etag: + - W/"datetime'2019-06-04T19%3A00%3A39.8065126Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles pool update + Connection: + - keep-alive + 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T19%3A00%3A39.8065126Z''\"","location":"eastus2","properties":{"poolId":"343410fb-f76e-bed5-51ba-34c518fc43d3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '650' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:01:06 GMT + etag: + - W/"datetime'2019-06-04T19%3A00%3A39.8065126Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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}, + "tags": {"Tag1": "Value1"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles pool update + Connection: + - keep-alive + Content-Length: + - '95' + Content-Type: + - application/json; charset=utf-8 + 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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?api-version=2019-05-01 + 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-06-04T19%3A01%3A09.0852938Z''\"","location":"eastus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","poolId":"343410fb-f76e-bed5-51ba-34c518fc43d3","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '676' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 19:01:09 GMT + etag: + - W/"datetime'2019-06-04T19%3A01%3A09.0852938Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 19:01:13 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNUhPQTJUUUpMWTNSVDVQRVFCNUZYN0paUkMyT0JURnw4QTU3Q0YwRkNCMjM2MzNBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_volume.yaml b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_volume.yaml new file mode 100644 index 00000000000..54f582576be --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/recordings/test_update_volume.yaml @@ -0,0 +1,1449 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-06-04T16:12: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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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-06-04T16:12:31Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}' + headers: + cache-control: + - no-cache + content-length: + - '384' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-ratelimit-remaining-subscription-writes: + - '1197' + status: + code: 201 + message: Created +- request: + body: !!python/unicode '{"location": "eastus2", "properties": {"dhcpOptions": + {}, "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: + - '125' + Content-Type: + - application/json; charset=utf-8 + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"1a28b955-3cca-4055-b8d5-57bcec2f4eaa\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"9a01361c-7768-4379-9e11-5c75a679cf88\"\ + ,\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/eastus2/operations/689fd847-e267-49ca-8cbb-c4ad718c6caa?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '806' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12: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: + - '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 --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/689fd847-e267-49ca-8cbb-c4ad718c6caa?api-version=2019-04-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, 04 Jun 2019 16:12: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 create + Connection: + - keep-alive + ParameterSetName: + - -n --resource-group -l --address-prefix + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"98a221db-c6dc-4b56-91f3-c370b63f2a1f\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"9a01361c-7768-4379-9e11-5c75a679cf88\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:40 GMT + etag: + - W/"98a221db-c6dc-4b56-91f3-c370b63f2a1f" + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + accept-language: + - en-US + 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=2019-04-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/\\\"98a221db-c6dc-4b56-91f3-c370b63f2a1f\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"9a01361c-7768-4379-9e11-5c75a679cf88\"\ + ,\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: + cache-control: + - no-cache + content-length: + - '807' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:41 GMT + etag: + - W/"98a221db-c6dc-4b56-91f3-c370b63f2a1f" + 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 '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005", + "etag": "W/\"98a221db-c6dc-4b56-91f3-c370b63f2a1f\"", "location": "eastus2", + "properties": {"virtualNetworkPeerings": [], "subnets": [{"name": "cli-subnet-000006", + "properties": {"addressPrefix": "10.12.0.0/24", "delegations": [{"name": "0", + "properties": {"serviceName": "Microsoft.Netapp/volumes"}}]}}], "addressSpace": + {"addressPrefixes": ["10.12.0.0/16"]}, "enableVmProtection": false, "dhcpOptions": + {"dnsServers": []}, "resourceGuid": "9a01361c-7768-4379-9e11-5c75a679cf88", + "enableDdosProtection": false, "provisioningState": "Succeeded"}, "tags": {}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - network vnet subnet create + Connection: + - keep-alive + Content-Length: + - '779' + 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.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"bb83e3e5-90f1-4606-a35c-54e48e894151\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Updating\",\r\n \"resourceGuid\": \"9a01361c-7768-4379-9e11-5c75a679cf88\"\ + ,\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 {\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/\\\"bb83e3e5-90f1-4606-a35c-54e48e894151\\\"\"\ + ,\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/\\\"bb83e3e5-90f1-4606-a35c-54e48e894151\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/e8c77565-a160-479e-9690-1add01bb1d92?api-version=2019-04-01 + cache-control: + - no-cache + content-length: + - '2278' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:42 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 + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + 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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2/operations/e8c77565-a160-479e-9690-1add01bb1d92?api-version=2019-04-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, 04 Jun 2019 16:12: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 -g --vnet-name --address-prefixes --delegations + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + networkmanagementclient/3.0.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-04-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/\\\"125e29d2-5b4f-4f33-ac98-12121d9d065c\\\"\",\r\n \ + \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2\"\ + ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"9a01361c-7768-4379-9e11-5c75a679cf88\"\ + ,\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 {\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/\\\"125e29d2-5b4f-4f33-ac98-12121d9d065c\\\"\"\ + ,\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/\\\"125e29d2-5b4f-4f33-ac98-12121d9d065c\\\ + \"\",\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 }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\"\ + : false,\r\n \"enableVmProtection\": false\r\n }\r\n}" + headers: + cache-control: + - no-cache + content-length: + - '2280' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:12:47 GMT + etag: + - W/"125e29d2-5b4f-4f33-ac98-12121d9d065c" + 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": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A13%3A02.0606102Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a9f6d01-c2b2-45d2-8725-ede237f2cb21?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '453' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:13:01 GMT + etag: + - W/"datetime'2019-06-04T16%3A13%3A02.0606102Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a9f6d01-c2b2-45d2-8725-ede237f2cb21?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/4a9f6d01-c2b2-45d2-8725-ede237f2cb21","name":"4a9f6d01-c2b2-45d2-8725-ede237f2cb21","status":"Succeeded","startTime":"2019-06-04T16:13:01.9335782Z","endTime":"2019-06-04T16:13:02.105398Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '575' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:13:33 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A13%3A02.255796Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '452' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:13:42 GMT + etag: + - W/"datetime'2019-06-04T16%3A13%3A02.255796Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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": "eastus2", "properties": {"serviceLevel": + "Premium", "size": 4398046511104}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A13%3A48.6830514Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fb71614d-3132-4e5f-a901-93743827f46e?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '542' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:13:48 GMT + etag: + - W/"datetime'2019-06-04T16%3A13%3A48.6830514Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fb71614d-3132-4e5f-a901-93743827f46e?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/fb71614d-3132-4e5f-a901-93743827f46e","name":"fb71614d-3132-4e5f-a901-93743827f46e","status":"Succeeded","startTime":"2019-06-04T16:13:48.5531576Z","endTime":"2019-06-04T16:13:49.0375499Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '615' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:14:29 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A13%3A49.178523Z''\"","location":"eastus2","properties":{"poolId":"755a35cc-542a-1335-942b-c6c61fc81a55","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '649' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:14:31 GMT + etag: + - W/"datetime'2019-06-04T16%3A13%3A49.178523Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "location": "eastus2"}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - netappfiles volume create + Connection: + - keep-alive + 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 --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A14%3A35.8990577Z''\"","location":"eastus2","properties":{"serviceLevel":"Premium","creationToken":"cli-vol-000004","usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","provisioningState":"Creating"}}' + headers: + access-control-expose-headers: + - Request-Context + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + cache-control: + - no-cache + content-length: + - '910' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:14:35 GMT + etag: + - W/"datetime'2019-06-04T16%3A14%3A35.8990577Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c","name":"3f3752cf-efb6-47da-833d-20891965c57c","status":"Creating","startTime":"2019-06-04T16:14:35.7590242Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:15:06 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c","name":"3f3752cf-efb6-47da-833d-20891965c57c","status":"Creating","startTime":"2019-06-04T16:14:35.7590242Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:15:37 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c","name":"3f3752cf-efb6-47da-833d-20891965c57c","status":"Creating","startTime":"2019-06-04T16:14:35.7590242Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:16:09 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c","name":"3f3752cf-efb6-47da-833d-20891965c57c","status":"Creating","startTime":"2019-06-04T16:14:35.7590242Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:16:39 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c","name":"3f3752cf-efb6-47da-833d-20891965c57c","status":"Creating","startTime":"2019-06-04T16:14:35.7590242Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '637' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:17:11 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c?api-version=2019-05-01 + response: + body: + string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/eastus2/operationResults/3f3752cf-efb6-47da-833d-20891965c57c","name":"3f3752cf-efb6-47da-833d-20891965c57c","status":"Succeeded","startTime":"2019-06-04T16:14:35.7590242Z","endTime":"2019-06-04T16:17:22.9989413Z","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: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '648' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:17:42 GMT + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume create + Connection: + - keep-alive + ParameterSetName: + - --resource-group --account-name --pool-name --volume-name -l --service-level + --usage-threshold --creation-token --vnet --subnet + User-Agent: + - python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A17%3A23.0466345Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"f1dad13c-48c2-cfdf-0b9e-1721e4c7cc61","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_9378a136","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":"5af34e8a-48e8-6c01-2f4f-b081e752f15c","fileSystemId":"f1dad13c-48c2-cfdf-0b9e-1721e4c7cc61","startIp":"10.12.0.5","endIp":"10.12.0.5","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:17:43 GMT + etag: + - W/"datetime'2019-06-04T16%3A17%3A23.0466345Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume update + Connection: + - keep-alive + 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A17%3A23.0466345Z''\"","location":"eastus2","properties":{"provisioningState":"Succeeded","fileSystemId":"f1dad13c-48c2-cfdf-0b9e-1721e4c7cc61","name":"cli-vol-000004","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_9378a136","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":"5af34e8a-48e8-6c01-2f4f-b081e752f15c","fileSystemId":"f1dad13c-48c2-cfdf-0b9e-1721e4c7cc61","startIp":"10.12.0.5","endIp":"10.12.0.5","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1635' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:17:45 GMT + etag: + - W/"datetime'2019-06-04T16%3A17%3A23.0466345Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - netappfiles volume update + Connection: + - keep-alive + Content-Length: + - '104' + Content-Type: + - application/json; charset=utf-8 + 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.6 msrest_azure/0.4.34 + azure-mgmt-netapp/0.4.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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=2019-05-01 + 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-06-04T16%3A17%3A52.880587Z''\"","location":"eastus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"f1dad13c-48c2-cfdf-0b9e-1721e4c7cc61","name":"cli-vol-000004","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"79770fad-5164-11e9-9e4a-3a8c013b5748","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_79770fad516411e99e4a3a8c013b5748_9378a136","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":"5af34e8a-48e8-6c01-2f4f-b081e752f15c","fileSystemId":"f1dad13c-48c2-cfdf-0b9e-1721e4c7cc61","startIp":"10.12.0.5","endIp":"10.12.0.5","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.5"}]}}' + headers: + access-control-expose-headers: + - Request-Context + cache-control: + - no-cache + content-length: + - '1660' + content-type: + - application/json; charset=utf-8 + date: + - Tue, 04 Jun 2019 16:17:53 GMT + etag: + - W/"datetime'2019-06-04T16%3A17%3A52.880587Z'" + expires: + - '-1' + pragma: + - no-cache + request-context: + - appId=cid-v1:2c4cb680-0a1f-424d-bb8d-8e650ba68d53 + 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: + - '1197' + 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.6 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.65 + 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 + response: + body: + string: !!python/unicode '' + headers: + cache-control: + - no-cache + content-length: + - '0' + date: + - Tue, 04 Jun 2019 16:17:56 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHS0lXQ0hHS0daVlpZM0tXQUhDQ0EzMzRMWE9PTVNZUHwwRTM3MzIzQzAyMUM0NThBLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_account_commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_account_commands.py new file mode 100644 index 00000000000..932792f01d8 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_account_commands.py @@ -0,0 +1,106 @@ +# -------------------------------------------------------------------------------------------- +# 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 +LOCATION = "eastus2" + +# No tidy up of tests required. The resource group is automatically removed + +# As a refactoring consideration for the future, consider use of authoring patterns desribed here +# https://github.com/Azure/azure-cli/blob/dev/doc/authoring_tests.md#sample-5-get-more-from-resourcegrouppreparer + + +class AzureNetAppFilesAccountServiceScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_create_delete_account(self): + account_name = self.create_random_name(prefix='cli', length=24) + tags = 'Tag1=Value1 Tag2=Value2' + + # create and check + # note : active directory checks are performed in their own subgroup test + account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l %s --tags %s" % (account_name, LOCATION, tags)).get_output_in_json() + assert account['name'] == account_name + assert account['tags']['Tag1'] == 'Value1' + assert account['tags']['Tag2'] == 'Value2' + + account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json() + assert len(account_list) > 0 + + # delete and recheck + self.cmd("az netappfiles account delete --resource-group {rg} --account-name '%s'" % account_name) + account_list = self.cmd("netappfiles 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 netappfiles account create -g {rg} -a %s -l %s --tags %s" % (account_name, LOCATION, tags)).get_output_in_json() + assert account['name'] == account_name + # note: key case must match + assert account['activeDirectories'] is None + account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json() + assert len(account_list) > 0 + + self.cmd("az netappfiles account delete --resource-group {rg} -a %s" % account_name) + account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json() + assert len(account_list) == 0 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_list_accounts(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 netappfiles account create -g {rg} -a %s -l %s --tags Tag1=Value1" % (account_name, LOCATION)).get_output_in_json() + + account_list = self.cmd("netappfiles account list -g {rg}").get_output_in_json() + assert len(account_list) == 2 + + for account_name in accounts: + self.cmd("az netappfiles account delete -g {rg} -a %s" % account_name) + + account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json() + assert len(account_list) == 0 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_get_account_by_name(self): + account_name = self.create_random_name(prefix='cli', length=24) + account = self.cmd("az netappfiles account create -g {rg} -a %s -l %s" % (account_name, LOCATION)).get_output_in_json() + account = self.cmd("az netappfiles account show --resource-group {rg} -a %s" % account_name).get_output_in_json() + assert account['name'] == account_name + account_from_id = self.cmd("az netappfiles account show --ids %s" % account['id']).get_output_in_json() + assert account_from_id['name'] == account_name + + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_update_account(self): + # only tags are checked here due to complications of active directory in automated test + account_name = self.create_random_name(prefix='cli', length=24) + tag = "Tag1=Value1" + + account = self.cmd("az netappfiles account create -g {rg} -a %s -l %s" % (account_name, LOCATION)).get_output_in_json() + account = self.cmd("az netappfiles 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' + assert account['activeDirectories'] is None + + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_active_directory(self): + account_name = self.create_random_name(prefix='cli', length=24) + + # create an account as normal + account = self.cmd("az netappfiles account create -g {rg} -a %s -l %s --tags Tag1=Value1" % (account_name, LOCATION)).get_output_in_json() + assert account['name'] == account_name + + # now add an active directory + acc_with_active_directory = self.cmd("netappfiles account ad add -g {rg} -n %s --username aduser --password aduser --smb-server-name SMBSERVER --dns '1.2.3.4' --domain westcentralus" % (account_name)).get_output_in_json() + assert acc_with_active_directory['name'] == account_name + assert acc_with_active_directory['activeDirectories'][0]['username'] == 'aduser' + + # now add an active directory + active_directory = self.cmd("netappfiles account ad list -g {rg} -n %s" % (account_name)).get_output_in_json() + assert account['name'] == account_name + assert active_directory[0]['username'] == 'aduser' + + # now remove using the previously obtained details + acc_with_active_directory = self.cmd("netappfiles account ad remove -g {rg} -n %s --active-directory %s" % (account_name, active_directory[0]['activeDirectoryId'])).get_output_in_json() + assert account['name'] == account_name + assert account['activeDirectories'] is None diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_mount_target_commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_mount_target_commands.py new file mode 100644 index 00000000000..aa849badd00 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_mount_target_commands.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 4" +VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 100" +LOCATION = "eastus2" + +# No tidy up of tests required. The resource group is automatically removed + + +class AzureNetAppFilesMountTargetServiceScenarioTest(ScenarioTest): + def setup_vnet(self, rg, vnet_name, subnet_name): + self.cmd("az network vnet create -n %s --resource-group %s -l %s" % (vnet_name, rg, LOCATION)) + self.cmd("az network vnet subnet create -n %s --vnet-name %s --address-prefixes '10.0.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() + return subs['id'] + + def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): + vnet_name = "cli-vnet-lefr-01" + subnet_name = "cli-subnet-lefr-01" + creation_token = volume_name1 + tag = "--tags %s" % tags if tags is not None else "" + + self.setup_vnet(rg, vnet_name, subnet_name) + self.cmd("az netappfiles account create -g %s -a '%s' -l %s" % (rg, account_name, LOCATION)).get_output_in_json() + self.cmd("az netappfiles pool create -g %s -a %s -p %s -l %s %s %s" % (rg, account_name, pool_name, LOCATION, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("az netappfiles volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l %s %s --creation-token %s --vnet %s --subnet %s %s" % (rg, account_name, pool_name, volume_name1, LOCATION, VOLUME_DEFAULT, creation_token, vnet_name, subnet_name, tag)).get_output_in_json() + + return volume1 + + @ResourceGroupPreparer() + def test_list_mount_targets(self): + account_name = "cli-acc-lefr-01" + pool_name = "cli-pool-lefr-01" + volume_name = "cli-volume-lefr-01" + self.create_volume(account_name, pool_name, volume_name, '{rg}') + + volume_list = self.cmd("netappfiles list-mount-targets --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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_pool_commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_pool_commands.py new file mode 100644 index 00000000000..29c2175191b --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_pool_commands.py @@ -0,0 +1,112 @@ +# -------------------------------------------------------------------------------------------- +# 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 +from knack.util import CLIError + +POOL_DEFAULT = "--service-level Premium --size 4" +POOL_DEFAULT_TOO_SMALL = "--service-level 'Premium' --size 3" +POOL_DEFAULT_STRING_SIZE = "--service-level 'Premium' --size a" +LOCATION = "eastus2" + +# No tidy up of tests required. The resource group is automatically removed + + +class AzureNetAppFilesPoolServiceScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_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" + + self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l %s" % (account_name, LOCATION)).get_output_in_json() + pool = self.cmd("az netappfiles pool create --resource-group {rg} --account-name %s --pool-name %s -l %s %s --tags %s" % (account_name, pool_name, LOCATION, 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("netappfiles pool list --resource-group {rg} --account-name %s" % account_name).get_output_in_json() + assert len(pool_list) == 1 + + self.cmd("az netappfiles pool delete --resource-group {rg} --account-name '%s' --pool-name '%s'" % (account_name, pool_name)) + pool_list = self.cmd("netappfiles 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 netappfiles pool create -g {rg} -a %s -p %s -l %s --service-level 'Premium' --size 4 --tags %s" % (account_name, pool_name, LOCATION, 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 netappfiles pool delete --resource-group {rg} -a %s -p %s" % (account_name, pool_name)) + pool_list = self.cmd("netappfiles pool list --resource-group {rg} -a %s" % account_name).get_output_in_json() + assert len(pool_list) == 0 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_create_pool_too_small(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + + self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l %s" % (account_name, LOCATION)).get_output_in_json() + try: + self.cmd("az netappfiles pool create --resource-group {rg} --account-name %s --pool-name %s -l %s %s " % (account_name, pool_name, LOCATION, POOL_DEFAULT_TOO_SMALL)).get_output_in_json() + except Exception as ex: + assert isinstance(ex, CLIError) + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_create_pool_string_size(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + + self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l %s" % (account_name, LOCATION)).get_output_in_json() + try: + self.cmd("az netappfiles pool create --resource-group {rg} --account-name %s --pool-name %s -l %s %s " % (account_name, pool_name, LOCATION, POOL_DEFAULT_STRING_SIZE)).get_output_in_json() + except Exception as ex: + assert isinstance(ex, CLIError) + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_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 netappfiles account create -g {rg} -a '%s' -l %s" % (account_name, LOCATION)).get_output_in_json() + + for pool_name in pools: + self.cmd("az netappfiles pool create -g {rg} -a '%s' -p '%s' -l %s %s --tags Tag1=Value1" % (account_name, pool_name, LOCATION, POOL_DEFAULT)).get_output_in_json() + + pool_list = self.cmd("netappfiles 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 netappfiles pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) + pool_list = self.cmd("netappfiles pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json() + assert len(pool_list) == 0 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_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 netappfiles account create -g {rg} -a '%s' -l %s" % (account_name, LOCATION)).get_output_in_json() + self.cmd("az netappfiles pool create -g {rg} -a %s -p %s -l %s %s" % (account_name, pool_name, LOCATION, POOL_DEFAULT)).get_output_in_json() + + pool = self.cmd("az netappfiles 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 netappfiles 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') + def test_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" + + self.cmd("az netappfiles account create -g {rg} -a %s -l %s" % (account_name, LOCATION)).get_output_in_json() + + pool = self.cmd("az netappfiles pool create -g {rg} -a %s -p %s -l %s %s" % (account_name, pool_name, LOCATION, POOL_DEFAULT)).get_output_in_json() + + assert pool['name'] == account_name + '/' + pool_name + pool = self.cmd("az netappfiles 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/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py new file mode 100644 index 00000000000..381bdfeaab2 --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_snapshot_commands.py @@ -0,0 +1,84 @@ +# -------------------------------------------------------------------------------------------- +# 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 4" +VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 100" +LOCATION = "eastus2" + +# No tidy up of tests required. The resource group is automatically removed + + +class AzureNetAppFilesSnapshotServiceScenarioTest(ScenarioTest): + def setup_vnet(self, rg, vnet_name, subnet_name): + self.cmd("az network vnet create -n %s --resource-group %s -l %s --address-prefix 10.5.0.0/16" % (vnet_name, rg, LOCATION)) + self.cmd("az network vnet subnet create -n %s --vnet-name %s --address-prefixes '10.5.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() + 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 + vnet_name = "cli-vnet-lefr-02" + subnet_name = "cli-subnet-lefr-02" + tag = "--tags %s" % tags if tags is not None else "" + + self.setup_vnet(rg, vnet_name, subnet_name) + self.cmd("netappfiles account create -g %s -a '%s' -l %s" % (rg, account_name, LOCATION)).get_output_in_json() + self.cmd("netappfiles pool create -g %s -a %s -p %s -l %s %s %s" % (rg, account_name, pool_name, LOCATION, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("netappfiles volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l %s %s --creation-token %s --vnet %s --subnet %s %s" % (rg, account_name, pool_name, volume_name1, LOCATION, VOLUME_DEFAULT, creation_token, vnet_name, subnet_name, tag)).get_output_in_json() + + return volume1 + + @ResourceGroupPreparer() + def test_create_delete_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 netappfiles snapshot create -g %s -a %s -p %s -v %s -s %s -l %s --file-system-id %s" % (rg, account_name, pool_name, volume_name, snapshot_name, LOCATION, volume['fileSystemId'])).get_output_in_json() + assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name + + snapshot_list = self.cmd("az netappfiles 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 + + self.cmd("az netappfiles snapshot delete -g %s -a %s -p %s -v %s -s %s" % (rg, account_name, pool_name, volume_name, snapshot_name)) + snapshot_list = self.cmd("az netappfiles 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) == 0 + + @ResourceGroupPreparer() + def test_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}') + self.cmd("az netappfiles snapshot create -g {rg} -a %s -p %s -v %s -s %s -l %s --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, LOCATION, volume['fileSystemId'])).get_output_in_json() + self.cmd("az netappfiles snapshot create -g {rg} -a %s -p %s -v %s -s %s -l %s --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, LOCATION, volume['fileSystemId'])).get_output_in_json() + + snapshot_list = self.cmd("az netappfiles 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_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 netappfiles snapshot create -g {rg} -a %s -p %s -v %s -s %s -l %s --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, LOCATION, volume['fileSystemId'])).get_output_in_json() + + snapshot = self.cmd("az netappfiles snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() + assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name + + snapshot_from_id = self.cmd("az netappfiles snapshot show --ids %s" % snapshot['id']).get_output_in_json() + assert snapshot_from_id['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name diff --git a/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py new file mode 100644 index 00000000000..d2af69b11cb --- /dev/null +++ b/src/azure-cli/azure/cli/command_modules/netappfiles/tests/latest/test_volume_commands.py @@ -0,0 +1,148 @@ +# -------------------------------------------------------------------------------------------- +# 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 4" +VOLUME_DEFAULT = "--service-level 'Premium' --usage-threshold 100" +LOCATION = "eastus2" + +# No tidy up of tests required. The resource group is automatically removed + + +class AzureNetAppFilesVolumeServiceScenarioTest(ScenarioTest): + def setup_vnet(self, rg, vnet_name, subnet_name, ip_pre): + self.cmd("az network vnet create -n %s --resource-group %s -l %s --address-prefix %s/16" % (vnet_name, rg, LOCATION, 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'] + + 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_name = self.create_random_name(prefix='cli-subnet-', length=16) + tag = "--tags %s" % tags if tags is not None else "" + + self.setup_vnet(rg, vnet_name, subnet_name, '10.12.0.0') + self.cmd("az netappfiles account create -g %s -a '%s' -l %s" % (rg, account_name, LOCATION)).get_output_in_json() + self.cmd("az netappfiles pool create -g %s -a %s -p %s -l %s %s %s" % (rg, account_name, pool_name, LOCATION, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("az netappfiles volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l %s %s --creation-token %s --vnet %s --subnet %s %s" % (rg, account_name, pool_name, volume_name1, LOCATION, VOLUME_DEFAULT, creation_token, vnet_name, subnet_name, tag)).get_output_in_json() + + if volume_name2: + creation_token = volume_name2 + self.cmd("az netappfiles volume create -g %s -a %s -p %s -v %s -l %s %s --creation-token %s --vnet %s --subnet %s --tags %s" % (rg, account_name, pool_name, volume_name2, LOCATION, VOLUME_DEFAULT, creation_token, vnet_name, subnet_name, tags)).get_output_in_json() + + return volume1 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_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' + # default export policy still present + assert volume['exportPolicy']['rules'][0]['allowedClients'] == '0.0.0.0/0' + assert not volume['exportPolicy']['rules'][0]['cifs'] + assert volume['exportPolicy']['rules'][0]['ruleIndex'] == 1 + + volume_list = self.cmd("netappfiles 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 netappfiles volume delete --resource-group {rg} --account-name %s --pool-name %s --volume-name %s" % (account_name, pool_name, volume_name)) + volume_list = self.cmd("netappfiles 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') + def test_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) + + volume_list = self.cmd("netappfiles volume list --resource-group {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + assert len(volume_list) == 2 + + self.cmd("az netappfiles volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) + volume_list = self.cmd("netappfiles volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + assert len(volume_list) == 1 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_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 netappfiles 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 netappfiles 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') + def test_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 netappfiles 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' + # default export policy still present + assert volume['exportPolicy']['rules'][0]['allowedClients'] == '0.0.0.0/0' + assert not volume['exportPolicy']['rules'][0]['cifs'] + assert volume['exportPolicy']['rules'][0]['ruleIndex'] == 1 + + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_export_policy(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}') + assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name + + # now add an export policy + # there is already one default rule present + vol_with_export_policy = self.cmd("netappfiles volume export-policy add -g {rg} -a %s -p %s -v %s --allowed-clients '1.2.3.0/24' --rule-index 3 --unix-read-only true --unix-read-write false --cifs false --nfsv3 true --nfsv4 false" % (account_name, pool_name, volume_name)).get_output_in_json() + assert vol_with_export_policy['name'] == account_name + '/' + pool_name + '/' + volume_name + assert vol_with_export_policy['exportPolicy']['rules'][0]['allowedClients'] == '1.2.3.0/24' + assert vol_with_export_policy['exportPolicy']['rules'][0]['ruleIndex'] == 3 + assert vol_with_export_policy['exportPolicy']['rules'][0]['cifs'] is False + + # and add another export policy + vol_with_export_policy = self.cmd("netappfiles volume export-policy add -g {rg} -a %s -p %s -v %s --allowed-clients '1.2.4.0/24' --rule-index 2 --unix-read-only true --unix-read-write false --cifs true --nfsv3 true --nfsv4 false" % (account_name, pool_name, volume_name)).get_output_in_json() + assert vol_with_export_policy['name'] == account_name + '/' + pool_name + '/' + volume_name + assert vol_with_export_policy['exportPolicy']['rules'][1]['allowedClients'] == '1.2.3.0/24' + assert vol_with_export_policy['exportPolicy']['rules'][0]['allowedClients'] == '1.2.4.0/24' + assert vol_with_export_policy['exportPolicy']['rules'][0]['cifs'] is True + assert len(vol_with_export_policy['exportPolicy']['rules']) == 3 + + # list the policies + export_policy = self.cmd("netappfiles volume export-policy list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + assert len(export_policy['rules']) == 3 + + # and remove one + vol_with_export_policy = self.cmd("netappfiles volume export-policy remove -g {rg} -a %s -p %s -v %s --rule-index 2" % (account_name, pool_name, volume_name)).get_output_in_json() + assert vol_with_export_policy['name'] == account_name + '/' + pool_name + '/' + volume_name + assert len(vol_with_export_policy['exportPolicy']['rules']) == 2 diff --git a/src/azure-cli/setup.py b/src/azure-cli/setup.py index 24b70d14b32..28027a0ef3c 100644 --- a/src/azure-cli/setup.py +++ b/src/azure-cli/setup.py @@ -102,6 +102,7 @@ 'azure-mgmt-monitor~=0.5.2', 'azure-mgmt-msi~=0.2', 'azure-mgmt-network~=3.0', + 'azure-mgmt-netapp~=0.4.0', 'azure-mgmt-policyinsights~=0.3.1', 'azure-mgmt-privatedns~=0.1.0', 'azure-mgmt-rdbms~=1.8',