From e80a9e7fef9bfc9d8564444dbdd3db6024e57963 Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 8 Apr 2019 14:31:08 +0000 Subject: [PATCH 1/6] NFSAAS-2102 update to R3.5 --- src/anf-preview/README.md | 33 -- src/anf-preview/azext_anf_preview/commands.py | 87 ---- src/anf-preview/azext_anf_preview/custom.py | 85 ---- .../tests/latest/test_account_commands_ext.py | 74 --- .../tests/latest/test_pool_commands_ext.py | 86 ---- src/index.json | 94 ++-- .../HISTORY.rst | 2 + src/netappfiles-preview/README.md | 33 ++ .../azext_netappfiles_preview}/__init__.py | 2 +- .../_client_factory.py | 2 +- .../_exception_handler.py | 8 +- .../azext_netappfiles_preview}/_help.py | 129 +++-- .../azext_netappfiles_preview}/_params.py | 33 +- .../azext_metadata.json | 0 .../azext_netappfiles_preview/commands.py | 108 ++++ .../azext_netappfiles_preview/custom.py | 152 ++++++ .../tests/__init__.py | 0 .../tests/latest/__init__.py | 0 .../test_ext_create_delete_account.yaml | 198 ++++---- .../test_ext_create_delete_pool.yaml | 218 ++++---- .../test_ext_create_delete_snapshots.yaml} | 415 ++++++++++++---- .../test_ext_create_delete_volumes.yaml | 411 ++++++++++----- .../test_ext_get_account_by_name_ext.yaml | 88 ++-- .../recordings/test_ext_get_pool_by_name.yaml | 118 +++-- .../recordings/test_ext_get_snapshot.yaml | 385 +++++++++++---- .../test_ext_get_volume_by_name.yaml} | 304 +++++++----- .../test_ext_list_accounts_ext.yaml | 182 ++++--- .../test_ext_list_mount_targets.yaml | 330 +++++++++---- .../recordings/test_ext_list_pools.yaml | 200 ++++---- .../recordings/test_ext_list_snapshots.yaml | 368 ++++++++++---- .../recordings/test_ext_list_volumes.yaml} | 467 ++++++++++++++---- .../recordings/test_ext_set_account_ext.yaml | 188 +++++++ .../test_ext_update_account_ext.yaml | 98 ++-- .../recordings/test_ext_update_pool.yaml | 126 ++--- .../recordings/test_ext_update_volume.yaml | 350 +++++++++---- .../tests/latest/test_account_commands_ext.py | 94 ++++ .../latest/test_mount_target_commands_ext.py | 8 +- .../tests/latest/test_pool_commands_ext.py | 86 ++++ .../latest/test_snapshot_commands_ext.py | 28 +- .../tests/latest/test_volume_commands_ext.py | 34 +- .../vendored_sdks/__init__.py | 0 .../azure_net_app_files_management_client.py | 0 .../vendored_sdks/models/__init__.py | 12 + .../vendored_sdks/models/active_directory.py | 60 +++ .../models/active_directory_py3.py | 60 +++ ...e_net_app_files_management_client_enums.py | 2 +- .../vendored_sdks/models/capacity_pool.py | 2 +- .../models/capacity_pool_paged.py | 0 .../models/capacity_pool_patch.py | 66 +++ .../models/capacity_pool_patch_py3.py | 66 +++ .../vendored_sdks/models/capacity_pool_py3.py | 2 +- .../vendored_sdks/models/dimension.py | 0 .../vendored_sdks/models/dimension_py3.py | 0 .../vendored_sdks/models/error.py | 0 .../vendored_sdks/models/error_py3.py | 0 .../models/export_policy_rule.py | 53 ++ .../models/export_policy_rule_py3.py | 53 ++ .../models/metric_specification.py | 0 .../models/metric_specification_py3.py | 0 .../vendored_sdks/models/mount_target.py | 17 +- .../models/mount_target_paged.py | 0 .../vendored_sdks/models/mount_target_py3.py | 19 +- .../vendored_sdks/models/net_app_account.py | 4 + .../models/net_app_account_paged.py | 0 .../models/net_app_account_patch.py | 62 +++ .../models/net_app_account_patch_py3.py | 62 +++ .../models/net_app_account_py3.py | 6 +- .../vendored_sdks/models/operation.py | 0 .../vendored_sdks/models/operation_display.py | 0 .../models/operation_display_py3.py | 0 .../vendored_sdks/models/operation_paged.py | 0 .../vendored_sdks/models/operation_py3.py | 0 .../models/service_specification.py | 0 .../models/service_specification_py3.py | 0 .../vendored_sdks/models/snapshot.py | 0 .../vendored_sdks/models/snapshot_paged.py | 0 .../vendored_sdks/models/snapshot_patch.py | 0 .../models/snapshot_patch_py3.py | 0 .../vendored_sdks/models/snapshot_py3.py | 0 .../vendored_sdks/models/volume.py | 7 +- .../vendored_sdks/models/volume_paged.py | 0 .../vendored_sdks/models/volume_patch.py | 7 +- .../volume_patch_properties_export_policy.py} | 14 +- ...ume_patch_properties_export_policy_py3.py} | 16 +- .../vendored_sdks/models/volume_patch_py3.py | 9 +- .../volume_properties_export_policy.py} | 14 +- .../volume_properties_export_policy_py3.py} | 16 +- .../vendored_sdks/models/volume_py3.py | 9 +- .../vendored_sdks/operations/__init__.py | 0 .../operations/accounts_operations.py | 81 ++- .../operations/mount_targets_operations.py | 10 +- .../vendored_sdks/operations/operations.py | 0 .../operations/pools_operations.py | 65 ++- .../operations/snapshots_operations.py | 60 +-- .../operations/volumes_operations.py | 58 +-- .../vendored_sdks/version.py | 3 +- .../setup.cfg | 0 .../setup.py | 8 +- 98 files changed, 4431 insertions(+), 2116 deletions(-) delete mode 100644 src/anf-preview/README.md delete mode 100644 src/anf-preview/azext_anf_preview/commands.py delete mode 100644 src/anf-preview/azext_anf_preview/custom.py delete mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py delete mode 100644 src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py rename src/{anf-preview => netappfiles-preview}/HISTORY.rst (86%) create mode 100644 src/netappfiles-preview/README.md rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/__init__.py (93%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/_client_factory.py (91%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/_exception_handler.py (70%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/_help.py (59%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/_params.py (75%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/azext_metadata.json (100%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/commands.py create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/custom.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/__init__.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/__init__.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_create_delete_account.yaml (61%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_create_delete_pool.yaml (72%) rename src/{anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml => netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_snapshots.yaml} (61%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_create_delete_volumes.yaml (65%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml (59%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_get_pool_by_name.yaml (73%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_get_snapshot.yaml (62%) rename src/{anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml => netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml} (68%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_list_accounts_ext.yaml (59%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_list_mount_targets.yaml (65%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_list_pools.yaml (71%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_list_snapshots.yaml (64%) rename src/{anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml => netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_volumes.yaml} (53%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_set_account_ext.yaml rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_update_account_ext.yaml (58%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_update_pool.yaml (72%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/recordings/test_ext_update_volume.yaml (64%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/test_mount_target_commands_ext.py (73%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_pool_commands_ext.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/test_snapshot_commands_ext.py (58%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/tests/latest/test_volume_commands_ext.py (65%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/__init__.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/azure_net_app_files_management_client.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/__init__.py (80%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory.py create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory_py3.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/azure_net_app_files_management_client_enums.py (92%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/capacity_pool.py (97%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/capacity_pool_paged.py (100%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch.py create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch_py3.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/capacity_pool_py3.py (97%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/dimension.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/dimension_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/error.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/error_py3.py (100%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule.py create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule_py3.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/metric_specification.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/metric_specification_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/mount_target.py (87%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/mount_target_paged.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/mount_target_py3.py (84%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/net_app_account.py (86%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/net_app_account_paged.py (100%) create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch.py create mode 100644 src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch_py3.py rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/net_app_account_py3.py (83%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/operation.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/operation_display.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/operation_display_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/operation_paged.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/operation_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/service_specification.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/service_specification_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/snapshot.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/snapshot_paged.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/snapshot_patch.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/snapshot_patch_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/snapshot_py3.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/volume.py (92%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/volume_paged.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/volume_patch.py (86%) rename src/{anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py => netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy.py} (63%) rename src/{anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py => netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy_py3.py} (59%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/volume_patch_py3.py (83%) rename src/{anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py => netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy.py} (63%) rename src/{anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py => netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy_py3.py} (59%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/models/volume_py3.py (91%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/__init__.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/accounts_operations.py (83%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/mount_targets_operations.py (88%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/operations.py (100%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/pools_operations.py (85%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/snapshots_operations.py (85%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/operations/volumes_operations.py (85%) rename src/{anf-preview/azext_anf_preview => netappfiles-preview/azext_netappfiles_preview}/vendored_sdks/version.py (96%) rename src/{anf-preview => netappfiles-preview}/setup.cfg (100%) rename src/{anf-preview => netappfiles-preview}/setup.py (91%) diff --git a/src/anf-preview/README.md b/src/anf-preview/README.md deleted file mode 100644 index 14046d5520c..00000000000 --- a/src/anf-preview/README.md +++ /dev/null @@ -1,33 +0,0 @@ -# Azure CLI for Azure NetApp Files (ANF) Extension # -This is an extension to azure cli which provides commands to create and manage Azure NetApp File (ANF) storage resources. - -## How to use ## -First, install the extension: -``` -az extension add --name anf-preview -``` - -It can then be used to create volumes and snapshots. The typical sequence would be to first create an account -``` -az anf account create --resource-group rg -n account_name -``` - -Then allocate a storage pool in which volumes can be created -``` -az anf pool create --resource-group rg -a account_name -n pool_name -l location --size 4398046511104 --service-level "Premium" -``` - -Volumes are created within the pool resource -``` -az anf volume create --resource-group rg -a account_name -p pool_name -n volume_name -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" -``` - -Snapshots of volumes can also be created -``` -az anf snapshot create --resource-group rg -a account_name --p pool_name -v vname -n snapshot_name -l location --file-system-id volume-uuid -``` - -These resources can be updated, deleted and listed. See the help to find out more -``` -az anf --help -``` diff --git a/src/anf-preview/azext_anf_preview/commands.py b/src/anf-preview/azext_anf_preview/commands.py deleted file mode 100644 index 5ef3e44cb7f..00000000000 --- a/src/anf-preview/azext_anf_preview/commands.py +++ /dev/null @@ -1,87 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -# pylint: disable=line-too-long - -from azure.cli.core.commands import CliCommandType -from ._client_factory import ( - accounts_mgmt_client_factory, - pools_mgmt_client_factory, - volumes_mgmt_client_factory, - mount_targets_mgmt_client_factory, - snapshots_mgmt_client_factory) -from ._exception_handler import netapp_exception_handler - - -def load_command_table(self, _): - anf_accounts_sdk = CliCommandType( - operations_tmpl='azext_anf_preview.vendored_sdks.operations.accounts_operations#AccountsOperations.{}', - client_factory=accounts_mgmt_client_factory, - exception_handler=netapp_exception_handler - ) - - anf_pools_sdk = CliCommandType( - operations_tmpl='azext_anf_preview.vendored_sdks.operations.pools_operations#PoolsOperations.{}', - client_factory=pools_mgmt_client_factory, - exception_handler=netapp_exception_handler - ) - - anf_volumes_sdk = CliCommandType( - operations_tmpl='azext_anf_preview.vendored_sdks.operations.volumes_operations#VolumesOperations.{}', - client_factory=volumes_mgmt_client_factory, - exception_handler=netapp_exception_handler - ) - - anf_mount_targets_sdk = CliCommandType( - operations_tmpl='azext_anf_preview.vendored_sdks.operations.mount_targets_operations#MountTargetsOperations.{}', - client_factory=mount_targets_mgmt_client_factory, - exception_handler=netapp_exception_handler - ) - - anf_snapshots_sdk = CliCommandType( - operations_tmpl='azext_anf_preview.vendored_sdks.operations.snapshots_operations#SnapshotsOperations.{}', - client_factory=snapshots_mgmt_client_factory, - exception_handler=netapp_exception_handler - ) - - with self.command_group('anf account', anf_accounts_sdk) as g: - g.show_command('show', 'get') - g.command('list', 'list') - g.command('delete', 'delete') - g.custom_command('create', 'create_account', client_factory=accounts_mgmt_client_factory, - doc_string_source='azext_anf_preview.vendored_sdks.models#NetAppAccount') - g.generic_update_command('update', setter_name='update', custom_func_name='update_account', - setter_arg_name='tags', - doc_string_source='azext_anf_preview.vendored_sdks.models#NetAppAccountPatch') - - with self.command_group('anf pool', anf_pools_sdk) as g: - g.show_command('show', 'get') - g.command('list', 'list') - g.command('delete', 'delete') - g.custom_command('create', 'create_pool', client_factory=pools_mgmt_client_factory, - doc_string_source='azext_anf_preview.vendored_sdks.models#CapacityPool') - g.generic_update_command('update', setter_name='create_or_update', custom_func_name='update_pool', - setter_arg_name='body', - doc_string_source='azext_anf_preview.vendored_sdks.models#CapacityPool') - - with self.command_group('anf volume', anf_volumes_sdk) as g: - g.show_command('show', 'get') - g.command('list', 'list') - g.command('delete', 'delete') - g.custom_command('create', 'create_volume', client_factory=volumes_mgmt_client_factory, - doc_string_source='azext_anf_preview.vendored_sdks.models#Volume') - g.generic_update_command('update', setter_name='update', custom_func_name='patch_volume', - setter_arg_name='body', - doc_string_source='azext_anf_preview.vendored_sdks.models#VolumePatch') - - with self.command_group('anf mount-target', anf_mount_targets_sdk) as g: - g.command('list', 'list') - - with self.command_group('anf snapshot', anf_snapshots_sdk) as g: - g.show_command('show', 'get') - g.command('list', 'list') - g.command('delete', 'delete') - g.custom_command('create', 'create_snapshot', client_factory=snapshots_mgmt_client_factory, - doc_string_source='azext_anf_preview.vendored_sdks.models#Snapshot') diff --git a/src/anf-preview/azext_anf_preview/custom.py b/src/anf-preview/azext_anf_preview/custom.py deleted file mode 100644 index f135f9ba671..00000000000 --- a/src/anf-preview/azext_anf_preview/custom.py +++ /dev/null @@ -1,85 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# 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 azext_anf_preview.vendored_sdks.models import NetAppAccountPatch, CapacityPool, Volume, VolumePatch, Snapshot - -logger = get_logger(__name__) - - -def generate_tags(tag): - if tag is None: - return None - - tags = {} - tag_list = tag.split(" ") - for tag_item in tag_list: - parts = tag_item.split("=", 1) - if len(parts) == 2: - # two parts, everything after first '=' is the tag's value - tags[parts[0]] = parts[1] - elif len(parts) == 1: - # one part, no tag value - tags[parts[0]] = "" - return tags - - -def _update_mapper(existing, new, keys): - for key in keys: - existing_value = getattr(existing, key) - new_value = getattr(new, key) - setattr(new, key, new_value if new_value is not None else existing_value) - - -# pylint: disable=unused-argument -def create_account(cmd, client, account_name, resource_group_name, location, tag=None): - return client.create_or_update(resource_group_name, account_name, location, generate_tags(tag)) - - -# pylint: disable=unused-argument -def update_account(cmd, instance, tag=None): - params = NetAppAccountPatch(tags=generate_tags(tag)) - return params.tags - - -def create_pool(cmd, client, account_name, pool_name, resource_group_name, location, size, service_level, tag=None): - body = CapacityPool(service_level=service_level, size=int(size), location=location, tags=generate_tags(tag)) - return client.create_or_update(body, resource_group_name, account_name, pool_name) - - -def update_pool(cmd, instance, location=None, size=None, service_level=None, tag=None): - # put operation to update the record - if size is not None: - size = int(size) - body = CapacityPool(service_level=service_level, size=size, location=location, tags=generate_tags(tag)) - _update_mapper(instance, body, ['location', 'service_level', 'size', 'tags']) - return body - - -def create_volume(cmd, client, account_name, pool_name, volume_name, resource_group_name, location, service_level, creation_token, usage_threshold, subnet_id, tag=None): - body = Volume( - usage_threshold=int(usage_threshold), - creation_token=creation_token, - service_level=service_level, - location=location, - subnet_id=subnet_id, - tags=generate_tags(tag)) - return client.create_or_update(body, resource_group_name, account_name, pool_name, volume_name) - - -def patch_volume(cmd, instance, service_level=None, usage_threshold=None, tag=None): - params = VolumePatch( - usage_threshold=None if usage_threshold is None else int(usage_threshold), - service_level=service_level, - tags=generate_tags(tag)) - _update_mapper(instance, params, ['service_level', 'usage_threshold', 'tags']) - return params - - -def create_snapshot(cmd, client, account_name, pool_name, volume_name, snapshot_name, file_system_id, resource_group_name, location): - body = Snapshot(location=location, file_system_id=file_system_id) - return client.create(body, resource_group_name, account_name, pool_name, volume_name, snapshot_name) diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py deleted file mode 100644 index 89bbaab6ecc..00000000000 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_account_commands_ext.py +++ /dev/null @@ -1,74 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer - -# No tidy up of tests required. The resource group is automatically removed - - -class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_create_delete_account(self): - account_name = self.create_random_name(prefix='cli', length=24) - tags = 'Tag1=Value1 Tag2=Value2' - - # create and check - account = self.cmd("az anf account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s'" % (account_name, tags)).get_output_in_json() - assert account['name'] == account_name - assert account['tags']['Tag1'] == 'Value1' - assert account['tags']['Tag2'] == 'Value2' - - account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() - assert len(account_list) > 0 - - # delete and recheck - self.cmd("az anf account delete --resource-group {rg} --account-name '%s'" % account_name) - account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() - assert len(account_list) == 0 - - # and again with short forms and also unquoted - account = self.cmd("az anf account create -g {rg} -a %s -l westus2 --tags '%s'" % (account_name, tags)).get_output_in_json() - assert account['name'] == account_name - account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() - assert len(account_list) > 0 - - self.cmd("az anf account delete --resource-group {rg} -a %s" % account_name) - account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() - assert len(account_list) == 0 - - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_list_accounts_ext(self): - accounts = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] - - for account_name in accounts: - self.cmd("az anf account create -g {rg} -a %s -l 'westus2' --tags 'Tag1=Value1'" % account_name).get_output_in_json() - - account_list = self.cmd("anf account list -g {rg}").get_output_in_json() - assert len(account_list) == 2 - - for account_name in accounts: - self.cmd("az anf account delete -g {rg} -a %s" % account_name) - - account_list = self.cmd("anf account list --resource-group {rg}").get_output_in_json() - assert len(account_list) == 0 - - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_get_account_by_name_ext(self): - account_name = self.create_random_name(prefix='cli', length=24) - account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() - account = self.cmd("az anf account show --resource-group {rg} -a %s" % account_name).get_output_in_json() - assert account['name'] == account_name - account_from_id = self.cmd("az anf account show --ids %s" % account['id']).get_output_in_json() - assert account_from_id['name'] == account_name - - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_update_account_ext(self): - account_name = self.create_random_name(prefix='cli', length=24) - tag = "Tag1=Value1" - - account = self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() - account = self.cmd("az anf account update --resource-group {rg} -a %s --tags %s" % (account_name, tag)).get_output_in_json() - assert account['name'] == account_name - assert account['tags']['Tag1'] == 'Value1' diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py b/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py deleted file mode 100644 index ec7a3583512..00000000000 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_pool_commands_ext.py +++ /dev/null @@ -1,86 +0,0 @@ -# -------------------------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for license information. -# -------------------------------------------------------------------------------------------- - -from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer - -POOL_DEFAULT = "--service-level 'Premium' --size 4398046511104" - -# No tidy up of tests required. The resource group is automatically removed - - -class AzureNetAppFilesExtPoolServiceScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_create_delete_pool(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) - tags = "Tag1=Value1 Tag2=Value2" - - self.cmd("az anf account create --resource-group {rg} --account-name '%s' -l 'westus2'" % account_name).get_output_in_json() - pool = self.cmd("az anf pool create --resource-group {rg} --account-name %s --pool-name %s -l 'westus2' %s --tags '%s'" % (account_name, pool_name, POOL_DEFAULT, tags)).get_output_in_json() - assert pool['name'] == account_name + '/' + pool_name - assert pool['tags']['Tag1'] == 'Value1' - assert pool['tags']['Tag2'] == 'Value2' - - pool_list = self.cmd("anf pool list --resource-group {rg} --account-name %s" % account_name).get_output_in_json() - assert len(pool_list) == 1 - - self.cmd("az anf pool delete --resource-group {rg} --account-name '%s' --pool-name '%s'" % (account_name, pool_name)) - pool_list = self.cmd("anf pool list --resource-group {rg} --account-name %s" % account_name).get_output_in_json() - assert len(pool_list) == 0 - - # and again with short forms and also unquoted - pool = self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' --service-level 'Premium' --size 4398046511104 --tags '%s'" % (account_name, pool_name, tags)).get_output_in_json() - assert pool['name'] == account_name + '/' + pool_name - assert pool['tags']['Tag1'] == 'Value1' - assert pool['tags']['Tag2'] == 'Value2' - - self.cmd("az anf pool delete --resource-group {rg} -a %s -p %s" % (account_name, pool_name)) - pool_list = self.cmd("anf pool list --resource-group {rg} -a %s" % account_name).get_output_in_json() - assert len(pool_list) == 0 - - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_list_pools(self): - account_name = self.create_random_name(prefix='cli', length=24) - pools = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] - self.cmd("az anf account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() - - for pool_name in pools: - self.cmd("az anf pool create -g {rg} -a '%s' -p '%s' -l 'westus2' %s --tags 'Tag1=Value1'" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() - - pool_list = self.cmd("anf pool list -g {rg} -a '%s'" % account_name).get_output_in_json() - assert len(pool_list) == 2 - - for pool_name in pools: - self.cmd("az anf pool delete -g {rg} -a %s -p %s" % (account_name, pool_name)) - pool_list = self.cmd("anf pool list --resource-group {rg} -a '%s'" % account_name).get_output_in_json() - assert len(pool_list) == 0 - - @ResourceGroupPreparer(name_prefix='cli_tests_rg') - def test_ext_get_pool_by_name(self): - account_name = self.create_random_name(prefix='cli', length=24) - pool_name = self.create_random_name(prefix='cli', length=24) - self.cmd("az anf account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() - self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() - - pool = self.cmd("az anf pool show --resource-group {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() - assert pool['name'] == account_name + '/' + pool_name - pool_from_id = self.cmd("az anf pool show --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_ext_update_pool(self): - account_name = self.create_random_name(prefix='cli-acc-', length=24) - pool_name = self.create_random_name(prefix='cli-pool-', length=24) - tag = "Tag1=Value1" - - self.cmd("az anf account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() - - pool = self.cmd("az anf pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() - - assert pool['name'] == account_name + '/' + pool_name - pool = self.cmd("az anf pool update --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/index.json b/src/index.json index e901bdf84a3..ca8a02f8285 100644 --- a/src/index.json +++ b/src/index.json @@ -233,53 +233,6 @@ "sha256Digest": "81b9a7f1824bffcbd6e72680891476151dde868e030cdbf1bfd9135e1a8f3447" } ], - "anf-preview": [ - { - "downloadUrl": "https://anfclipython.blob.core.windows.net/cli-extensions/anf_preview-0.1.0-py2.py3-none-any.whl", - "filename": "anf_preview-0.1.0-py2.py3-none-any.whl", - "metadata": { - "azext.isPreview": true, - "azext.minCliCoreVersion": "2.0.56", - "classifiers": [ - "Development Status :: 4 - Beta", - "Intended Audience :: Developers", - "Intended Audience :: System Administrators", - "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", - "License :: OSI Approved :: MIT License" - ], - "extensions": { - "python.details": { - "contacts": [ - { - "email": "azpycli@microsoft.com", - "name": "Microsoft Corporation", - "role": "author" - } - ], - "document_names": { - "description": "DESCRIPTION.rst" - }, - "project_urls": { - "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/anf-preview" - } - } - }, - "generator": "bdist_wheel (0.30.0)", - "license": "MIT", - "metadata_version": "2.0", - "name": "anf-preview", - "summary": "Provides a preview for upcoming Azure NetApp Files (ANF) features.", - "version": "0.1.0" - }, - "sha256Digest": "3ed8340e1f4aa97d83b6af9eb223d2f1272ecb7e82d18d89dccc18ce7167a4e2" - } - ], "appconfig": [ { "downloadUrl": "https://azconfigextension.blob.core.windows.net/appconfigextension/appconfig-0.4.0-py2.py3-none-any.whl", @@ -1434,6 +1387,53 @@ "sha256Digest": "c5b7ef47d8db578920bcbda371a47edd19f8f681088823c2622dcb9332417587" } ], + "netappfiles-preview": [ + { + "downloadUrl": "https://anfclipython.blob.core.windows.net/cli-extensions/netappfiles_preview-0.2.0-py2.py3-none-any.whl", + "filename": "netappfiles_preview-0.2.0-py2.py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.0.56", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "azpycli@microsoft.com", + "name": "Microsoft Corporation", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/Azure/azure-cli-extensions/tree/master/src/netappfiles-preview" + } + } + }, + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "metadata_version": "2.0", + "name": "netappfiles-preview", + "summary": "Provides a preview for upcoming Azure NetApp Files (ANF) features.", + "version": "0.2.0" + }, + "sha256Digest": "3ed8340e1f4aa97d83b6af9eb223d2f1272ecb7e82d18d89dccc18ce7167a4e2" + } + ], "privatedns": [ { "downloadUrl": "https://privatednscliextension.blob.core.windows.net/privatednscliextension/privatedns-0.1.0-py2.py3-none-any.whl", diff --git a/src/anf-preview/HISTORY.rst b/src/netappfiles-preview/HISTORY.rst similarity index 86% rename from src/anf-preview/HISTORY.rst rename to src/netappfiles-preview/HISTORY.rst index 12494af638d..4fb7750a5f1 100644 --- a/src/anf-preview/HISTORY.rst +++ b/src/netappfiles-preview/HISTORY.rst @@ -3,6 +3,8 @@ Release History =============== +0.2.0 ++++++ 0.1.0 +++++ * Initial release diff --git a/src/netappfiles-preview/README.md b/src/netappfiles-preview/README.md new file mode 100644 index 00000000000..d1a58c9692c --- /dev/null +++ b/src/netappfiles-preview/README.md @@ -0,0 +1,33 @@ +# Azure CLI for Azure NetApp Files (ANF) Extension # +This is an extension to azure cli which provides commands to create and manage Azure NetApp File (ANF) storage resources. + +## How to use ## +First, install the extension: +``` +az extension add --name netappfiles-preview +``` + +It can then be used to create volumes and snapshots. The typical sequence would be to first create an account +``` +az netappfiles account create --resource-group rg -n account_name +``` + +Then allocate a storage pool in which volumes can be created +``` +az netappfiles pool create --resource-group rg -a account_name -n pool_name -l location --size 4398046511104 --service-level "Premium" +``` + +Volumes are created within the pool resource +``` +az netappfiles volume create --resource-group rg -a account_name -p pool_name -n volume_name -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" +``` + +Snapshots of volumes can also be created +``` +az netappfiles snapshot create --resource-group rg -a account_name --p pool_name -v vname -n snapshot_name -l location --file-system-id volume-uuid +``` + +These resources can be updated, deleted and listed. See the help to find out more +``` +az netappfiles --help +``` diff --git a/src/anf-preview/azext_anf_preview/__init__.py b/src/netappfiles-preview/azext_netappfiles_preview/__init__.py similarity index 93% rename from src/anf-preview/azext_anf_preview/__init__.py rename to src/netappfiles-preview/azext_netappfiles_preview/__init__.py index 110f2921d24..a16f0d2a62e 100644 --- a/src/anf-preview/azext_anf_preview/__init__.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/__init__.py @@ -11,7 +11,7 @@ class NetAppExtensionCommandsLoader(AzCommandsLoader): def __init__(self, cli_ctx=None): from azure.cli.core.commands import CliCommandType - netapp_custom = CliCommandType(operations_tmpl='azext_anf_preview.custom#{}') + netapp_custom = CliCommandType(operations_tmpl='azext_netappfiles_preview.custom#{}') super(NetAppExtensionCommandsLoader, self).__init__(cli_ctx=cli_ctx, min_profile='2017-03-10-profile', custom_command_type=netapp_custom) diff --git a/src/anf-preview/azext_anf_preview/_client_factory.py b/src/netappfiles-preview/azext_netappfiles_preview/_client_factory.py similarity index 91% rename from src/anf-preview/azext_anf_preview/_client_factory.py rename to src/netappfiles-preview/azext_netappfiles_preview/_client_factory.py index 1e47638bd89..05559b8625e 100644 --- a/src/anf-preview/azext_anf_preview/_client_factory.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/_client_factory.py @@ -8,7 +8,7 @@ def cf_netapp(cli_ctx, *kwargs): from azure.cli.core.commands.client_factory import get_mgmt_service_client - from azext_anf_preview.vendored_sdks import AzureNetAppFilesManagementClient + from azext_netappfiles_preview.vendored_sdks import AzureNetAppFilesManagementClient return get_mgmt_service_client(cli_ctx, AzureNetAppFilesManagementClient) diff --git a/src/anf-preview/azext_anf_preview/_exception_handler.py b/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py similarity index 70% rename from src/anf-preview/azext_anf_preview/_exception_handler.py rename to src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py index c5567550c88..9a930e27b52 100644 --- a/src/anf-preview/azext_anf_preview/_exception_handler.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py @@ -4,14 +4,16 @@ # -------------------------------------------------------------------------------------------- from knack.util import CLIError - +from msrest.exceptions import ValidationError def netapp_exception_handler(ex): - from azext_anf_preview.vendored_sdks.models import ErrorException - if isinstance(ex, ErrorException): + from azext_netappfiles_preview.vendored_sdks.models import ErrorException + + if isinstance(ex, ErrorException) or (isinstance(ex) == ValidationError) or (isinstance(ex) == ValueError): message = ex raise CLIError(message) else: import sys + from six import reraise reraise(*sys.exc_info()) diff --git a/src/anf-preview/azext_anf_preview/_help.py b/src/netappfiles-preview/azext_netappfiles_preview/_help.py similarity index 59% rename from src/anf-preview/azext_anf_preview/_help.py rename to src/netappfiles-preview/azext_netappfiles_preview/_help.py index 23578635e09..8caf3ac3492 100644 --- a/src/anf-preview/azext_anf_preview/_help.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/_help.py @@ -9,21 +9,21 @@ # pylint: disable=line-too-long -helps['anf'] = """ +helps['netappfiles'] = """ type: group short-summary: Manage Azure NetApp Files (ANF) Resources. """ # account -helps['anf account'] = """ +helps['netappfiles account'] = """ type: group short-summary: Manage Azure NetApp Files (ANF) Account Resources. """ -helps['anf account create'] = """ +helps['netappfiles account create'] = """ type: command - short-summary: Create a new Azure NetApp Files (ANF) account. + short-summary: Create a new Azure NetApp Files (ANF) account. Note that active directory can only be applied to an existing account (using set/update). parameters: - name: --account-name -a -n type: string @@ -34,12 +34,12 @@ examples: - name: Create an ANF account text: > - az anf account create -g group --account-name name -l location + az netappfiles account create -g group --account-name name -l location """ -helps['anf account update'] = """ +helps['netappfiles account set'] = """ type: command - short-summary: Set/modify the tags for a specified ANF account. + short-summary: Sets the tags or the active directory details for a specified ANF account. Sets the active directory property to exactly what is provided. If none is provided then the active directory is removed, i.e. provide empty []. parameters: - name: --account-name -a -n type: string @@ -47,13 +47,38 @@ - name: --tags type: string short-summary: A list of space separated tags to apply to the account + - name: --active-directories + type: string + short-summary: An array of active directory (AD) settings in json format. Limitation one AD/subscription. Consists of the fields username (Username of Active Directory domain administrator), password (Plain text password of Active Directory domain administrator), domain (Name of the Active Directory domain), dns (Comma separated list of DNS server IP addresses for the Active Directory domain), smb_server_name (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), organizational_unit (The Organizational Unit (OU) within the Windows Active Directory) examples: - - name: Update the tags of an ANF account + - name: Update the tags and active directory of an ANF account + text: > + az netappfiles account update -g group --account-name name --tags 'key[=value] key[=value]' --active-directories '[{"username": "aduser", "password": "aduser", "smbservername": "SMBSERVER", "dns": "1.2.3.4", "domain": "westcentralus"}]' + - name: Remove the active directory from the ANF account text: > - az anf account update -g group --account-name name --tags 'key[=value] key[=value]' + az netappfiles account set -g group --account-name name --active-directories '[]' """ -helps['anf account delete'] = """ +helps['netappfiles account update'] = """ + type: command + short-summary: Set/modify the tags or the active directory details for a specified ANF account. Active directory settings are appended only - if none are present no change is made otherwise the active directory is replaced with that provided. + parameters: + - name: --account-name -a -n + type: string + short-summary: The name of the ANF account + - name: --tags + type: string + short-summary: A list of space separated tags to apply to the account + - name: --active-directories + type: string + short-summary: An array of active directory (AD) settings in json format. Limitation one AD/subscription. Consists of the fields username (Username of Active Directory domain administrator), password (Plain text password of Active Directory domain administrator), domain (Name of the Active Directory domain), dns (Comma separated list of DNS server IP addresses for the Active Directory domain), smb_server_name (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), organizational_unit (The Organizational Unit (OU) within the Windows Active Directory) + examples: + - name: Update the tags and active directory of an ANF account + text: > + az netappfiles account update -g group --account-name name --tags 'key[=value] key[=value]' --active-directories '[{"username": "aduser", "password": "aduser", "smbservername": "SMBSERVER", "dns": "1.2.3.4", "domain": "westcentralus"}]' +""" + +helps['netappfiles account delete'] = """ type: command short-summary: Delete the specified ANF account. parameters: @@ -63,19 +88,19 @@ examples: - name: Delete an ANF account text: > - az anf account delete -g group --account-name name + az netappfiles account delete -g group --account-name name """ -helps['anf account list'] = """ +helps['netappfiles account list'] = """ type: command short-summary: List ANF accounts. examples: - name: List ANF accounts within a resource group text: > - az anf account list -g group + az netappfiles account list -g group """ -helps['anf account show'] = """ +helps['netappfiles account show'] = """ type: command short-summary: Get the specified ANF account. parameters: @@ -85,17 +110,17 @@ examples: - name: Get an ANF account text: > - az anf account show -g group --account-name name + az netappfiles account show -g group --account-name name """ # pools -helps['anf pool'] = """ +helps['netappfiles pool'] = """ type: group short-summary: Manage Azure NetApp Files (ANF) Pool Resources. """ -helps['anf pool create'] = """ +helps['netappfiles pool create'] = """ type: command short-summary: Create a new Azure NetApp Files (ANF) pool. parameters: @@ -117,10 +142,10 @@ examples: - name: Create an ANF pool text: > - az anf pool create -g group --account-name aname --pool-name pname -l location --size 4398046511104 --service-level "Premium" + az netappfiles pool create -g group --account-name aname --pool-name pname -l location --size 4398046511104 --service-level "Premium" """ -helps['anf pool update'] = """ +helps['netappfiles pool update'] = """ type: command short-summary: Update the tags of the specified ANF pool. parameters: @@ -142,10 +167,10 @@ examples: - name: Update specific values for an ANF pool text: > - az anf pool update -g group --account-name aname --pool-name pname --service-level "Extreme" --tags 'key[=value] key[=value]' + az netappfiles pool update -g group --account-name aname --pool-name pname --service-level "Extreme" --tags 'key[=value] key[=value]' """ -helps['anf pool delete'] = """ +helps['netappfiles pool delete'] = """ type: command short-summary: Delete the specified ANF pool. parameters: @@ -158,10 +183,10 @@ examples: - name: Delete an ANF pool text: > - az anf pool delete -g group --account-name aname --pool-name pname + az netappfiles pool delete -g group --account-name aname --pool-name pname """ -helps['anf pool list'] = """ +helps['netappfiles pool list'] = """ type: command short-summary: L:ist the ANF pools for the specified account. parameters: @@ -171,10 +196,10 @@ examples: - name: List the pools for the ANF account text: > - az anf pool list -g group --account-name name + az netappfiles pool list -g group --account-name name """ -helps['anf pool show'] = """ +helps['netappfiles pool show'] = """ type: command short-summary: Get the specified ANF pool. parameters: @@ -187,17 +212,17 @@ examples: - name: Get an ANF pool text: > - az anf pool show -g group --account-name aname --pool-name pname + az netappfiles pool show -g group --account-name aname --pool-name pname """ # volumes -helps['anf volume'] = """ +helps['netappfiles volume'] = """ type: group short-summary: Manage Azure NetApp Files (ANF) Volume Resources. """ -helps['anf volume create'] = """ +helps['netappfiles volume create'] = """ type: command short-summary: Create a new Azure NetApp Files (ANF) volume. parameters: @@ -225,13 +250,16 @@ - name: --tags type: string short-summary: A list of space separated tags to apply to the volume + - name: --export-policy + type: string + short-summary: A json list of the parameters for export policy containing rule_index (Order index), unix_read_only (Read only access), unix_read_write (Read and write access), cifs (Allows CIFS protocol), nfsv3 (Allows NFSv3 protocol), nfsv4 (Allows NFSv4 protocol) and allowedClients (Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names) examples: - name: Create an ANF volume text: > - az anf volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" + az netappfiles volume create -g group --account-name aname --pool-name pname --volume-name vname -l location --service-level "Premium" --usage-threshold 107374182400 --creation-token "unique-token" --subnet-id "/subscriptions/mysubsid/resourceGroups/myrg/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/default" --exxport-policy '[{"allowed_clients":"0.0.0.0/0", "rule_index": "1", "unix_read_only": "true", "unix_read_write": "false", "cifs": "false", "nfsv3": "true", "nfsv3": "true", "nfsv4": "false"}]' """ -helps['anf volume update'] = """ +helps['netappfiles volume update'] = """ type: command short-summary: Update the specified ANF volume with the values provided. Unspecified values will remain unchanged. parameters: @@ -253,13 +281,16 @@ - name: --tags type: string short-summary: A list of space separated tags to apply to the volume + - name: --export-policy + type: string + short-summary: A json list of the parameters for export policy containing rule_index (Order index), unix_read_only (Read only access), unix_read_write (Read and write access), cifs (Allows CIFS protocol), nfsv3 (Allows NFSv3 protocol), nfsv4 (Allows NFSv4 protocol) and allowedClients (Client ingress specification as comma separated string with IPv4 CIDRs, IPv4 host addresses and host names) examples: - name: Create an ANF volume text: > - az anf volume update -g group --account-name aname --pool-name pname --volume-name vname --service-level level --usage-threshold 107374182400 --tags 'key[=value] key[=value]' + az netappfiles volume update -g group --account-name aname --pool-name pname --volume-name vname --service-level level --usage-threshold 107374182400 --tags 'key[=value] key[=value]' --exxport-policy '[{"allowed_clients":"1.2.3.0/24", "rule_index": "1", "unix_read_only": "true", "unix_read_write": "false", "cifs": "false", "nfsv3": "true", "nfsv3": "true", "nfsv4": "false"}, {"allowed_clients":"1.2.4.0/24", "rule_index": "2", "unix_read_only": "true", "unix_read_write": "false", "cifs": "false", "nfsv3": "true", "nfsv3": "true", "nfsv4": "false"}]' """ -helps['anf volume delete'] = """ +helps['netappfiles volume delete'] = """ type: command short-summary: Delete the specified ANF volume. parameters: @@ -275,10 +306,10 @@ examples: - name: Delete an ANF volume text: > - az anf volume delete -g group --account-name aname --pool-name pname + az netappfiles volume delete -g group --account-name aname --pool-name pname --volume-name vname """ -helps['anf volume list'] = """ +helps['netappfiles volume list'] = """ type: command short-summary: List the ANF Pools for the specified account. parameters: @@ -291,10 +322,10 @@ examples: - name: List the ANF volumes of the pool text: > - az anf volume list -g group --account-name aname --pool-name pname + az netappfiles volume list -g group --account-name aname --pool-name pname """ -helps['anf volume show'] = """ +helps['netappfiles volume show'] = """ type: command short-summary: Get the specified ANF volume. parameters: @@ -310,17 +341,17 @@ examples: - name: Returns the properties of the given ANF volume text: > - az anf volume show -g group --account-name aname --pool-name pname --volume-name vname + az netappfiles volume show -g group --account-name aname --pool-name pname --volume-name vname """ # mounttargets -helps['anf mount-target'] = """ +helps['netappfiles mount-target'] = """ type: group short-summary: Manage Azure NetApp Files (ANF) Mount Target Resources. """ -helps['anf mount-target list'] = """ +helps['netappfiles mount-target list'] = """ type: command short-summary: List the mount targets of an ANF volume. parameters: @@ -336,17 +367,17 @@ examples: - name: list the mount targets of an ANF volume text: > - az anf mount-target list -g group --account-name aname --pool-name pname --volume-name vname + az netappfiles mount-target list -g group --account-name aname --pool-name pname --volume-name vname """ # snapshots -helps['anf snapshot'] = """ +helps['netappfiles snapshot'] = """ type: group short-summary: Manage Azure NetApp Files (ANF) Snapshot Resources. """ -helps['anf snapshot create'] = """ +helps['netappfiles snapshot create'] = """ type: command short-summary: Create a new Azure NetApp Files (ANF) snapshot. parameters: @@ -368,10 +399,10 @@ examples: - name: Create an ANF snapshot text: > - az anf snapshot create -g group --account-name account-name --pool-name pname --volume-name vname --snapshot-name sname -l location --file-system-id volume-uuid + az netappfiles snapshot create -g group --account-name account-name --pool-name pname --volume-name vname --snapshot-name sname -l location --file-system-id volume-uuid """ -helps['anf snapshot delete'] = """ +helps['netappfiles snapshot delete'] = """ type: command short-summary: Delete the specified ANF snapshot. parameters: @@ -390,10 +421,10 @@ examples: - name: Delete an ANF snapshot text: > - az anf snapshot delete -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname + az netappfiles snapshot delete -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname """ -helps['anf snapshot list'] = """ +helps['netappfiles snapshot list'] = """ type: command short-summary: List the snapshots of an ANF volume. parameters: @@ -409,10 +440,10 @@ examples: - name: list the snapshots of an ANF volume text: > - az anf snapshot list -g group --account-name aname --pool-name pname --volume-name vname + az netappfiles snapshot list -g group --account-name aname --pool-name pname --volume-name vname """ -helps['anf snapshot show'] = """ +helps['netappfiles snapshot show'] = """ type: command short-summary: Get the specified ANF snapshot. parameters: @@ -431,5 +462,5 @@ examples: - name: Return the specified ANF snapshot text: > - az anf snapshot show -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname + az netappfiles snapshot show -g group --account-name aname --pool-name pname --volume-name vname --snapshot-name sname """ diff --git a/src/anf-preview/azext_anf_preview/_params.py b/src/netappfiles-preview/azext_netappfiles_preview/_params.py similarity index 75% rename from src/anf-preview/azext_anf_preview/_params.py rename to src/netappfiles-preview/azext_netappfiles_preview/_params.py index 4f10198153b..4c6a0a3932e 100644 --- a/src/anf-preview/azext_anf_preview/_params.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/_params.py @@ -4,60 +4,55 @@ # -------------------------------------------------------------------------------------------- # pylint: disable=line-too-long -from azure.cli.core.commands.parameters import resource_group_name_type def load_arguments(self, _): - with self.argument_context('anf') as c: + with self.argument_context('netappfiles') as c: c.argument('resource_group', options_list=['--resource-group', '-g'], required=True, help='The name of the resource group') - with self.argument_context('anf') as c: + with self.argument_context('netappfiles') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account') - with self.argument_context('anf account') as c: + with self.argument_context('netappfiles account') as c: c.argument('account_name', id_part='name', options_list=['--account-name', '-n', '-a'], required=True, help='The name of the ANF account') - with self.argument_context('anf account list') as c: + 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('anf') as c: + with self.argument_context('netappfiles') as c: c.argument('pool_name', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') - with self.argument_context('anf pool') as c: + with self.argument_context('netappfiles pool') as c: c.argument('account_name', id_part='name') c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-n', '-p'], required=True, help='The name of the ANF pool') - with self.argument_context('anf pool list') as c: + with self.argument_context('netappfiles pool list') as c: c.argument('account_name', options_list=['--account-name', '-n', '-a'], help='The name of the ANF account', id_part=None) - with self.argument_context('anf') as c: + with self.argument_context('netappfiles') as c: c.argument('volume_name', options_list=['--volume-name', '-v'], required=True, help='The name of the ANF volume') - with self.argument_context('anf volume') as c: + with self.argument_context('netappfiles volume') as c: c.argument('account_name', id_part='name') c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name', '-n', '-v'], required=True, help='The name of the ANF volume') - with self.argument_context('anf volume list') as c: + with self.argument_context('netappfiles volume list') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account', id_part=None) c.argument('pool_name', options_list=['--pool-name', '-n', '-p'], required=True, help='The name of the ANF pool', id_part=None) - with self.argument_context('anf') as c: + with self.argument_context('netappfiles') as c: c.argument('snapshot_name', options_list=['--snapshot-name', '-s'], required=True, help='The name of the ANF snapshot') - with self.argument_context('anf snapshot') as c: + with self.argument_context('netappfiles snapshot') as c: c.argument('account_name', options_list=['--account-name', '-a'], id_part='name') c.argument('pool_name', id_part='child_name_1', options_list=['--pool-name', '-p'], required=True, help='The name of the ANF pool') c.argument('volume_name', id_part='child_name_2', options_list=['--volume-name', '-v'], required=True, help='The name of the ANF volume') c.argument('snapshot_name', id_part='child_name_3', options_list=['--snapshot-name', '-n', '-s'], required=True, help='The name of the ANF snapshot') - with self.argument_context('anf snapshot list') as c: + with self.argument_context('netappfiles snapshot list') as c: c.argument('account_name', options_list=['--account-name', '-a'], required=True, help='The name of the ANF account', id_part=None) c.argument('volume_name', options_list=['--volume-name', '-n', '-v'], required=True, help='The name of the ANF volume', id_part=None) - with self.argument_context('anf') as c: + with self.argument_context('netappfiles') as c: c.argument('tag', options_list=['--tags'], required=False, help='A list of space separated tags to apply to the account') - - # incompatible naming of resource_group in the swagger - including this to provide its associated feature set until it is updated - with self.argument_context('anf') as c: - c.argument('resource_group', arg_type=resource_group_name_type) diff --git a/src/anf-preview/azext_anf_preview/azext_metadata.json b/src/netappfiles-preview/azext_netappfiles_preview/azext_metadata.json similarity index 100% rename from src/anf-preview/azext_anf_preview/azext_metadata.json rename to src/netappfiles-preview/azext_netappfiles_preview/azext_metadata.json diff --git a/src/netappfiles-preview/azext_netappfiles_preview/commands.py b/src/netappfiles-preview/azext_netappfiles_preview/commands.py new file mode 100644 index 00000000000..859fc1f22a3 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/commands.py @@ -0,0 +1,108 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +# pylint: disable=line-too-long + +from azure.cli.core.commands import CliCommandType +from ._client_factory import ( + accounts_mgmt_client_factory, + pools_mgmt_client_factory, + volumes_mgmt_client_factory, + mount_targets_mgmt_client_factory, + snapshots_mgmt_client_factory) +from ._exception_handler import netapp_exception_handler + + +def load_command_table(self, _): + netappfiles_accounts_sdk = CliCommandType( + operations_tmpl='azext_netappfiles_preview.vendored_sdks.operations.accounts_operations#AccountsOperations.{}', + client_factory=accounts_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + netappfiles_pools_sdk = CliCommandType( + operations_tmpl='azext_netappfiles_preview.vendored_sdks.operations.pools_operations#PoolsOperations.{}', + client_factory=pools_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + netappfiles_volumes_sdk = CliCommandType( + operations_tmpl='azext_netappfiles_preview.vendored_sdks.operations.volumes_operations#VolumesOperations.{}', + client_factory=volumes_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + netappfiles_mount_targets_sdk = CliCommandType( + operations_tmpl='azext_netappfiles_preview.vendored_sdks.operations.mount_targets_operations#MountTargetsOperations.{}', + client_factory=mount_targets_mgmt_client_factory, + exception_handler=netapp_exception_handler + ) + + netappfiles_snapshots_sdk = CliCommandType( + operations_tmpl='azext_netappfiles_preview.vendored_sdks.operations.snapshots_operations#SnapshotsOperations.{}', + client_factory=snapshots_mgmt_client_factory, + exception_handler=netapp_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='azext_netappfiles_preview.vendored_sdks.models#NetAppAccount', + exception_handler=netapp_exception_handler) + g.custom_command('set', 'update_account', + client_factory=accounts_mgmt_client_factory, + doc_string_source='azext_netappfiles_preview.vendored_sdks.models#NetAppAccount', + exception_handler=netapp_exception_handler) + g.generic_update_command('update', + setter_name='update', + custom_func_name='patch_account', + setter_arg_name='body', + doc_string_source='azext_netappfiles_preview.vendored_sdks.models#NetAppAccountPatch', + exception_handler=netapp_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='azext_netappfiles_preview.vendored_sdks.models#CapacityPool', + exception_handler=netapp_exception_handler) + g.generic_update_command('update', + setter_name='update', + custom_func_name='patch_pool', + setter_arg_name='body', + doc_string_source='azext_netappfiles_preview.vendored_sdks.models#CapacityPool', + exception_handler=netapp_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='azext_netappfiles_preview.vendored_sdks.models#Volume', + exception_handler=netapp_exception_handler) + g.generic_update_command('update', + setter_name='update', + custom_func_name='patch_volume', + setter_arg_name='body', + doc_string_source='azext_netappfiles_preview.vendored_sdks.models#VolumePatch', + exception_handler=netapp_exception_handler) + + with self.command_group('netappfiles mount-target', netappfiles_mount_targets_sdk) as g: + g.command('list', '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='azext_netappfiles_preview.vendored_sdks.models#Snapshot', + exception_handler=netapp_exception_handler) diff --git a/src/netappfiles-preview/azext_netappfiles_preview/custom.py b/src/netappfiles-preview/azext_netappfiles_preview/custom.py new file mode 100644 index 00000000000..0973b5fa059 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/custom.py @@ -0,0 +1,152 @@ +# -------------------------------------------------------------------------------------------- +# 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 + +import json +from knack.log import get_logger +from azext_netappfiles_preview.vendored_sdks.models import ActiveDirectory, NetAppAccount, NetAppAccountPatch, CapacityPool, Volume, VolumePatch, VolumePropertiesExportPolicy, ExportPolicyRule, Snapshot + +logger = get_logger(__name__) + + +def generate_tags(tag): + if tag is None: + return None + + tags = {} + tag_list = tag.split(" ") + for tag_item in tag_list: + parts = tag_item.split("=", 1) + if len(parts) == 2: + # two parts, everything after first '=' is the tag's value + tags[parts[0]] = parts[1] + elif len(parts) == 1: + # one part, no tag value + tags[parts[0]] = "" + return tags + + +def _update_mapper(existing, new, keys): + for key in keys: + existing_value = getattr(existing, key) + new_value = getattr(new, key) + setattr(new, key, new_value if new_value is not None else existing_value) + + +def build_active_directories(active_directories=None): + acc_active_directories = None + + if active_directories: + acc_active_directories = [] + ad_list = json.loads(active_directories) + for ad in ad_list: + username = ad['username'] if 'username' in ad else None + password = ad['password'] if 'password' in ad else None + domain = ad['domain'] if 'domain' in ad else None + dns = ad['dns'] if 'dns' in ad else None + smbservername = ad['smbservername'] if 'smbservername' in ad else None + organizational_unit = ad['organizational_unit'] if 'organizational_unit' in ad else None + active_directory = ActiveDirectory(username=username, password=password, domain=domain, d_ns=dns, s_mb_server_name=smbservername, organizational_unit=organizational_unit) + acc_active_directories.append(active_directory) + + return acc_active_directories + + +# pylint: disable=unused-argument +def create_account(cmd, client, account_name, resource_group_name, location, tag=None, active_directories=None): + acc_active_directories = build_active_directories(active_directories) + body = NetAppAccount(location=location, tags=generate_tags(tag), active_directories=acc_active_directories) + return client.create_or_update(body, resource_group_name, account_name) + + +# pylint: disable=unused-argument +def update_account(cmd, client, account_name, resource_group_name, location, tag=None, active_directories=None): + # Note: this set command is required in addition to the update + # 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 set command is required that + # asserts exactly the content provided, replacing whatever is already present including removing it if none + # is present + acc_active_directories = build_active_directories(active_directories) + body = NetAppAccountPatch(location=location, tags=generate_tags(tag), active_directories=acc_active_directories) + return client.create_or_update(body, resource_group_name, account_name) + + +def patch_account(cmd, instance, account_name, resource_group_name, location, tag=None, active_directories=None): + # parameters for active directory here will add to the existing ADs but cannot remove them + # current limitation however is 1 AD/subscription + acc_active_directories = build_active_directories(active_directories) + body = NetAppAccountPatch(location=location, tags=generate_tags(tag), active_directories=acc_active_directories) + _update_mapper(instance, body, ['location', 'active_directories', 'tags']) + return body + + +def create_pool(cmd, client, account_name, pool_name, resource_group_name, location, size, service_level, tag=None): + body = CapacityPool(service_level=service_level, size=int(size), location=location, tags=generate_tags(tag)) + return client.create_or_update(body, resource_group_name, account_name, pool_name) + + +def patch_pool(cmd, instance, location=None, size=None, service_level=None, tag=None): + # put operation to update the record + if size is not None: + size = int(size) + body = CapacityPool(service_level=service_level, size=size, location=location, tags=generate_tags(tag)) + _update_mapper(instance, body, ['location', 'service_level', 'size', 'tags']) + return body + + +def build_export_policy_rules(export_policy=None): + rules = [] + + if export_policy: + ep_list = json.loads(export_policy) + for ep in ep_list: + rule_index = ep['rule_index'] if 'rule_index' in ep else None + unix_read_only = ep['unix_read_only'] if 'unix_read_only' in ep else None + unix_read_write = ep['unix_read_write'] if 'unix_read_write' in ep else None + cifs = ep['cifs'] if 'cifs' in ep else None + nfsv3 = ep['nfsv3'] if 'nfsv3' in ep else None + nfsv4 = ep['nfsv4'] if 'nfsv4' in ep else None + allowed_clients = ep['allowed_clients'] if 'allowed_clients' in ep else None + 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) + + return rules + + +def create_volume(cmd, client, account_name, pool_name, volume_name, resource_group_name, location, service_level, creation_token, usage_threshold, subnet_id, tag=None, export_policy=None): + rules = build_export_policy_rules(export_policy) + volume_export_policy = VolumePropertiesExportPolicy(rules=rules) if rules != [] else None + + body = Volume( + usage_threshold=int(usage_threshold), + creation_token=creation_token, + service_level=service_level, + location=location, + subnet_id=subnet_id, + tags=generate_tags(tag), + export_policy=volume_export_policy) + + return client.create_or_update(body, resource_group_name, account_name, pool_name, volume_name) + + +def patch_volume(cmd, instance, service_level=None, usage_threshold=None, tag=None, export_policy=None): + + # the export policy provided replaces any existing eport policy + rules = build_export_policy_rules(export_policy) + volume_export_policy = VolumePropertiesExportPolicy(rules=rules) if rules != [] else None + + params = VolumePatch( + usage_threshold=None if usage_threshold is None else int(usage_threshold), + service_level=service_level, + tags=generate_tags(tag), + export_policy=volume_export_policy) + _update_mapper(instance, params, ['service_level', 'usage_threshold', 'tags', 'export_policy']) + return params + + +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/anf-preview/azext_anf_preview/tests/__init__.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/__init__.py similarity index 100% rename from src/anf-preview/azext_anf_preview/tests/__init__.py rename to src/netappfiles-preview/azext_netappfiles_preview/tests/__init__.py diff --git a/src/anf-preview/azext_anf_preview/tests/latest/__init__.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/__init__.py similarity index 100% rename from src/anf-preview/azext_anf_preview/tests/latest/__init__.py rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/__init__.py diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_account.yaml similarity index 61% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_account.yaml index dbefe229f51..d78dded2e7e 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_account.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_account.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:35:11Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T15:49:42Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,19 +14,19 @@ interactions: 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 + 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_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:35:11Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + 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-04-06T15:49:42Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:35:17 GMT'] + date: ['Sat, 06 Apr 2019 15:49:54 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1", "Tag2": @@ -34,27 +34,29 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A35%3A23.2520595Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T15%3A50%3A07.4712798Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/eda78768-f636-415e-94bc-4ddb9bc0b068?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b04f5e6-44e2-4ee5-bc98-35beaf1135a1?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['493'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:35:25 GMT'] - etag: [W/"datetime'2019-02-28T08%3A35%3A23.2520595Z'"] + date: ['Sat, 06 Apr 2019 15:50:09 GMT'] + etag: [W/"datetime'2019-04-06T15%3A50%3A07.4712798Z'"] expires: ['-1'] pragma: [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] @@ -66,22 +68,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/eda78768-f636-415e-94bc-4ddb9bc0b068?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b04f5e6-44e2-4ee5-bc98-35beaf1135a1?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/eda78768-f636-415e-94bc-4ddb9bc0b068","name":"eda78768-f636-415e-94bc-4ddb9bc0b068","status":"Succeeded","startTime":"2019-02-28T08:35:23.182011Z","endTime":"2019-02-28T08:35:23.508401Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b04f5e6-44e2-4ee5-bc98-35beaf1135a1","name":"2b04f5e6-44e2-4ee5-bc98-35beaf1135a1","status":"Succeeded","startTime":"2019-04-06T15:50:07.3330326Z","endTime":"2019-04-06T15:50:07.7704249Z","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: ['574'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:35:57 GMT'] + date: ['Sat, 06 Apr 2019 15:50: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] @@ -94,23 +98,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A35%3A23.5422659Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T15%3A50%3A08.0236659Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:35:59 GMT'] - etag: [W/"datetime'2019-02-28T08%3A35%3A23.5422659Z'"] + date: ['Sat, 06 Apr 2019 15:50:42 GMT'] + etag: [W/"datetime'2019-04-06T15%3A50%3A08.0236659Z'"] expires: ['-1'] pragma: [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] @@ -123,23 +129,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A35%3A23.5422659Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T15%3A50%3A08.0236659Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:36:30 GMT'] + date: ['Sat, 06 Apr 2019 15:50: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] @@ -152,25 +160,27 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/142d966c-5c3f-4772-84c2-64196d72f14b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 08:36:09 GMT'] + date: ['Sat, 06 Apr 2019 15:50:46 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/142d966c-5c3f-4772-84c2-64196d72f14b?api-version=2017-08-15&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] @@ -182,22 +192,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/142d966c-5c3f-4772-84c2-64196d72f14b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fcd20a96-5232-44ad-885e-f4b14bd87bfc","name":"fcd20a96-5232-44ad-885e-f4b14bd87bfc","status":"Succeeded","startTime":"2019-02-28T08:36:06.5430702Z","endTime":"2019-02-28T08:36:06.6211628Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/142d966c-5c3f-4772-84c2-64196d72f14b","name":"142d966c-5c3f-4772-84c2-64196d72f14b","status":"Succeeded","startTime":"2019-04-06T15:50:46.6845429Z","endTime":"2019-04-06T15:50:46.8408264Z","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: ['Thu, 28 Feb 2019 08:36:49 GMT'] + date: ['Sat, 06 Apr 2019 15:51: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] @@ -210,21 +222,21 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:36:39 GMT'] + date: ['Sat, 06 Apr 2019 15:51:18 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -237,27 +249,29 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A36%3A46.0397691Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T15%3A51%3A25.330814Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6d39b40-84f4-49e9-9b68-3fc3c1148cbb?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/124d3003-0d62-4d66-b556-097bcd5e896b?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['493'] + content-length: ['492'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:36:46 GMT'] - etag: [W/"datetime'2019-02-28T08%3A36%3A46.0397691Z'"] + date: ['Sat, 06 Apr 2019 15:51:32 GMT'] + etag: [W/"datetime'2019-04-06T15%3A51%3A25.330814Z'"] expires: ['-1'] pragma: [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] @@ -269,22 +283,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6d39b40-84f4-49e9-9b68-3fc3c1148cbb?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/124d3003-0d62-4d66-b556-097bcd5e896b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6d39b40-84f4-49e9-9b68-3fc3c1148cbb","name":"c6d39b40-84f4-49e9-9b68-3fc3c1148cbb","status":"Succeeded","startTime":"2019-02-28T08:36:45.95675Z","endTime":"2019-02-28T08:36:46.2830427Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/124d3003-0d62-4d66-b556-097bcd5e896b","name":"124d3003-0d62-4d66-b556-097bcd5e896b","status":"Succeeded","startTime":"2019-04-06T15:51:25.2342211Z","endTime":"2019-04-06T15:51:25.5779418Z","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: ['574'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:37:29 GMT'] + date: ['Sat, 06 Apr 2019 15:52: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] @@ -297,23 +313,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A36%3A46.3229695Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T15%3A51%3A25.6720521Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:37:18 GMT'] - etag: [W/"datetime'2019-02-28T08%3A36%3A46.3229695Z'"] + date: ['Sat, 06 Apr 2019 15:52:04 GMT'] + etag: [W/"datetime'2019-04-06T15%3A51%3A25.6720521Z'"] expires: ['-1'] pragma: [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] @@ -326,23 +344,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A36%3A46.3229695Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T15%3A51%3A25.6720521Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:37:22 GMT'] + date: ['Sat, 06 Apr 2019 15:52: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] @@ -355,25 +375,27 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e0ff2333-cf66-4c0f-9bc2-56169c45b8fd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 08:37:30 GMT'] + date: ['Sat, 06 Apr 2019 15:52:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e0ff2333-cf66-4c0f-9bc2-56169c45b8fd?api-version=2017-08-15&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] @@ -385,22 +407,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e0ff2333-cf66-4c0f-9bc2-56169c45b8fd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/65e566a9-f8ec-48cf-8517-3548a66842fe","name":"65e566a9-f8ec-48cf-8517-3548a66842fe","status":"Succeeded","startTime":"2019-02-28T08:37:27.4067158Z","endTime":"2019-02-28T08:37:27.5628598Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e0ff2333-cf66-4c0f-9bc2-56169c45b8fd","name":"e0ff2333-cf66-4c0f-9bc2-56169c45b8fd","status":"Succeeded","startTime":"2019-04-06T15:52:08.9950425Z","endTime":"2019-04-06T15:52:09.1824951Z","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: ['Thu, 28 Feb 2019 08:37:56 GMT'] + date: ['Sat, 06 Apr 2019 15:52: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] @@ -413,21 +437,21 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:37:58 GMT'] + date: ['Sat, 06 Apr 2019 15:52:41 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -447,15 +471,15 @@ interactions: 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 + 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: ['Thu, 28 Feb 2019 08:38:04 GMT'] + date: ['Sat, 06 Apr 2019 15:52:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHREZXQkg0U1ROVlpXWERGRUVHRk5SMkRUTFlGQUk3TXwwRTM0OEVFOUUxMTUyMkEwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGNENHUzJXTDdBWEw1TlFNUjRTNlVLVEdFN0hVM3xERDUzNEU2QUFFNDY2REQ4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml similarity index 72% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml index 45f8f5c0f54..696d5a3c4c3 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T09:32:03Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T16:01:19Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,48 +16,50 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T09:32:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-06T16:01:19Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:32:39 GMT'] + date: ['Sat, 06 Apr 2019 16:01:22 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A32%3A15.8719063Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A01%3A26.3863642Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ad3192ab-3a2b-4be5-81e8-44763ef1b440?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f2b935bf-0e23-43d8-a1c2-086f8c9bd4c5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:32:17 GMT'] - etag: [W/"datetime'2019-02-28T09%3A32%3A15.8719063Z'"] + date: ['Sat, 06 Apr 2019 16:01:26 GMT'] + etag: [W/"datetime'2019-04-06T16%3A01%3A26.3863642Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ad3192ab-3a2b-4be5-81e8-44763ef1b440?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f2b935bf-0e23-43d8-a1c2-086f8c9bd4c5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ad3192ab-3a2b-4be5-81e8-44763ef1b440","name":"ad3192ab-3a2b-4be5-81e8-44763ef1b440","status":"Succeeded","startTime":"2019-02-28T09:32:15.8184867Z","endTime":"2019-02-28T09:32:16.1152417Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f2b935bf-0e23-43d8-a1c2-086f8c9bd4c5","name":"f2b935bf-0e23-43d8-a1c2-086f8c9bd4c5","status":"Succeeded","startTime":"2019-04-06T16:01:26.3399474Z","endTime":"2019-04-06T16:01:26.6367918Z","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: ['Thu, 28 Feb 2019 09:32:48 GMT'] + date: ['Sat, 06 Apr 2019 16:01: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A32%3A16.1571074Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A01%3A26.680571Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:33:07 GMT'] - etag: [W/"datetime'2019-02-28T09%3A32%3A16.1571074Z'"] + date: ['Sat, 06 Apr 2019 16:01:59 GMT'] + etag: [W/"datetime'2019-04-06T16%3A01%3A26.680571Z'"] expires: ['-1'] pragma: [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] @@ -123,32 +129,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A32%3A56.8139465Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A02%3A02.9470483Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/def82213-738d-45c1-aaee-92bc85774dbe?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a6e3dbf-9f77-4a20-afb4-51229d51aa53?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:33:12 GMT'] - etag: [W/"datetime'2019-02-28T09%3A32%3A56.8139465Z'"] + date: ['Sat, 06 Apr 2019 16:02:02 GMT'] + etag: [W/"datetime'2019-04-06T16%3A02%3A02.9470483Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -156,23 +164,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/def82213-738d-45c1-aaee-92bc85774dbe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a6e3dbf-9f77-4a20-afb4-51229d51aa53?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/def82213-738d-45c1-aaee-92bc85774dbe","name":"def82213-738d-45c1-aaee-92bc85774dbe","status":"Succeeded","startTime":"2019-02-28T09:32:56.7503905Z","endTime":"2019-02-28T09:32:57.2660737Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a6e3dbf-9f77-4a20-afb4-51229d51aa53","name":"8a6e3dbf-9f77-4a20-afb4-51229d51aa53","status":"Succeeded","startTime":"2019-04-06T16:02:02.8993734Z","endTime":"2019-04-06T16:02:03.3212552Z","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: ['Thu, 28 Feb 2019 09:33:32 GMT'] + date: ['Sat, 06 Apr 2019 16:02: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] @@ -185,24 +195,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A32%3A57.3002928Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"78be7485-5c9e-5ced-5635-9d543253ce03","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A02%3A03.363342Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"00e51dc0-1dfe-88c1-6a7c-343997d2b66a","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-length: ['690'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:33:32 GMT'] - etag: [W/"datetime'2019-02-28T09%3A32%3A57.3002928Z'"] + date: ['Sat, 06 Apr 2019 16:02:35 GMT'] + etag: [W/"datetime'2019-04-06T16%3A02%3A03.363342Z'"] expires: ['-1'] pragma: [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] @@ -215,23 +227,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A32%3A57.3002928Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"78be7485-5c9e-5ced-5635-9d543253ce03","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + 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-04-06T16%3A02%3A03.363342Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"00e51dc0-1dfe-88c1-6a7c-343997d2b66a","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-length: ['702'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:33:34 GMT'] + date: ['Sat, 06 Apr 2019 16:02: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] @@ -244,29 +258,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ae3a6a5-df16-4e88-aac8-5c46521de0a3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:33:38 GMT'] + date: ['Sat, 06 Apr 2019 16:02:40 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ae3a6a5-df16-4e88-aac8-5c46521de0a3?api-version=2017-08-15&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-ms-ratelimit-remaining-subscription-deletes: ['14996'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -274,22 +290,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ae3a6a5-df16-4e88-aac8-5c46521de0a3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2b603983-8b86-4eb2-9a05-9a3cc02ac05a","name":"2b603983-8b86-4eb2-9a05-9a3cc02ac05a","status":"Succeeded","startTime":"2019-02-28T09:33:39.3666427Z","endTime":"2019-02-28T09:33:42.9690047Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ae3a6a5-df16-4e88-aac8-5c46521de0a3","name":"9ae3a6a5-df16-4e88-aac8-5c46521de0a3","status":"Succeeded","startTime":"2019-04-06T16:02:40.0377421Z","endTime":"2019-04-06T16:02:43.5690648Z","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: ['Thu, 28 Feb 2019 09:34:15 GMT'] + date: ['Sat, 06 Apr 2019 16:03: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] @@ -302,23 +320,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:34:12 GMT'] + date: ['Sat, 06 Apr 2019 16:03: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] @@ -332,31 +352,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A34%3A19.3544568Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A03%3A16.7989259Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9c7e3ea5-7317-43f1-9c1d-c9af75f69755?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/43009943-cfcf-42db-852e-d93509a616e5?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['583'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:34:22 GMT'] - etag: [W/"datetime'2019-02-28T09%3A34%3A19.3544568Z'"] + date: ['Sat, 06 Apr 2019 16:03:17 GMT'] + etag: [W/"datetime'2019-04-06T16%3A03%3A16.7989259Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -364,22 +386,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9c7e3ea5-7317-43f1-9c1d-c9af75f69755?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/43009943-cfcf-42db-852e-d93509a616e5?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9c7e3ea5-7317-43f1-9c1d-c9af75f69755","name":"9c7e3ea5-7317-43f1-9c1d-c9af75f69755","status":"Succeeded","startTime":"2019-02-28T09:34:19.1351036Z","endTime":"2019-02-28T09:34:19.6351165Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/43009943-cfcf-42db-852e-d93509a616e5","name":"43009943-cfcf-42db-852e-d93509a616e5","status":"Succeeded","startTime":"2019-04-06T16:03:16.755545Z","endTime":"2019-04-06T16:03:17.0837027Z","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-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:35:08 GMT'] + date: ['Sat, 06 Apr 2019 16:03: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] @@ -392,23 +416,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A34%3A19.6696801Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"124fdf7c-7e2e-d08b-89c3-4036902d3936","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A03%3A17.1301588Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"762329df-a352-ac8d-12f9-cd970c92c791","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: ['Thu, 28 Feb 2019 09:34:55 GMT'] - etag: [W/"datetime'2019-02-28T09%3A34%3A19.6696801Z'"] + date: ['Sat, 06 Apr 2019 16:03:50 GMT'] + etag: [W/"datetime'2019-04-06T16%3A03%3A17.1301588Z'"] expires: ['-1'] pragma: [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] @@ -421,29 +447,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7d5cd6a3-d1a9-4fd5-a46b-d9e36599153a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:35:11 GMT'] + date: ['Sat, 06 Apr 2019 16:03:52 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7d5cd6a3-d1a9-4fd5-a46b-d9e36599153a?api-version=2017-08-15&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-ms-ratelimit-remaining-subscription-deletes: ['14998'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -451,22 +479,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7d5cd6a3-d1a9-4fd5-a46b-d9e36599153a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a3857123-f537-45d7-a967-0466fc26b949","name":"a3857123-f537-45d7-a967-0466fc26b949","status":"Succeeded","startTime":"2019-02-28T09:34:59.7584047Z","endTime":"2019-02-28T09:35:03.2303059Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7d5cd6a3-d1a9-4fd5-a46b-d9e36599153a","name":"7d5cd6a3-d1a9-4fd5-a46b-d9e36599153a","status":"Succeeded","startTime":"2019-04-06T16:03:52.5306757Z","endTime":"2019-04-06T16:03:55.6543607Z","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: ['Thu, 28 Feb 2019 09:35:29 GMT'] + date: ['Sat, 06 Apr 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] @@ -479,23 +509,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:35:35 GMT'] + date: ['Sat, 06 Apr 2019 16:04: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] @@ -522,9 +554,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:35:44 GMT'] + date: ['Sat, 06 Apr 2019 16:04:42 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSVY2UkNYTzJQTjZRU0FMUDJUU0pXRlRHS0Q1NVdTSXwxRUFFN0YxRTI2NDE0Q0E4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHM0ZYRVZKVlVVQjdTTjdYTExJMzJUVDdMRVNLV0pWSXw2QTUwRkM0N0I0RjczN0MyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_snapshots.yaml similarity index 61% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_snapshots.yaml index 2bc3c245d4f..26c1ec911cd 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_snapshots.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:29:11Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T11:24:49Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:29:11Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-04-08T11:24:49Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:17 GMT'] + date: ['Mon, 08 Apr 2019 11:24:53 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"3a90d6cc-0904-4952-90fc-5066f5e1f399\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"15c734f1-94bf-40e4-907e-54448a0c8b17\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"86caa702-8122-4134-8ed4-dcd921340d3e\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"0cdfadf7-01b0-40fb-97d2-47e274148539\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e1a5c71d-e1fa-4965-af81-730215dd3b1a?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/12f3097c-51fc-4191-9f27-2e62e3015576?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:24 GMT'] + date: ['Mon, 08 Apr 2019 11:24:58 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e1a5c71d-e1fa-4965-af81-730215dd3b1a?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/12f3097c-51fc-4191-9f27-2e62e3015576?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:28 GMT'] + date: ['Mon, 08 Apr 2019 11:25:02 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"984db690-1cc5-40d9-bc40-77a5dc37fdd5\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"5dc09fa4-559f-45c4-b11b-60b8dcc111f4\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"86caa702-8122-4134-8ed4-dcd921340d3e\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"0cdfadf7-01b0-40fb-97d2-47e274148539\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:29 GMT'] - etag: [W/"984db690-1cc5-40d9-bc40-77a5dc37fdd5"] + date: ['Mon, 08 Apr 2019 11:25:03 GMT'] + etag: [W/"5dc09fa4-559f-45c4-b11b-60b8dcc111f4"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"ce7f0cd6-e3ec-4c48-8168-141a016225db\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"9c6f0a07-b440-4faf-aaae-915bfff2fc95\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"ce7f0cd6-e3ec-4c48-8168-141a016225db\\\"\"\ + ,\r\n \"etag\": \"W/\\\"9c6f0a07-b440-4faf-aaae-915bfff2fc95\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/800539aa-0f63-404d-867e-bb54810941dd?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1822573b-e097-4fbf-99f0-79ef3df9b87c?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:31 GMT'] + date: ['Mon, 08 Apr 2019 11:25:04 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/800539aa-0f63-404d-867e-bb54810941dd?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1822573b-e097-4fbf-99f0-79ef3df9b87c?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:34 GMT'] + date: ['Mon, 08 Apr 2019 11:25:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"4e02acbf-f2c3-418c-b3e8-8dd17a2b1f4e\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"963412b9-427f-490c-a156-3576a4b76905\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"4e02acbf-f2c3-418c-b3e8-8dd17a2b1f4e\\\"\"\ + ,\r\n \"etag\": \"W/\\\"963412b9-427f-490c-a156-3576a4b76905\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:35 GMT'] - etag: [W/"4e02acbf-f2c3-418c-b3e8-8dd17a2b1f4e"] + date: ['Mon, 08 Apr 2019 11:25:08 GMT'] + etag: [W/"963412b9-427f-490c-a156-3576a4b76905"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -252,31 +252,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A29%3A40.4499096Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A25%3A14.504156Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c1002dfc-a07b-4fb2-9338-4238c9847bfe?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8d871670-4541-450f-9ec0-b6fa68aea8f7?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['452'] + content-length: ['451'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:29:40 GMT'] - etag: [W/"datetime'2019-02-25T18%3A29%3A40.4499096Z'"] + date: ['Mon, 08 Apr 2019 11:25:15 GMT'] + etag: [W/"datetime'2019-04-08T11%3A25%3A14.504156Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -284,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c1002dfc-a07b-4fb2-9338-4238c9847bfe?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8d871670-4541-450f-9ec0-b6fa68aea8f7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c1002dfc-a07b-4fb2-9338-4238c9847bfe","name":"c1002dfc-a07b-4fb2-9338-4238c9847bfe","status":"Succeeded","startTime":"2019-02-25T18:29:40.383394Z","endTime":"2019-02-25T18:29:41.2585783Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8d871670-4541-450f-9ec0-b6fa68aea8f7","name":"8d871670-4541-450f-9ec0-b6fa68aea8f7","status":"Succeeded","startTime":"2019-04-08T11:25:14.4377527Z","endTime":"2019-04-08T11:25:14.750322Z","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-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:30:11 GMT'] + date: ['Mon, 08 Apr 2019 11: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] @@ -312,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A29%3A41.3035177Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A25%3A14.7923592Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 18:30:13 GMT'] - etag: [W/"datetime'2019-02-25T18%3A29%3A41.3035177Z'"] + date: ['Mon, 08 Apr 2019 11:25:50 GMT'] + etag: [W/"datetime'2019-04-08T11%3A25%3A14.7923592Z'"] expires: ['-1'] pragma: [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] @@ -342,27 +348,29 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A30%3A17.629504Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T11%3A25%3A54.8870793Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5009001d-5fa7-4833-8cb3-ba407a08ba30?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0abec22-bad8-482a-954d-021787cf37bb?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:30:18 GMT'] - etag: [W/"datetime'2019-02-25T18%3A30%3A17.629504Z'"] + date: ['Mon, 08 Apr 2019 11:25:55 GMT'] + etag: [W/"datetime'2019-04-08T11%3A25%3A54.8870793Z'"] expires: ['-1'] pragma: [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] @@ -374,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5009001d-5fa7-4833-8cb3-ba407a08ba30?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0abec22-bad8-482a-954d-021787cf37bb?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5009001d-5fa7-4833-8cb3-ba407a08ba30","name":"5009001d-5fa7-4833-8cb3-ba407a08ba30","status":"Succeeded","startTime":"2019-02-25T18:30:17.573942Z","endTime":"2019-02-25T18:30:17.995786Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b0abec22-bad8-482a-954d-021787cf37bb","name":"b0abec22-bad8-482a-954d-021787cf37bb","status":"Succeeded","startTime":"2019-04-08T11:25:54.8377956Z","endTime":"2019-04-08T11:25:55.1888092Z","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: ['613'] + content-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:30:49 GMT'] + date: ['Mon, 08 Apr 2019 11:26: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] @@ -402,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A30%3A18.0468027Z''\"","location":"westus2","properties":{"poolId":"ff39be2a-ee1d-0456-c62d-4ad6604ca8cf","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T11%3A25%3A55.2363255Z''\"","location":"westus2","properties":{"poolId":"c43ac02d-de2e-31a9-f2f6-949a0cd001df","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: ['Mon, 25 Feb 2019 18:30:50 GMT'] - etag: [W/"datetime'2019-02-25T18%3A30%3A18.0468027Z'"] + date: ['Mon, 08 Apr 2019 11:26:30 GMT'] + etag: [W/"datetime'2019-04-08T11%3A25%3A55.2363255Z'"] expires: ['-1'] pragma: [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] @@ -433,32 +445,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A30%3A56.4682245Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T11%3A26%3A36.5434524Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:30:57 GMT'] - etag: [W/"datetime'2019-02-25T18%3A30%3A56.4682245Z'"] + date: ['Mon, 08 Apr 2019 11:26:37 GMT'] + etag: [W/"datetime'2019-04-08T11%3A26%3A36.5434524Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -466,23 +480,118 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","name":"3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","status":"Creating","startTime":"2019-04-08T11:26:36.4850094Z","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: ['Mon, 08 Apr 2019 11:27: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","name":"3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","status":"Creating","startTime":"2019-04-08T11:26:36.4850094Z","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: ['Mon, 08 Apr 2019 11:27: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","name":"3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","status":"Creating","startTime":"2019-04-08T11:26:36.4850094Z","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: ['Mon, 08 Apr 2019 11:28: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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df","name":"47d3750a-0369-4371-8af6-6b127eaa37df","status":"Creating","startTime":"2019-02-25T18:30:56.4105119Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","name":"3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","status":"Creating","startTime":"2019-04-08T11:26:36.4850094Z","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: ['636'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:31:27 GMT'] + date: ['Mon, 08 Apr 2019 11:28: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] @@ -495,23 +604,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/47d3750a-0369-4371-8af6-6b127eaa37df","name":"47d3750a-0369-4371-8af6-6b127eaa37df","status":"Succeeded","startTime":"2019-02-25T18:30:56.4105119Z","endTime":"2019-02-25T18:31:31.6472214Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","name":"3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","status":"Creating","startTime":"2019-04-08T11:26:36.4850094Z","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: ['646'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:31:58 GMT'] + date: ['Mon, 08 Apr 2019 11:29: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] @@ -524,24 +635,57 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","name":"3b5afadc-36d7-43ca-90e7-ddbc99d7ae46","status":"Succeeded","startTime":"2019-04-08T11:26:36.4850094Z","endTime":"2019-04-08T11:29:23.681028Z","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: ['647'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:29: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 create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A31%3A31.6772319Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_e68239d4","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c2119afe-c5a2-6cdc-cbc2-c7884e184e28","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T11%3A29%3A23.7126806Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"05f5ba7a-5642-720f-9afb-3f00e7627cd4","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_82f6f390","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"332bbfa7-a832-c6cc-6112-24cc77ae8be4","fileSystemId":"05f5ba7a-5642-720f-9afb-3f00e7627cd4","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: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:00 GMT'] - etag: [W/"datetime'2019-02-25T18%3A31%3A31.6772319Z'"] + date: ['Mon, 08 Apr 2019 11:29:52 GMT'] + etag: [W/"datetime'2019-04-08T11%3A29%3A23.7126806Z'"] expires: ['-1'] pragma: [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] @@ -550,35 +694,37 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "05b506e5-9c4c-6487-389e-9048144bad50"}, + body: !!python/unicode '{"properties": {"fileSystemId": "05f5ba7a-5642-720f-9afb-3f00e7627cd4"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 6:32:07 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"22d3eb70-5b41-6417-6d8d-b48b70565037","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","name":"cli-sn-000005","created":"2019-02-25T18:32:04Z"}}'} + 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":"4/8/2019 + 11:30:01 AM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"141e0bef-a6ae-71b5-c0b0-8a239b7816d4","fileSystemId":"05f5ba7a-5642-720f-9afb-3f00e7627cd4","name":"cli-sn-000005","created":"2019-04-08T11:29:58Z"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['779'] + content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:07 GMT'] + date: ['Mon, 08 Apr 2019 11:30:01 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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -586,23 +732,86 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"22d3eb70-5b41-6417-6d8d-b48b70565037","fileSystemId":"05b506e5-9c4c-6487-389e-9048144bad50","name":"cli-sn-000005","created":"2019-02-25T18:32:04Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"141e0bef-a6ae-71b5-c0b0-8a239b7816d4","fileSystemId":"05f5ba7a-5642-720f-9afb-3f00e7627cd4","name":"cli-sn-000005","created":"2019-04-08T11:29:58Z"}}]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['760'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:08 GMT'] + date: ['Mon, 08 Apr 2019 11:30: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 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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + access-control-expose-headers: [Request-Context] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 08 Apr 2019 11:30: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] + 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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[]}'} + headers: + access-control-expose-headers: [Request-Context] + cache-control: [no-cache] + content-length: ['12'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:30: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] @@ -629,9 +838,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:32:13 GMT'] + date: ['Mon, 08 Apr 2019 11:30:14 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZRkJLNlpCN0UySjdKS0dLWlZEV0xTNEo3Q0pSREpHVktCM3xENkI3MjA1MzY2OENBMDMwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdZVEFZSTRaSTVOUVdUWEVYTUs2Szc0RzVVQ0JTVUlLNTVMRXxDMUIwNkQ0QTk2MzNFQjAyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml similarity index 65% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml index 4c53c2fd71d..5797dce928c 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_create_delete_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:08:32Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T11:08:36Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:08:32Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-08T11:08:36Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:39 GMT'] + date: ['Mon, 08 Apr 2019 11:08:41 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"009f53da-f7e0-4887-890b-8ea0d3af88dd\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c457d2c0-57c0-40bf-81ce-31afd80b4287\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"ca6fb4b4-46da-4533-90cc-33d7695fa12d\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"1685f991-283b-4e22-a76f-218b8a26ab53\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b0931408-9c21-4d5a-a647-5b99cdb17099?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/463c4e44-c5e6-4a3b-b098-e43128c36b5f?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:46 GMT'] + date: ['Mon, 08 Apr 2019 11:08:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b0931408-9c21-4d5a-a647-5b99cdb17099?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/463c4e44-c5e6-4a3b-b098-e43128c36b5f?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:50 GMT'] + date: ['Mon, 08 Apr 2019 11:08:52 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"ba629d07-b3af-4336-a3d1-08bbea8bfcc2\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"4b52f47e-3fd5-47d4-b2e3-c056d0313810\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"ca6fb4b4-46da-4533-90cc-33d7695fa12d\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"1685f991-283b-4e22-a76f-218b8a26ab53\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:51 GMT'] - etag: [W/"ba629d07-b3af-4336-a3d1-08bbea8bfcc2"] + date: ['Mon, 08 Apr 2019 11:08:54 GMT'] + etag: [W/"4b52f47e-3fd5-47d4-b2e3-c056d0313810"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"7f77bd8b-a6ad-44e3-a413-2ccddd968169\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"03ded9e7-f9c6-4cbd-84e3-418f0ff86c69\\\"\",\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/\\\"7f77bd8b-a6ad-44e3-a413-2ccddd968169\\\"\"\ + ,\r\n \"etag\": \"W/\\\"03ded9e7-f9c6-4cbd-84e3-418f0ff86c69\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cb5bd18e-2b92-4d09-8c20-2cc55b3fd6d8?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/789971ed-de8b-4443-899e-a1389bc71333?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:52 GMT'] + date: ['Mon, 08 Apr 2019 11:08:56 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cb5bd18e-2b92-4d09-8c20-2cc55b3fd6d8?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/789971ed-de8b-4443-899e-a1389bc71333?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:56 GMT'] + date: ['Mon, 08 Apr 2019 11:09:01 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"f95f9c6a-c966-400c-9ff5-ec11b6c53902\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"49a9d6f3-1743-4e3c-94a6-6e68c5c67aa6\\\"\",\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/\\\"f95f9c6a-c966-400c-9ff5-ec11b6c53902\\\"\"\ + ,\r\n \"etag\": \"W/\\\"49a9d6f3-1743-4e3c-94a6-6e68c5c67aa6\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:08:57 GMT'] - etag: [W/"f95f9c6a-c966-400c-9ff5-ec11b6c53902"] + date: ['Mon, 08 Apr 2019 11:09:03 GMT'] + etag: [W/"49a9d6f3-1743-4e3c-94a6-6e68c5c67aa6"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -252,31 +252,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A09%3A02.1962617Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A09%3A09.5920644Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1c17bb3-a891-49c2-8563-002b71246f30?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f3c5ad59-ab4b-4561-8203-206bb1766ddb?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:09:03 GMT'] - etag: [W/"datetime'2019-02-25T18%3A09%3A02.1962617Z'"] + date: ['Mon, 08 Apr 2019 11:09:10 GMT'] + etag: [W/"datetime'2019-04-08T11%3A09%3A09.5920644Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -284,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1c17bb3-a891-49c2-8563-002b71246f30?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f3c5ad59-ab4b-4561-8203-206bb1766ddb?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1c17bb3-a891-49c2-8563-002b71246f30","name":"a1c17bb3-a891-49c2-8563-002b71246f30","status":"Succeeded","startTime":"2019-02-25T18:09:02.129443Z","endTime":"2019-02-25T18:09:02.426344Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f3c5ad59-ab4b-4561-8203-206bb1766ddb","name":"f3c5ad59-ab4b-4561-8203-206bb1766ddb","status":"Succeeded","startTime":"2019-04-08T11:09:09.5406771Z","endTime":"2019-04-08T11:09:09.8218036Z","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: ['574'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:09:33 GMT'] + date: ['Mon, 08 Apr 2019 11:09: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] @@ -312,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A09%3A03.0448698Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A09%3A09.8842709Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 18:09:35 GMT'] - etag: [W/"datetime'2019-02-25T18%3A09%3A03.0448698Z'"] + date: ['Mon, 08 Apr 2019 11:09:45 GMT'] + etag: [W/"datetime'2019-04-08T11%3A09%3A09.8842709Z'"] expires: ['-1'] pragma: [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] @@ -342,31 +348,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A09%3A40.1274007Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T11%3A09%3A51.934922Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1d084b1d-f4e8-4e5e-9d1a-74e1370a8581?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac3b96e9-fb14-4fa6-95e4-5d9702e69fac?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['583'] + content-length: ['582'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:09:41 GMT'] - etag: [W/"datetime'2019-02-25T18%3A09%3A40.1274007Z'"] + date: ['Mon, 08 Apr 2019 11:09:52 GMT'] + etag: [W/"datetime'2019-04-08T11%3A09%3A51.934922Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -374,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1d084b1d-f4e8-4e5e-9d1a-74e1370a8581?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac3b96e9-fb14-4fa6-95e4-5d9702e69fac?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1d084b1d-f4e8-4e5e-9d1a-74e1370a8581","name":"1d084b1d-f4e8-4e5e-9d1a-74e1370a8581","status":"Succeeded","startTime":"2019-02-25T18:09:40.0168163Z","endTime":"2019-02-25T18:09:40.5324011Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ac3b96e9-fb14-4fa6-95e4-5d9702e69fac","name":"ac3b96e9-fb14-4fa6-95e4-5d9702e69fac","status":"Succeeded","startTime":"2019-04-08T11:09:51.8479526Z","endTime":"2019-04-08T11:09:52.2859156Z","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: ['Mon, 25 Feb 2019 18:10:12 GMT'] + date: ['Mon, 08 Apr 2019 11:10: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] @@ -402,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A09%3A40.5707186Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"1516813c-fade-6d1f-8755-4165842e507c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T11%3A09%3A52.3342031Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"poolId":"3fec75a0-5804-9665-a36f-078727eded41","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: ['Mon, 25 Feb 2019 18:10:13 GMT'] - etag: [W/"datetime'2019-02-25T18%3A09%3A40.5707186Z'"] + date: ['Mon, 08 Apr 2019 11:10:27 GMT'] + etag: [W/"datetime'2019-04-08T11%3A09%3A52.3342031Z'"] expires: ['-1'] pragma: [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] @@ -434,32 +446,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A10%3A18.3487414Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T11%3A10%3A34.8341711Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/39931f1b-1456-4bd0-920a-3db43efd6f9f?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['951'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:10:18 GMT'] - etag: [W/"datetime'2019-02-25T18%3A10%3A18.3487414Z'"] + date: ['Mon, 08 Apr 2019 11:10:35 GMT'] + etag: [W/"datetime'2019-04-08T11%3A10%3A34.8341711Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -467,23 +481,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/39931f1b-1456-4bd0-920a-3db43efd6f9f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/39931f1b-1456-4bd0-920a-3db43efd6f9f","name":"39931f1b-1456-4bd0-920a-3db43efd6f9f","status":"Succeeded","startTime":"2019-02-25T18:10:18.2775535Z","endTime":"2019-02-25T18:10:50.6321092Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","name":"f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","status":"Creating","startTime":"2019-04-08T11:10:34.7768975Z","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: ['648'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:10:50 GMT'] + date: ['Mon, 08 Apr 2019 11:11: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] @@ -496,24 +512,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A10%3A50.6578578Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_3d98078a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"27491942-4b86-5b61-ef12-5dfe541a3084","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","name":"f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","status":"Creating","startTime":"2019-04-08T11:10:34.7768975Z","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: ['1642'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:10:51 GMT'] - etag: [W/"datetime'2019-02-25T18%3A10%3A50.6578578Z'"] + date: ['Mon, 08 Apr 2019 11:11: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] @@ -526,23 +543,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume list] + CommandName: [netappfiles volume create] Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - accept-language: [en-US] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A10%3A50.6578578Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_3d98078a","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"27491942-4b86-5b61-ef12-5dfe541a3084","fileSystemId":"9e79d735-b3e4-a6cb-ed20-49275fdbfd23","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","name":"f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","status":"Creating","startTime":"2019-04-08T11:10:34.7768975Z","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: ['1654'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:10:52 GMT'] + date: ['Mon, 08 Apr 2019 11:12: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] @@ -555,52 +574,56 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + CommandName: [netappfiles volume create] Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15 response: - body: {string: !!python/unicode ''} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","name":"f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","status":"Creating","startTime":"2019-04-08T11:10:34.7768975Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:10:55 GMT'] + content-length: ['637'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:12:43 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] + 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-deletes: ['14999'] x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} + status: {code: 200, message: OK} - request: body: null headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + CommandName: [netappfiles volume create] Connection: [keep-alive] - ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21","name":"744f5ddd-90f2-427f-9a86-4e6036fb3e21","status":"Deleting","startTime":"2019-02-25T18:10:56.0244228Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","name":"f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","status":"Creating","startTime":"2019-04-08T11:10:34.7768975Z","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: ['Mon, 25 Feb 2019 18:11:26 GMT'] + date: ['Mon, 08 Apr 2019 11:13: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] @@ -613,22 +636,150 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","name":"f0bccb3d-1607-4a79-b49e-aa5c1bffc1a2","status":"Succeeded","startTime":"2019-04-08T11:10:34.7768975Z","endTime":"2019-04-08T11:13:17.3956208Z","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: ['Mon, 08 Apr 2019 11:13: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 --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-04-08T11%3A13%3A17.4274522Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"4901997d-40b2-4719-d059-984e2c104eae","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_c81270cb","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":"f815b84a-15bf-9038-fc67-3f86b445fddc","fileSystemId":"4901997d-40b2-4719-d059-984e2c104eae","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: ['1642'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:13:50 GMT'] + etag: [W/"datetime'2019-04-08T11%3A13%3A17.4274522Z'"] + expires: ['-1'] + pragma: [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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-04-08T11%3A13%3A17.4274522Z''\"","location":"westus2","tags":{"Tag1":"Value1","Tag2":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"4901997d-40b2-4719-d059-984e2c104eae","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_c81270cb","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":"f815b84a-15bf-9038-fc67-3f86b445fddc","fileSystemId":"4901997d-40b2-4719-d059-984e2c104eae","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: ['1654'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:13: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] + Content-Length: ['0'] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + response: + body: {string: !!python/unicode ''} + headers: + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5285668-0c5d-4b64-8e06-b32e221415b3?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 08 Apr 2019 11:13:57 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5285668-0c5d-4b64-8e06-b32e221415b3?api-version=2017-08-15&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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5285668-0c5d-4b64-8e06-b32e221415b3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21","name":"744f5ddd-90f2-427f-9a86-4e6036fb3e21","status":"Deleting","startTime":"2019-02-25T18:10:56.0244228Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5285668-0c5d-4b64-8e06-b32e221415b3","name":"b5285668-0c5d-4b64-8e06-b32e221415b3","status":"Deleting","startTime":"2019-04-08T11:13:57.9292192Z","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: ['Mon, 25 Feb 2019 18:11:58 GMT'] + date: ['Mon, 08 Apr 2019 11:14: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] @@ -641,22 +792,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5285668-0c5d-4b64-8e06-b32e221415b3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/744f5ddd-90f2-427f-9a86-4e6036fb3e21","name":"744f5ddd-90f2-427f-9a86-4e6036fb3e21","status":"Succeeded","startTime":"2019-02-25T18:10:56.0244228Z","endTime":"2019-02-25T18:12:15.5890912Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5285668-0c5d-4b64-8e06-b32e221415b3","name":"b5285668-0c5d-4b64-8e06-b32e221415b3","status":"Succeeded","startTime":"2019-04-08T11:13:57.9292192Z","endTime":"2019-04-08T11:14:58.4475397Z","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: ['Mon, 25 Feb 2019 18:12:30 GMT'] + date: ['Mon, 08 Apr 2019 11:15: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] @@ -669,23 +822,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:32 GMT'] + date: ['Mon, 08 Apr 2019 11:15: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] @@ -712,9 +867,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:12:37 GMT'] + date: ['Mon, 08 Apr 2019 11:15:12 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHM1VPWkFJQ1dOTFhTVEVFWlFOR09NTFZRQk9LWTdKSnxDMkI0NTU3M0I4MzY2RjlCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNU1FUlNVREwyWVUzNUI2R1ZPUkJNSDZXWE5IWUlVQXxFMzIzRDNCMTMzRDhDQTVELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml similarity index 59% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml index 78c91146d0e..7ee15f91cc2 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_account_by_name_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:38:06Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T15:53:06Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,14 +14,14 @@ interactions: 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 + 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_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:38:06Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + 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-04-06T15:53:06Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:38:07 GMT'] + date: ['Sat, 06 Apr 2019 15:53:09 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -33,31 +33,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.4441664Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + 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-04-06T15%3A53%3A12.4345577Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/96f58db6-21d0-45f7-b9be-4c97178a2aec?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb46726a-c76a-4c28-89a3-a34c1e316ad9?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:38:17 GMT'] - etag: [W/"datetime'2019-02-28T08%3A38%3A15.4441664Z'"] + date: ['Sat, 06 Apr 2019 15:53:11 GMT'] + etag: [W/"datetime'2019-04-06T15%3A53%3A12.4345577Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/96f58db6-21d0-45f7-b9be-4c97178a2aec?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb46726a-c76a-4c28-89a3-a34c1e316ad9?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/96f58db6-21d0-45f7-b9be-4c97178a2aec","name":"96f58db6-21d0-45f7-b9be-4c97178a2aec","status":"Succeeded","startTime":"2019-02-28T08:38:15.3241736Z","endTime":"2019-02-28T08:38:15.6837322Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/fb46726a-c76a-4c28-89a3-a34c1e316ad9","name":"fb46726a-c76a-4c28-89a3-a34c1e316ad9","status":"Succeeded","startTime":"2019-04-06T15:53:12.3740758Z","endTime":"2019-04-06T15:53:12.6637056Z","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: ['Thu, 28 Feb 2019 08:38:47 GMT'] + date: ['Sat, 06 Apr 2019 15:53: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.7243652Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A53%3A12.7127523Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:38:48 GMT'] - etag: [W/"datetime'2019-02-28T08%3A38%3A15.7243652Z'"] + date: ['Sat, 06 Apr 2019 15:53:45 GMT'] + etag: [W/"datetime'2019-04-06T15%3A53%3A12.7127523Z'"] expires: ['-1'] pragma: [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] @@ -122,24 +128,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account show] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.7243652Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A53%3A12.7127523Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:38:51 GMT'] - etag: [W/"datetime'2019-02-28T08%3A38%3A15.7243652Z'"] + date: ['Sat, 06 Apr 2019 15:53:47 GMT'] + etag: [W/"datetime'2019-04-06T15%3A53%3A12.7127523Z'"] expires: ['-1'] pragma: [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] @@ -152,24 +160,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account show] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A38%3A15.7243652Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A53%3A12.7127523Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:38:53 GMT'] - etag: [W/"datetime'2019-02-28T08%3A38%3A15.7243652Z'"] + date: ['Sat, 06 Apr 2019 15:53:48 GMT'] + etag: [W/"datetime'2019-04-06T15%3A53%3A12.7127523Z'"] expires: ['-1'] pragma: [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] @@ -190,18 +200,18 @@ interactions: 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 + 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: ['Thu, 28 Feb 2019 08:38:57 GMT'] + date: ['Sat, 06 Apr 2019 15:53:52 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHMlI2QUtOTDRESzdRN0s0RllCNFFFQkhDUk4yUkhWRXwyMjM4Mjc3MTk2MTcxQUUyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGRFZIRzMyQkNLWVBBWUhYU0hIWks2S1pJTFRTWXw1Nzc5QzI3REU5NDJGOURFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14996'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml similarity index 73% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml index 55b6a594c87..3b5d80c5825 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_pool_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T09:35:43Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T16:08:44Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,48 +16,50 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T09:35:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-06T16:08:44Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:35:44 GMT'] + date: ['Sat, 06 Apr 2019 16:08:48 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A35%3A52.7286703Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A08%3A51.1005236Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e565952f-b20f-4b9a-85a0-683d000a30b2?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ebedc6b2-9169-4330-b9e0-118d70bd3b83?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:35:53 GMT'] - etag: [W/"datetime'2019-02-28T09%3A35%3A52.7286703Z'"] + date: ['Sat, 06 Apr 2019 16:08:51 GMT'] + etag: [W/"datetime'2019-04-06T16%3A08%3A51.1005236Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e565952f-b20f-4b9a-85a0-683d000a30b2?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ebedc6b2-9169-4330-b9e0-118d70bd3b83?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e565952f-b20f-4b9a-85a0-683d000a30b2","name":"e565952f-b20f-4b9a-85a0-683d000a30b2","status":"Succeeded","startTime":"2019-02-28T09:35:52.6605761Z","endTime":"2019-02-28T09:35:52.9597367Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ebedc6b2-9169-4330-b9e0-118d70bd3b83","name":"ebedc6b2-9169-4330-b9e0-118d70bd3b83","status":"Succeeded","startTime":"2019-04-06T16:08:51.0537622Z","endTime":"2019-04-06T16:08:51.3574726Z","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: ['Thu, 28 Feb 2019 09:36:26 GMT'] + date: ['Sat, 06 Apr 2019 16:09: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A35%3A53.0018625Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A08%3A51.3957297Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 09:36:32 GMT'] - etag: [W/"datetime'2019-02-28T09%3A35%3A53.0018625Z'"] + date: ['Sat, 06 Apr 2019 16:09:24 GMT'] + etag: [W/"datetime'2019-04-06T16%3A08%3A51.3957297Z'"] expires: ['-1'] pragma: [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] @@ -123,31 +129,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.2561174Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A09%3A27.8921988Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8752ac07-9f00-48b6-af34-8dc04f145500?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d54102a0-f7a2-469b-bc30-1059a35d531e?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:36:46 GMT'] - etag: [W/"datetime'2019-02-28T09%3A36%3A34.2561174Z'"] + date: ['Sat, 06 Apr 2019 16:09:27 GMT'] + etag: [W/"datetime'2019-04-06T16%3A09%3A27.8921988Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1194'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -155,22 +163,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8752ac07-9f00-48b6-af34-8dc04f145500?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d54102a0-f7a2-469b-bc30-1059a35d531e?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8752ac07-9f00-48b6-af34-8dc04f145500","name":"8752ac07-9f00-48b6-af34-8dc04f145500","status":"Succeeded","startTime":"2019-02-28T09:36:34.2000642Z","endTime":"2019-02-28T09:36:34.6531755Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d54102a0-f7a2-469b-bc30-1059a35d531e","name":"d54102a0-f7a2-469b-bc30-1059a35d531e","status":"Succeeded","startTime":"2019-04-06T16:09:27.8270894Z","endTime":"2019-04-06T16:09:28.2333459Z","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: ['Thu, 28 Feb 2019 09:37:06 GMT'] + date: ['Sat, 06 Apr 2019 16:09: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] @@ -183,23 +193,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.6924273Z''\"","location":"westus2","properties":{"poolId":"901e52f0-b6c6-59ca-c24b-f54fade7c68e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A09%3A28.2844725Z''\"","location":"westus2","properties":{"poolId":"77251653-153b-9f86-238c-3bd17e9b06c9","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: ['Thu, 28 Feb 2019 09:37:21 GMT'] - etag: [W/"datetime'2019-02-28T09%3A36%3A34.6924273Z'"] + date: ['Sat, 06 Apr 2019 16:10:01 GMT'] + etag: [W/"datetime'2019-04-06T16%3A09%3A28.2844725Z'"] expires: ['-1'] pragma: [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] @@ -212,24 +224,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool show] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.6924273Z''\"","location":"westus2","properties":{"poolId":"901e52f0-b6c6-59ca-c24b-f54fade7c68e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A09%3A28.2844725Z''\"","location":"westus2","properties":{"poolId":"77251653-153b-9f86-238c-3bd17e9b06c9","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: ['Thu, 28 Feb 2019 09:37:29 GMT'] - etag: [W/"datetime'2019-02-28T09%3A36%3A34.6924273Z'"] + date: ['Sat, 06 Apr 2019 16:10:03 GMT'] + etag: [W/"datetime'2019-04-06T16%3A09%3A28.2844725Z'"] expires: ['-1'] pragma: [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] @@ -242,24 +256,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool show] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A36%3A34.6924273Z''\"","location":"westus2","properties":{"poolId":"901e52f0-b6c6-59ca-c24b-f54fade7c68e","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A09%3A28.2844725Z''\"","location":"westus2","properties":{"poolId":"77251653-153b-9f86-238c-3bd17e9b06c9","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: ['Thu, 28 Feb 2019 09:37:26 GMT'] - etag: [W/"datetime'2019-02-28T09%3A36%3A34.6924273Z'"] + date: ['Sat, 06 Apr 2019 16:10:05 GMT'] + etag: [W/"datetime'2019-04-06T16%3A09%3A28.2844725Z'"] expires: ['-1'] pragma: [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] @@ -286,12 +302,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:37:20 GMT'] + date: ['Sat, 06 Apr 2019 16:10:08 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNk9FMlRCSkJRSlhaVzYyT1c2N0E3UEpJNFhYQzUzRnw0RUI5MzczREZDNkZFNjM5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRlYzNzVCQjZPQzNUVlFXVzZOMlhWSktXTVpGVlNZTHxEODZFRTY1MzVBNzhCOEVFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_snapshot.yaml similarity index 62% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_snapshot.yaml index ef8203bd32c..e30603a4641 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_snapshot.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_snapshot.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:32:14Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T12:05:59Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:32:14Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-04-08T12:05:59Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:16 GMT'] + date: ['Mon, 08 Apr 2019 12:06: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: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"c1540df4-bac3-4af2-a06b-f48cd7366f75\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"cece6dde-a1fa-46da-9971-7025852051eb\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"1466b743-e849-4723-9cb0-b39fe9e63965\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"86fba64b-b2a3-4e5b-ba15-e5f7eb357602\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e36c6ba0-43d9-4754-bfce-87b3ee15a9d6?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4c77e1fe-5bbf-479b-a86d-4d1f8c6006ec?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:21 GMT'] + date: ['Mon, 08 Apr 2019 12:06: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: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/e36c6ba0-43d9-4754-bfce-87b3ee15a9d6?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4c77e1fe-5bbf-479b-a86d-4d1f8c6006ec?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:24 GMT'] + date: ['Mon, 08 Apr 2019 12:06:15 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000006\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"4f09819e-c61a-44b5-ac24-a5b75f491713\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"8be72b26-7eda-4e14-8c3f-e999310aa2a8\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"1466b743-e849-4723-9cb0-b39fe9e63965\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"86fba64b-b2a3-4e5b-ba15-e5f7eb357602\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:25 GMT'] - etag: [W/"4f09819e-c61a-44b5-ac24-a5b75f491713"] + date: ['Mon, 08 Apr 2019 12:06:17 GMT'] + etag: [W/"8be72b26-7eda-4e14-8c3f-e999310aa2a8"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"16172ec3-3dc8-4ecb-9e3d-57e30be9360d\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"6a48927c-809a-426f-b676-3c630f74f9b0\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"16172ec3-3dc8-4ecb-9e3d-57e30be9360d\\\"\"\ + ,\r\n \"etag\": \"W/\\\"6a48927c-809a-426f-b676-3c630f74f9b0\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,11 +167,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ae04c876-37ce-4862-be45-d5f30219ef2e?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1b682fb3-4258-48cc-bda2-685c8bbfcabe?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:26 GMT'] + date: ['Mon, 08 Apr 2019 12:06:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ae04c876-37ce-4862-be45-d5f30219ef2e?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1b682fb3-4258-48cc-bda2-685c8bbfcabe?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:30 GMT'] + date: ['Mon, 08 Apr 2019 12:06:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000007\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"502f4e8a-6883-4ef1-8e0e-1b2b2a812a09\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"b6753d2f-aa9d-496e-a8e7-c2efe440fd42\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"502f4e8a-6883-4ef1-8e0e-1b2b2a812a09\\\"\"\ + ,\r\n \"etag\": \"W/\\\"b6753d2f-aa9d-496e-a8e7-c2efe440fd42\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:31 GMT'] - etag: [W/"502f4e8a-6883-4ef1-8e0e-1b2b2a812a09"] + date: ['Mon, 08 Apr 2019 12:06:27 GMT'] + etag: [W/"b6753d2f-aa9d-496e-a8e7-c2efe440fd42"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -252,31 +252,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A32%3A36.6954115Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T12%3A06%3A32.9302345Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ad2b088-8b29-44c6-b423-2ce7d82a5225?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7c895bab-8564-4d5a-8bc7-d1cd9fba364b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:32:37 GMT'] - etag: [W/"datetime'2019-02-25T18%3A32%3A36.6954115Z'"] + date: ['Mon, 08 Apr 2019 12:06:33 GMT'] + etag: [W/"datetime'2019-04-08T12%3A06%3A32.9302345Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -284,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ad2b088-8b29-44c6-b423-2ce7d82a5225?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7c895bab-8564-4d5a-8bc7-d1cd9fba364b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3ad2b088-8b29-44c6-b423-2ce7d82a5225","name":"3ad2b088-8b29-44c6-b423-2ce7d82a5225","status":"Succeeded","startTime":"2019-02-25T18:32:36.6178447Z","endTime":"2019-02-25T18:32:36.9616251Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7c895bab-8564-4d5a-8bc7-d1cd9fba364b","name":"7c895bab-8564-4d5a-8bc7-d1cd9fba364b","status":"Succeeded","startTime":"2019-04-08T12:06:32.8739298Z","endTime":"2019-04-08T12:06:33.1864506Z","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: ['Mon, 25 Feb 2019 18:33:08 GMT'] + date: ['Mon, 08 Apr 2019 12:07: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] @@ -312,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A32%3A37.0276479Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T12%3A06%3A33.2254463Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 18:33:09 GMT'] - etag: [W/"datetime'2019-02-25T18%3A32%3A37.0276479Z'"] + date: ['Mon, 08 Apr 2019 12:07:06 GMT'] + etag: [W/"datetime'2019-04-08T12%3A06%3A33.2254463Z'"] expires: ['-1'] pragma: [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] @@ -342,31 +348,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A33%3A13.970887Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T12%3A07%3A11.6216659Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5c4ed332-96de-4f71-a9fc-6e7555245105?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/359d8045-404c-480d-b8f5-4d496a82b654?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['541'] + content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:33:14 GMT'] - etag: [W/"datetime'2019-02-25T18%3A33%3A13.970887Z'"] + date: ['Mon, 08 Apr 2019 12:07:12 GMT'] + etag: [W/"datetime'2019-04-08T12%3A07%3A11.6216659Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -374,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5c4ed332-96de-4f71-a9fc-6e7555245105?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/359d8045-404c-480d-b8f5-4d496a82b654?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5c4ed332-96de-4f71-a9fc-6e7555245105","name":"5c4ed332-96de-4f71-a9fc-6e7555245105","status":"Succeeded","startTime":"2019-02-25T18:33:13.9013894Z","endTime":"2019-02-25T18:33:14.3545316Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/359d8045-404c-480d-b8f5-4d496a82b654","name":"359d8045-404c-480d-b8f5-4d496a82b654","status":"Succeeded","startTime":"2019-04-08T12:07:11.5767028Z","endTime":"2019-04-08T12:07:11.9669408Z","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: ['Mon, 25 Feb 2019 18:33:45 GMT'] + date: ['Mon, 08 Apr 2019 12:07: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] @@ -402,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A33%3A14.4071965Z''\"","location":"westus2","properties":{"poolId":"19b1bb0d-aadd-1fe4-57dd-7b566860ab80","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T12%3A07%3A12.0289609Z''\"","location":"westus2","properties":{"poolId":"ca9ce447-9fb5-8aed-4742-d65ff8600677","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-length: ['650'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:33:46 GMT'] - etag: [W/"datetime'2019-02-25T18%3A33%3A14.4071965Z'"] + date: ['Mon, 08 Apr 2019 12:07:43 GMT'] + etag: [W/"datetime'2019-04-08T12%3A07%3A12.0289609Z'"] expires: ['-1'] pragma: [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] @@ -433,32 +445,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A33%3A51.6756671Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T12%3A07%3A48.1479846Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/613b47b4-9545-4f22-842e-650fd930bddb?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:33:51 GMT'] - etag: [W/"datetime'2019-02-25T18%3A33%3A51.6756671Z'"] + date: ['Mon, 08 Apr 2019 12:07:48 GMT'] + etag: [W/"datetime'2019-04-08T12%3A07%3A48.1479846Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -466,23 +480,180 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c","name":"9ee1e308-44ec-4c56-83e3-b8882aa8121c","status":"Creating","startTime":"2019-04-08T12:07:48.0544748Z","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: ['Mon, 08 Apr 2019 12:08: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c","name":"9ee1e308-44ec-4c56-83e3-b8882aa8121c","status":"Creating","startTime":"2019-04-08T12:07:48.0544748Z","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: ['Mon, 08 Apr 2019 12:08: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c","name":"9ee1e308-44ec-4c56-83e3-b8882aa8121c","status":"Creating","startTime":"2019-04-08T12:07:48.0544748Z","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: ['Mon, 08 Apr 2019 12:09: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c","name":"9ee1e308-44ec-4c56-83e3-b8882aa8121c","status":"Creating","startTime":"2019-04-08T12:07:48.0544748Z","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: ['Mon, 08 Apr 2019 12:09: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 volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c","name":"9ee1e308-44ec-4c56-83e3-b8882aa8121c","status":"Creating","startTime":"2019-04-08T12:07:48.0544748Z","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: ['Mon, 08 Apr 2019 12:10: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 volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/613b47b4-9545-4f22-842e-650fd930bddb?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/613b47b4-9545-4f22-842e-650fd930bddb","name":"613b47b4-9545-4f22-842e-650fd930bddb","status":"Succeeded","startTime":"2019-02-25T18:33:51.6175952Z","endTime":"2019-02-25T18:34:22.9373778Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9ee1e308-44ec-4c56-83e3-b8882aa8121c","name":"9ee1e308-44ec-4c56-83e3-b8882aa8121c","status":"Succeeded","startTime":"2019-04-08T12:07:48.0544748Z","endTime":"2019-04-08T12:10:37.5021468Z","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: ['647'] + content-length: ['648'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:23 GMT'] + date: ['Mon, 08 Apr 2019 12:11: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] @@ -495,24 +666,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A34%3A22.9778989Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_80efea07","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7d0f55bc-6a85-65b9-4729-04d07dfa5cc9","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T12%3A10%3A37.5311766Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"f536ec3b-ff24-9d6a-8bce-cbb7ef1087b1","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_d70f1f78","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000006/subnets/cli-subnet-000007","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"eb127207-78d6-7a71-2e34-30ad0165e380","fileSystemId":"f536ec3b-ff24-9d6a-8bce-cbb7ef1087b1","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: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:24 GMT'] - etag: [W/"datetime'2019-02-25T18%3A34%3A22.9778989Z'"] + date: ['Mon, 08 Apr 2019 12:11:04 GMT'] + etag: [W/"datetime'2019-04-08T12%3A10%3A37.5311766Z'"] expires: ['-1'] pragma: [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] @@ -521,35 +694,37 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "db457cfd-db41-c93d-bc06-6fe2adc60753"}, + body: !!python/unicode '{"properties": {"fileSystemId": "f536ec3b-ff24-9d6a-8bce-cbb7ef1087b1"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 6:34:32 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4d2bb8e-3bc0-ef03-faf1-a9ab5df08f51","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","name":"cli-sn-000005","created":"2019-02-25T18:34:29Z"}}'} + 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":"4/8/2019 + 12:11:13 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"dd2bda64-2528-0d86-eae6-2840f10d6ff8","fileSystemId":"f536ec3b-ff24-9d6a-8bce-cbb7ef1087b1","name":"cli-sn-000005","created":"2019-04-08T12:11:10Z"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['779'] + content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:32 GMT'] + date: ['Mon, 08 Apr 2019 12:11: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] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -557,23 +732,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot show] + CommandName: [netappfiles snapshot show] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p -v -s] + ParameterSetName: [-g -a -p -v -s] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4d2bb8e-3bc0-ef03-faf1-a9ab5df08f51","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","name":"cli-sn-000005","created":"2019-02-25T18:34:29Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"dd2bda64-2528-0d86-eae6-2840f10d6ff8","fileSystemId":"f536ec3b-ff24-9d6a-8bce-cbb7ef1087b1","name":"cli-sn-000005","created":"2019-04-08T12:11:10Z"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:35 GMT'] + date: ['Mon, 08 Apr 2019 12:11: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] @@ -586,23 +763,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot show] + CommandName: [netappfiles snapshot show] Connection: [keep-alive] - ParameterSetName: [--resource-group --ids] + ParameterSetName: [--ids] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"f4d2bb8e-3bc0-ef03-faf1-a9ab5df08f51","fileSystemId":"db457cfd-db41-c93d-bc06-6fe2adc60753","name":"cli-sn-000005","created":"2019-02-25T18:34:29Z"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"dd2bda64-2528-0d86-eae6-2840f10d6ff8","fileSystemId":"f536ec3b-ff24-9d6a-8bce-cbb7ef1087b1","name":"cli-sn-000005","created":"2019-04-08T12:11:10Z"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['748'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:36 GMT'] + date: ['Mon, 08 Apr 2019 12:11: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] @@ -629,12 +808,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:34:40 GMT'] + date: ['Mon, 08 Apr 2019 12:11:24 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkcyTVNKUVRISkNDNk1VQUhOSzNNNUhHU1JJTlhCR1VFTFdUUHwzRUNFMkQxQjg0NzU1ODJCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdUSVVOQVJOMlpQWU5MSlJRREhMV0xUVUVMQTVYUE5VNVQ2VXxGQkRBRjMxNTI4NDlENDM4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml similarity index 68% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml index 5ca81b7b37b..2a1d989cae0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_volumes.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:19:53Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T10:37:03Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:19:53Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-08T10:37:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:00 GMT'] + date: ['Mon, 08 Apr 2019 10:37:08 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"f2be9534-3da6-43a9-8e18-20b1f97491cc\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"9908d055-5133-4995-a58f-0acc4e784ef2\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"592b54c1-2919-4016-baab-ec6e1d5926ee\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"05d7d7cb-b3d1-4045-82c1-48aaa97ffab4\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/47b5b043-9b9c-475a-a575-03ce857e73f8?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/62aef313-3738-4d7e-a5c8-1c3f040e6e8c?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:07 GMT'] + date: ['Mon, 08 Apr 2019 10:37: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: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/47b5b043-9b9c-475a-a575-03ce857e73f8?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/62aef313-3738-4d7e-a5c8-1c3f040e6e8c?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:11 GMT'] + date: ['Mon, 08 Apr 2019 10:37:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"2c081d1d-059c-477d-9818-99960a978074\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"05aef237-27c9-4753-8b87-d65000502cda\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"592b54c1-2919-4016-baab-ec6e1d5926ee\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"05d7d7cb-b3d1-4045-82c1-48aaa97ffab4\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:12 GMT'] - etag: [W/"2c081d1d-059c-477d-9818-99960a978074"] + date: ['Mon, 08 Apr 2019 10:37:21 GMT'] + etag: [W/"05aef237-27c9-4753-8b87-d65000502cda"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"cfa002cb-b366-43dd-8f6a-54617101617b\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"db22f0a8-45b1-4d50-ad16-31ffce66859d\\\"\",\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/\\\"cfa002cb-b366-43dd-8f6a-54617101617b\\\"\"\ + ,\r\n \"etag\": \"W/\\\"db22f0a8-45b1-4d50-ad16-31ffce66859d\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/59d65dcc-551c-4b86-81d8-d31d02655400?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/143f379e-6154-4a69-a095-f42cac128fa1?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:13 GMT'] + date: ['Mon, 08 Apr 2019 10:37:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/59d65dcc-551c-4b86-81d8-d31d02655400?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/143f379e-6154-4a69-a095-f42cac128fa1?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:17 GMT'] + date: ['Mon, 08 Apr 2019 10:37:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,10 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"f1e8884d-98eb-4a91-8205-ec7c85d7840f\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"c6140a3d-582e-4eb0-91a4-2b420437a170\\\"\",\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/\\\"c6140a3d-582e-4eb0-91a4-2b420437a170\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:18 GMT'] - etag: [W/"f1e8884d-98eb-4a91-8205-ec7c85d7840f"] + date: ['Mon, 08 Apr 2019 10:37:30 GMT'] + etag: [W/"c6140a3d-582e-4eb0-91a4-2b420437a170"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -251,31 +252,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A20%3A23.2023771Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T10%3A37%3A36.2917256Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dc24e980-6d80-490b-9a56-f824150f4256?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5daeed5-e5a5-43e3-959c-44cc3547a0e3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:23 GMT'] - etag: [W/"datetime'2019-02-25T18%3A20%3A23.2023771Z'"] + date: ['Mon, 08 Apr 2019 10:37:36 GMT'] + etag: [W/"datetime'2019-04-08T10%3A37%3A36.2917256Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -283,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dc24e980-6d80-490b-9a56-f824150f4256?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5daeed5-e5a5-43e3-959c-44cc3547a0e3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/dc24e980-6d80-490b-9a56-f824150f4256","name":"dc24e980-6d80-490b-9a56-f824150f4256","status":"Succeeded","startTime":"2019-02-25T18:20:23.066124Z","endTime":"2019-02-25T18:20:23.416531Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b5daeed5-e5a5-43e3-959c-44cc3547a0e3","name":"b5daeed5-e5a5-43e3-959c-44cc3547a0e3","status":"Succeeded","startTime":"2019-04-08T10:37:36.2222836Z","endTime":"2019-04-08T10:37:36.5348062Z","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: ['574'] + content-length: ['576'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:20:54 GMT'] + date: ['Mon, 08 Apr 2019 10:38: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] @@ -311,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A20%3A23.4625615Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T10%3A37%3A36.5899381Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 18:20:56 GMT'] - etag: [W/"datetime'2019-02-25T18%3A20%3A23.4625615Z'"] + date: ['Mon, 08 Apr 2019 10:38:09 GMT'] + etag: [W/"datetime'2019-04-08T10%3A37%3A36.5899381Z'"] expires: ['-1'] pragma: [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] @@ -337,35 +344,37 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, - "location": "westus2", "tags": {"Tag1": "Value1"}}' + "location": "westus2", "tags": {"Tag2": "Value1"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A21%3A00.5950253Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T10%3A38%3A14.760046Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/21cda98e-5a3b-4b3b-8aa5-949797dfa511?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1883843c-eaa9-415b-b8c1-53f6f91c12b0?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['567'] + content-length: ['566'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:21:00 GMT'] - etag: [W/"datetime'2019-02-25T18%3A21%3A00.5950253Z'"] + date: ['Mon, 08 Apr 2019 10:38:14 GMT'] + etag: [W/"datetime'2019-04-08T10%3A38%3A14.760046Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -373,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/21cda98e-5a3b-4b3b-8aa5-949797dfa511?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1883843c-eaa9-415b-b8c1-53f6f91c12b0?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/21cda98e-5a3b-4b3b-8aa5-949797dfa511","name":"21cda98e-5a3b-4b3b-8aa5-949797dfa511","status":"Succeeded","startTime":"2019-02-25T18:21:00.5368727Z","endTime":"2019-02-25T18:21:01.177425Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1883843c-eaa9-415b-b8c1-53f6f91c12b0","name":"1883843c-eaa9-415b-b8c1-53f6f91c12b0","status":"Succeeded","startTime":"2019-04-08T10:38:14.7003348Z","endTime":"2019-04-08T10:38:15.3097131Z","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-length: ['615'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:21:32 GMT'] + date: ['Mon, 08 Apr 2019 10:38: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] @@ -401,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A21%3A01.210462Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"a82ed146-bbe3-573b-19d8-d5661d20dba4","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T10%3A38%3A15.3514663Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"cfd7e291-f931-60e2-07d8-48e9a99b57b6","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-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:21:34 GMT'] - etag: [W/"datetime'2019-02-25T18%3A21%3A01.210462Z'"] + date: ['Mon, 08 Apr 2019 10:38:47 GMT'] + etag: [W/"datetime'2019-04-08T10%3A38%3A15.3514663Z'"] expires: ['-1'] pragma: [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] @@ -428,33 +441,35 @@ interactions: - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", - "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag2": "Value1"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A21%3A38.7643306Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T10%3A38%3A50.9027168Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:21:39 GMT'] - etag: [W/"datetime'2019-02-25T18%3A21%3A38.7643306Z'"] + date: ['Mon, 08 Apr 2019 10:38:51 GMT'] + etag: [W/"datetime'2019-04-08T10%3A38%3A50.9027168Z'"] expires: ['-1'] pragma: [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] @@ -466,23 +481,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232","name":"a62fab96-8553-49fb-8ee4-12c3b9878232","status":"Creating","startTime":"2019-02-25T18:21:38.6939627Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126","name":"80dd7038-29cd-441c-a208-69eb80ad8126","status":"Creating","startTime":"2019-04-08T10:38:50.8381298Z","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: ['Mon, 25 Feb 2019 18:22:10 GMT'] + date: ['Mon, 08 Apr 2019 10:39: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] @@ -495,23 +512,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a62fab96-8553-49fb-8ee4-12c3b9878232","name":"a62fab96-8553-49fb-8ee4-12c3b9878232","status":"Succeeded","startTime":"2019-02-25T18:21:38.6939627Z","endTime":"2019-02-25T18:22:15.8572337Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126","name":"80dd7038-29cd-441c-a208-69eb80ad8126","status":"Creating","startTime":"2019-04-08T10:38:50.8381298Z","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: ['648'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:22:42 GMT'] + date: ['Mon, 08 Apr 2019 10:39: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] @@ -524,24 +543,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A22%3A15.8938884Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_228b3a66","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c9a4fa0a-b9c7-70e2-3a51-a7f904dc1e4e","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126","name":"80dd7038-29cd-441c-a208-69eb80ad8126","status":"Creating","startTime":"2019-04-08T10:38:50.8381298Z","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: ['1625'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:22:43 GMT'] - etag: [W/"datetime'2019-02-25T18%3A22%3A15.8938884Z'"] + date: ['Mon, 08 Apr 2019 10:40: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] @@ -554,23 +574,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume list] + CommandName: [netappfiles volume create] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - accept-language: [en-US] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A22%3A15.8938884Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_228b3a66","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"c9a4fa0a-b9c7-70e2-3a51-a7f904dc1e4e","fileSystemId":"a165fd21-de01-0d77-def6-ac1ababf0dc8","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126","name":"80dd7038-29cd-441c-a208-69eb80ad8126","status":"Creating","startTime":"2019-04-08T10:38:50.8381298Z","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: ['1637'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:22:45 GMT'] + date: ['Mon, 08 Apr 2019 10:40: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] @@ -583,52 +605,57 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + CommandName: [netappfiles volume create] Connection: [keep-alive] - Content-Length: ['0'] - ParameterSetName: [--resource-group -a -p -v] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] - accept-language: [en-US] - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126?api-version=2017-08-15 response: - body: {string: !!python/unicode ''} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/80dd7038-29cd-441c-a208-69eb80ad8126","name":"80dd7038-29cd-441c-a208-69eb80ad8126","status":"Succeeded","startTime":"2019-04-08T10:38:50.8381298Z","endTime":"2019-04-08T10:41:28.3087554Z","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: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:22:48 GMT'] + content-length: ['648'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 10:41:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15&operationResultResponseType=Location'] pragma: [no-cache] + 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-deletes: ['14998'] x-powered-by: [ASP.NET] - status: {code: 202, message: Accepted} + status: {code: 200, message: OK} - request: body: null headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + CommandName: [netappfiles volume create] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p -v] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9","name":"71ba9be2-1417-4e20-b85e-eae3bec8efc9","status":"Deleting","startTime":"2019-02-25T18:22:48.939241Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + 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-04-08T10%3A41%3A28.3355373Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"bde33d16-abbf-cc37-e0fe-18cdd33f3aa6","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_087a5fbc","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":"f5d00f7e-37c0-b392-d079-286f1621e01e","fileSystemId":"bde33d16-abbf-cc37-e0fe-18cdd33f3aa6","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['636'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:23:20 GMT'] + date: ['Mon, 08 Apr 2019 10:41:35 GMT'] + etag: [W/"datetime'2019-04-08T10%3A41%3A28.3355373Z'"] expires: ['-1'] pragma: [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] @@ -641,22 +668,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.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/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/71ba9be2-1417-4e20-b85e-eae3bec8efc9","name":"71ba9be2-1417-4e20-b85e-eae3bec8efc9","status":"Succeeded","startTime":"2019-02-25T18:22:48.939241Z","endTime":"2019-02-25T18:23:44.7821227Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + 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-04-08T10%3A41%3A28.3355373Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"bde33d16-abbf-cc37-e0fe-18cdd33f3aa6","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_087a5fbc","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":"f5d00f7e-37c0-b392-d079-286f1621e01e","fileSystemId":"bde33d16-abbf-cc37-e0fe-18cdd33f3aa6","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['647'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:23:51 GMT'] + date: ['Mon, 08 Apr 2019 10:41:37 GMT'] + etag: [W/"datetime'2019-04-08T10%3A41%3A28.3355373Z'"] expires: ['-1'] pragma: [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] @@ -669,23 +700,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume list] + CommandName: [netappfiles volume show] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p] + ParameterSetName: [--ids] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[]}'} + 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-04-08T10%3A41%3A28.3355373Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"bde33d16-abbf-cc37-e0fe-18cdd33f3aa6","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_087a5fbc","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":"f5d00f7e-37c0-b392-d079-286f1621e01e","fileSystemId":"bde33d16-abbf-cc37-e0fe-18cdd33f3aa6","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['12'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:23:53 GMT'] + date: ['Mon, 08 Apr 2019 10:41:40 GMT'] + etag: [W/"datetime'2019-04-08T10%3A41%3A28.3355373Z'"] expires: ['-1'] pragma: [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] @@ -712,9 +746,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:23:58 GMT'] + date: ['Mon, 08 Apr 2019 10:41:45 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNkJNMlNINEQ2VkhJT0NETjVOQ0RKNEJYUjUyTlNRV3xDOTU1MDg1Njc5QzlGM0NCLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUEg2NERPT0dQVkFCS0FFQVZEVkZPS0tJSURYMjc0NHxFRDBGQzE0QTE0RjEwMDBDLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml similarity index 59% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml index 9fd7be6a812..3d1208627a4 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_accounts_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:38:57Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T15:46:28Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,50 +14,52 @@ interactions: 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 + 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_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:38:57Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + 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-04-06T15:46:28Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:39:01 GMT'] + date: ['Sat, 06 Apr 2019 15:46:39 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A05.479645Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} + 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-04-06T15%3A46%3A50.670093Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a4139f07-5021-46fb-9723-bfc0e9ba7015?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/73eb3b3d-6931-4cfe-99a2-5cf6a191c2e2?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['476'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:39:05 GMT'] - etag: [W/"datetime'2019-02-28T08%3A39%3A05.479645Z'"] + date: ['Sat, 06 Apr 2019 15:46:53 GMT'] + etag: [W/"datetime'2019-04-06T15%3A46%3A50.670093Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a4139f07-5021-46fb-9723-bfc0e9ba7015?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/73eb3b3d-6931-4cfe-99a2-5cf6a191c2e2?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a4139f07-5021-46fb-9723-bfc0e9ba7015","name":"a4139f07-5021-46fb-9723-bfc0e9ba7015","status":"Succeeded","startTime":"2019-02-28T08:39:05.4289715Z","endTime":"2019-02-28T08:39:05.7173751Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/73eb3b3d-6931-4cfe-99a2-5cf6a191c2e2","name":"73eb3b3d-6931-4cfe-99a2-5cf6a191c2e2","status":"Succeeded","startTime":"2019-04-06T15:46:50.4683669Z","endTime":"2019-04-06T15:46:50.9807398Z","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: ['Thu, 28 Feb 2019 08:39:36 GMT'] + date: ['Sat, 06 Apr 2019 15:47: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A05.7588435Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A46%3A51.1694437Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:39:36 GMT'] - etag: [W/"datetime'2019-02-28T08%3A39%3A05.7588435Z'"] + date: ['Sat, 06 Apr 2019 15:47:26 GMT'] + etag: [W/"datetime'2019-04-06T15%3A46%3A51.1694437Z'"] expires: ['-1'] pragma: [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] @@ -122,31 +128,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A42.0886066Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} + 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-04-06T15%3A47%3A30.4860504Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Creating","name":"cli000003"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb6acde8-20e1-41a5-9f0b-f2fe62fea096?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/350e2180-13b9-4e04-94e0-fe2b10bca77a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['477'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:39:42 GMT'] - etag: [W/"datetime'2019-02-28T08%3A39%3A42.0886066Z'"] + date: ['Sat, 06 Apr 2019 15:47:38 GMT'] + etag: [W/"datetime'2019-04-06T15%3A47%3A30.4860504Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -154,22 +162,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb6acde8-20e1-41a5-9f0b-f2fe62fea096?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/350e2180-13b9-4e04-94e0-fe2b10bca77a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/bb6acde8-20e1-41a5-9f0b-f2fe62fea096","name":"bb6acde8-20e1-41a5-9f0b-f2fe62fea096","status":"Succeeded","startTime":"2019-02-28T08:39:42.0292748Z","endTime":"2019-02-28T08:39:42.3335072Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/350e2180-13b9-4e04-94e0-fe2b10bca77a","name":"350e2180-13b9-4e04-94e0-fe2b10bca77a","status":"Succeeded","startTime":"2019-04-06T15:47:30.3587314Z","endTime":"2019-04-06T15:47:30.7493699Z","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: ['Thu, 28 Feb 2019 08:40:13 GMT'] + date: ['Sat, 06 Apr 2019 15:48: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] @@ -182,23 +192,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A42.3788126Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}'} + 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-04-06T15%3A47%3A30.8292917Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:40:17 GMT'] - etag: [W/"datetime'2019-02-28T08%3A39%3A42.3788126Z'"] + date: ['Sat, 06 Apr 2019 15:48:11 GMT'] + etag: [W/"datetime'2019-04-06T15%3A47%3A30.8292917Z'"] expires: ['-1'] pragma: [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] @@ -211,23 +223,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A05.7588435Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003","name":"cli000003","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A39%3A42.3788126Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000003"}}]}'} + 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-04-06T15%3A47%3A30.8292917Z''\"","location":"westus2","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-04-06T15%3A46%3A51.1694437Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:40:18 GMT'] + date: ['Sat, 06 Apr 2019 15:48: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] @@ -240,29 +254,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9d063eb5-3e4f-4a44-9770-b63778ce32d3?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 08:40:52 GMT'] + date: ['Sat, 06 Apr 2019 15:48:15 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9d063eb5-3e4f-4a44-9770-b63778ce32d3?api-version=2017-08-15&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-ms-ratelimit-remaining-subscription-deletes: ['14997'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -270,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9d063eb5-3e4f-4a44-9770-b63778ce32d3?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1731d6f4-613c-436e-b1f6-75a8d4d7a8e1","name":"1731d6f4-613c-436e-b1f6-75a8d4d7a8e1","status":"Succeeded","startTime":"2019-02-28T08:40:24.8062632Z","endTime":"2019-02-28T08:40:24.9000409Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/9d063eb5-3e4f-4a44-9770-b63778ce32d3","name":"9d063eb5-3e4f-4a44-9770-b63778ce32d3","status":"Succeeded","startTime":"2019-04-06T15:48:15.8299051Z","endTime":"2019-04-06T15:48:15.939374Z","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-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:40:54 GMT'] + date: ['Sat, 06 Apr 2019 15:48: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] @@ -298,29 +316,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8bf884e3-01e8-41fe-91f6-3d9a810b1759?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 08:41:11 GMT'] + date: ['Sat, 06 Apr 2019 15:48:50 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8bf884e3-01e8-41fe-91f6-3d9a810b1759?api-version=2017-08-15&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-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -328,22 +348,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8bf884e3-01e8-41fe-91f6-3d9a810b1759?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b3cfd8db-9dc6-432e-b576-550a211a94b6","name":"b3cfd8db-9dc6-432e-b576-550a211a94b6","status":"Succeeded","startTime":"2019-02-28T08:41:00.2482359Z","endTime":"2019-02-28T08:41:00.4357437Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8bf884e3-01e8-41fe-91f6-3d9a810b1759","name":"8bf884e3-01e8-41fe-91f6-3d9a810b1759","status":"Succeeded","startTime":"2019-04-06T15:48:49.9372442Z","endTime":"2019-04-06T15:48:50.3913518Z","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: ['Thu, 28 Feb 2019 08:41:32 GMT'] + date: ['Sat, 06 Apr 2019 15:49: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] @@ -356,21 +378,21 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:41:32 GMT'] + date: ['Sat, 06 Apr 2019 15:49:22 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -390,15 +412,15 @@ interactions: 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 + 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: ['Thu, 28 Feb 2019 08:41:36 GMT'] + date: ['Sat, 06 Apr 2019 15:49:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHSkZKVUdLMllXWkE3N1BZREFYNlFUS1o2S0I1Nk5ZMnxDMzQ4RjQ5M0YzMEI4QzI0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGM0VaSVEzNVJVUlFBWFBSQktTR0JONkYyVEdKV3xFQjc3NTNCMDVEOTg2MzIwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml similarity index 65% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml index 78e2d65c32f..9f9409e29d0 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_mount_targets.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T21:08:41Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T11:19:02Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T21:08:41Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-04-08T11:19:02Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:08:47 GMT'] + date: ['Mon, 08 Apr 2019 11:19: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'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['124'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n --resource-group -l] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"97c5350e-000a-44e6-9c26-3bf913e253e7\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"7b177d11-3f30-48c9-b77f-275a8b5bbd8f\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"50223e5e-1930-4137-a3bf-f602907d5b78\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"cf9d77c7-d3e3-4497-9103-1d5191e0f9cc\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ \ [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/23ab69f1-ef07-4080-939c-7960d799b157?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/54121ff9-a4da-45d7-bb1b-84faad628f46?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['805'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:08:53 GMT'] + date: ['Mon, 08 Apr 2019 11: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'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n --resource-group -l] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/23ab69f1-ef07-4080-939c-7960d799b157?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/54121ff9-a4da-45d7-bb1b-84faad628f46?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:08:57 GMT'] + date: ['Mon, 08 Apr 2019 11:19:19 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l] + ParameterSetName: [-n --resource-group -l] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"523a7296-9ff4-44fa-9e22-f76a700bbf64\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"51d4acd8-28a8-43f6-88ed-7c3a016db237\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"50223e5e-1930-4137-a3bf-f602907d5b78\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"cf9d77c7-d3e3-4497-9103-1d5191e0f9cc\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.0.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"dnsServers\"\ : []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\":\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:08:58 GMT'] - etag: [W/"523a7296-9ff4-44fa-9e22-f76a700bbf64"] + date: ['Mon, 08 Apr 2019 11:19:21 GMT'] + etag: [W/"51d4acd8-28a8-43f6-88ed-7c3a016db237"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -153,11 +153,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"c46cee8e-12b9-42c7-aa74-ae55744de231\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"6f145f4e-8c31-47ab-89a0-362275fd3d71\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"c46cee8e-12b9-42c7-aa74-ae55744de231\\\"\"\ + ,\r\n \"etag\": \"W/\\\"6f145f4e-8c31-47ab-89a0-362275fd3d71\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -166,17 +166,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bc4e6172-28d3-4510-9d42-4ae5e02bd841?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ac2e5f9b-ccec-42e8-b7af-ff0f47cac6aa?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1274'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:08:59 GMT'] + date: ['Mon, 08 Apr 2019 11:19:24 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1194'] status: {code: 201, message: Created} - request: body: null @@ -189,14 +189,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/bc4e6172-28d3-4510-9d42-4ae5e02bd841?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/ac2e5f9b-ccec-42e8-b7af-ff0f47cac6aa?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:09:03 GMT'] + date: ['Mon, 08 Apr 2019 11:19:29 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -220,11 +220,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"default\",\r\n \"id\": \"\ /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default\"\ - ,\r\n \"etag\": \"W/\\\"cd1951ad-e48b-42a6-b52f-5e8655295633\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"b5df5fa9-a035-4a53-bc01-ba5dc183bea6\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.0.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"cd1951ad-e48b-42a6-b52f-5e8655295633\\\"\"\ + ,\r\n \"etag\": \"W/\\\"b5df5fa9-a035-4a53-bc01-ba5dc183bea6\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -236,8 +236,8 @@ interactions: cache-control: [no-cache] content-length: ['1275'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:09:04 GMT'] - etag: [W/"cd1951ad-e48b-42a6-b52f-5e8655295633"] + date: ['Mon, 08 Apr 2019 11:19:31 GMT'] + etag: [W/"b5df5fa9-a035-4a53-bc01-ba5dc183bea6"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -251,31 +251,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T21%3A09%3A09.1669344Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A19%3A38.0387858Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5373dd60-37f0-4922-9525-b5ea624fa3df?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ade01ba8-7d91-4304-8c13-44269472646b?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:09:09 GMT'] - etag: [W/"datetime'2019-02-25T21%3A09%3A09.1669344Z'"] + date: ['Mon, 08 Apr 2019 11:19:37 GMT'] + etag: [W/"datetime'2019-04-08T11%3A19%3A38.0387858Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -283,22 +285,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5373dd60-37f0-4922-9525-b5ea624fa3df?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ade01ba8-7d91-4304-8c13-44269472646b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5373dd60-37f0-4922-9525-b5ea624fa3df","name":"5373dd60-37f0-4922-9525-b5ea624fa3df","status":"Succeeded","startTime":"2019-02-25T21:09:09.1103709Z","endTime":"2019-02-25T21:09:09.4084643Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ade01ba8-7d91-4304-8c13-44269472646b","name":"ade01ba8-7d91-4304-8c13-44269472646b","status":"Succeeded","startTime":"2019-04-08T11:19:38.0062364Z","endTime":"2019-04-08T11:19:38.2941116Z","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: ['Mon, 25 Feb 2019 21:09:40 GMT'] + date: ['Mon, 08 Apr 2019 11:20: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] @@ -311,23 +315,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T21%3A09%3A09.4541388Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A19%3A38.3309936Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 21:09:42 GMT'] - etag: [W/"datetime'2019-02-25T21%3A09%3A09.4541388Z'"] + date: ['Mon, 08 Apr 2019 11:20:13 GMT'] + etag: [W/"datetime'2019-04-08T11%3A19%3A38.3309936Z'"] expires: ['-1'] pragma: [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] @@ -341,31 +347,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T21%3A09%3A46.5474841Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T11%3A20%3A17.749989Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a5ad7df-792b-4345-bb07-46b607b12c72?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e1095c4a-0772-4e55-be22-52a15106126f?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['542'] + content-length: ['541'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:09:46 GMT'] - etag: [W/"datetime'2019-02-25T21%3A09%3A46.5474841Z'"] + date: ['Mon, 08 Apr 2019 11:20:18 GMT'] + etag: [W/"datetime'2019-04-08T11%3A20%3A17.749989Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -373,22 +381,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a5ad7df-792b-4345-bb07-46b607b12c72?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e1095c4a-0772-4e55-be22-52a15106126f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/8a5ad7df-792b-4345-bb07-46b607b12c72","name":"8a5ad7df-792b-4345-bb07-46b607b12c72","status":"Succeeded","startTime":"2019-02-25T21:09:46.4600293Z","endTime":"2019-02-25T21:09:46.8905886Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e1095c4a-0772-4e55-be22-52a15106126f","name":"e1095c4a-0772-4e55-be22-52a15106126f","status":"Succeeded","startTime":"2019-04-08T11:20:17.6960706Z","endTime":"2019-04-08T11:20:18.1335421Z","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: ['Mon, 25 Feb 2019 21:10:18 GMT'] + date: ['Mon, 08 Apr 2019 11:20: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] @@ -401,23 +411,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T21%3A09%3A46.9447663Z''\"","location":"westus2","properties":{"poolId":"9e58c3f0-fe10-0317-05e3-ead4f608e3d9","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T11%3A20%3A18.1812961Z''\"","location":"westus2","properties":{"poolId":"a8c7f69a-f093-7e00-4027-faf51d469df2","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: ['Mon, 25 Feb 2019 21:10:19 GMT'] - etag: [W/"datetime'2019-02-25T21%3A09%3A46.9447663Z'"] + date: ['Mon, 08 Apr 2019 11:20:52 GMT'] + etag: [W/"datetime'2019-04-08T11%3A20%3A18.1812961Z'"] expires: ['-1'] pragma: [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] @@ -432,32 +444,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] Content-Length: ['386'] Content-Type: [application/json; charset=utf-8] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T21%3A10%3A24.6996296Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T11%3A20%3A58.7200874Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['901'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:10:25 GMT'] - etag: [W/"datetime'2019-02-25T21%3A10%3A24.6996296Z'"] + date: ['Mon, 08 Apr 2019 11:20:59 GMT'] + etag: [W/"datetime'2019-04-08T11%3A20%3A58.7200874Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -465,23 +479,149 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af","name":"57d60297-f655-4772-81ca-f994ab7347af","status":"Creating","startTime":"2019-04-08T11:20:58.6571713Z","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: ['Mon, 08 Apr 2019 11:21: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af","name":"57d60297-f655-4772-81ca-f994ab7347af","status":"Creating","startTime":"2019-04-08T11:20:58.6571713Z","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: ['Mon, 08 Apr 2019 11:22: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af","name":"57d60297-f655-4772-81ca-f994ab7347af","status":"Creating","startTime":"2019-04-08T11:20:58.6571713Z","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: ['Mon, 08 Apr 2019 11:22: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af","name":"57d60297-f655-4772-81ca-f994ab7347af","status":"Creating","startTime":"2019-04-08T11:20:58.6571713Z","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: ['Mon, 08 Apr 2019 11:23: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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58","name":"f7dcda0a-ba63-4485-bb4e-9c921d44db58","status":"Creating","startTime":"2019-02-25T21:10:24.6497002Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af","name":"57d60297-f655-4772-81ca-f994ab7347af","status":"Creating","startTime":"2019-04-08T11:20:58.6571713Z","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: ['Mon, 25 Feb 2019 21:10:56 GMT'] + date: ['Mon, 08 Apr 2019 11:23: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] @@ -494,23 +634,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f7dcda0a-ba63-4485-bb4e-9c921d44db58","name":"f7dcda0a-ba63-4485-bb4e-9c921d44db58","status":"Succeeded","startTime":"2019-02-25T21:10:24.6497002Z","endTime":"2019-02-25T21:11:12.2504788Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/57d60297-f655-4772-81ca-f994ab7347af","name":"57d60297-f655-4772-81ca-f994ab7347af","status":"Succeeded","startTime":"2019-04-08T11:20:58.6571713Z","endTime":"2019-04-08T11:23:44.0145137Z","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: ['Mon, 25 Feb 2019 21:11:28 GMT'] + date: ['Mon, 08 Apr 2019 11:24: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] @@ -523,24 +665,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T21%3A11%3A12.2756684Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"39007b90-247a-ad4f-f6e5-bb43aa47d359","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_353ee3cb","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"0a920eec-79a9-ceea-14b9-48e9b250a123","fileSystemId":"39007b90-247a-ad4f-f6e5-bb43aa47d359","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}]}}'} + 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-04-08T11%3A23%3A44.0433695Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"5e9ef291-8cf1-56f3-aec8-07294007fa73","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_0ba9936d","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/default","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"f7edbb90-e80a-c4f4-8bb0-c196a8f28ab9","fileSystemId":"5e9ef291-8cf1-56f3-aec8-07294007fa73","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: ['1588'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:11:29 GMT'] - etag: [W/"datetime'2019-02-25T21%3A11%3A12.2756684Z'"] + date: ['Mon, 08 Apr 2019 11:24:11 GMT'] + etag: [W/"datetime'2019-04-08T11%3A23%3A44.0433695Z'"] expires: ['-1'] pragma: [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] @@ -553,23 +697,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf mount-target list] + CommandName: [netappfiles mount-target list] 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/0a920eec-79a9-ceea-14b9-48e9b250a123","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/0a920eec-79a9-ceea-14b9-48e9b250a123","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"0a920eec-79a9-ceea-14b9-48e9b250a123","fileSystemId":"39007b90-247a-ad4f-f6e5-bb43aa47d359","startIp":"10.0.0.4","endIp":"10.0.0.4","gateway":"10.0.0.1","netmask":"255.255.255.0","ipAddress":"10.0.0.4"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/mountTargets/f7edbb90-e80a-c4f4-8bb0-c196a8f28ab9","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/f7edbb90-e80a-c4f4-8bb0-c196a8f28ab9","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/mountTargets","location":"westus2","properties":{"provisioningState":"Succeeded","mountTargetId":"f7edbb90-e80a-c4f4-8bb0-c196a8f28ab9","fileSystemId":"5e9ef291-8cf1-56f3-aec8-07294007fa73","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: ['836'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 21:11:32 GMT'] + date: ['Mon, 08 Apr 2019 11:24: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] @@ -596,9 +742,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 21:11:36 GMT'] + date: ['Mon, 08 Apr 2019 11:24:19 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdNNUVCUDJPSzJBWVZYUkRWSlVLRkFWM1BDQU5MN0FVU0hQTXw0OEQ4N0I3Rjk3MUNBREZFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdPRkhQU01aWVBNT1NITEFUVkFWSExSWjZQUUxTNVZFT1AySXw4REMwOTgzRDk1MDk0Q0Q5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_pools.yaml similarity index 71% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_pools.yaml index 6a95242b69c..8f4ed4c299f 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_pools.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_pools.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T09:37:21Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T16:05:12Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,48 +16,50 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T09:37:21Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-06T16:05:12Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:37:22 GMT'] + date: ['Sat, 06 Apr 2019 16:05:15 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1196'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A37%3A30.3498945Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A05%3A18.8736818Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/67d86e44-bb09-44f9-8f5d-f360e89918af?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/75d09ebd-a810-4eb6-9a3d-c3bf6bd53589?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:37:32 GMT'] - etag: [W/"datetime'2019-02-28T09%3A37%3A30.3498945Z'"] + date: ['Sat, 06 Apr 2019 16:05:19 GMT'] + etag: [W/"datetime'2019-04-06T16%3A05%3A18.8736818Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1195'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/67d86e44-bb09-44f9-8f5d-f360e89918af?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/75d09ebd-a810-4eb6-9a3d-c3bf6bd53589?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/67d86e44-bb09-44f9-8f5d-f360e89918af","name":"67d86e44-bb09-44f9-8f5d-f360e89918af","status":"Succeeded","startTime":"2019-02-28T09:37:30.1611814Z","endTime":"2019-02-28T09:37:30.5961328Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/75d09ebd-a810-4eb6-9a3d-c3bf6bd53589","name":"75d09ebd-a810-4eb6-9a3d-c3bf6bd53589","status":"Succeeded","startTime":"2019-04-06T16:05:18.8399933Z","endTime":"2019-04-06T16:05:19.1053911Z","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: ['Thu, 28 Feb 2019 09:38:03 GMT'] + date: ['Sat, 06 Apr 2019 16:05: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T09%3A37%3A30.6350961Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A05%3A19.1508771Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 09:38:04 GMT'] - etag: [W/"datetime'2019-02-28T09%3A37%3A30.6350961Z'"] + date: ['Sat, 06 Apr 2019 16:05:51 GMT'] + etag: [W/"datetime'2019-04-06T16%3A05%3A19.1508771Z'"] expires: ['-1'] pragma: [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] @@ -123,27 +129,29 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A08.783151Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A05%3A55.9076998Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/15166365-fd63-473d-a636-88a0e953bb25?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6227bbed-81dd-4c66-976c-3c0793e4951b?api-version=2017-08-15'] cache-control: [no-cache] - content-length: ['566'] + content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:38:12 GMT'] - etag: [W/"datetime'2019-02-28T09%3A38%3A08.783151Z'"] + date: ['Sat, 06 Apr 2019 16:05:56 GMT'] + etag: [W/"datetime'2019-04-06T16%3A05%3A55.9076998Z'"] expires: ['-1'] pragma: [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] @@ -155,22 +163,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/15166365-fd63-473d-a636-88a0e953bb25?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6227bbed-81dd-4c66-976c-3c0793e4951b?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/15166365-fd63-473d-a636-88a0e953bb25","name":"15166365-fd63-473d-a636-88a0e953bb25","status":"Succeeded","startTime":"2019-02-28T09:38:08.7389358Z","endTime":"2019-02-28T09:38:09.1225861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6227bbed-81dd-4c66-976c-3c0793e4951b","name":"6227bbed-81dd-4c66-976c-3c0793e4951b","status":"Succeeded","startTime":"2019-04-06T16:05:55.8543637Z","endTime":"2019-04-06T16:05:56.2643959Z","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: ['Thu, 28 Feb 2019 09:38:45 GMT'] + date: ['Sat, 06 Apr 2019 16:06: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] @@ -183,23 +193,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A09.1594163Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f8ebf3b0-18c9-18d0-252f-ddd66dcc68e0","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A05%3A56.3009763Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"02699ebf-d8a9-1f6f-c35e-804863db85d6","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: ['Thu, 28 Feb 2019 09:38:44 GMT'] - etag: [W/"datetime'2019-02-28T09%3A38%3A09.1594163Z'"] + date: ['Sat, 06 Apr 2019 16:06:28 GMT'] + etag: [W/"datetime'2019-04-06T16%3A05%3A56.3009763Z'"] expires: ['-1'] pragma: [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] @@ -213,27 +225,29 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A51.2322503Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A06%3A32.7715979Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3d4e84d5-78b7-4309-9f62-f51ca114e0f6?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db1678d9-f665-443b-820e-e502275731dd?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:38:51 GMT'] - etag: [W/"datetime'2019-02-28T09%3A38%3A51.2322503Z'"] + date: ['Sat, 06 Apr 2019 16:06:32 GMT'] + etag: [W/"datetime'2019-04-06T16%3A06%3A32.7715979Z'"] expires: ['-1'] pragma: [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] @@ -245,22 +259,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3d4e84d5-78b7-4309-9f62-f51ca114e0f6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db1678d9-f665-443b-820e-e502275731dd?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/3d4e84d5-78b7-4309-9f62-f51ca114e0f6","name":"3d4e84d5-78b7-4309-9f62-f51ca114e0f6","status":"Succeeded","startTime":"2019-02-28T09:38:51.1908651Z","endTime":"2019-02-28T09:38:51.6143048Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/db1678d9-f665-443b-820e-e502275731dd","name":"db1678d9-f665-443b-820e-e502275731dd","status":"Succeeded","startTime":"2019-04-06T16:06:32.7419633Z","endTime":"2019-04-06T16:06:33.1328273Z","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: ['Thu, 28 Feb 2019 09:39:26 GMT'] + date: ['Sat, 06 Apr 2019 16:07: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] @@ -273,23 +289,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A51.6495445Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"c6970a0a-5b02-042d-2f29-0e59dc731e97","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A06%3A33.1708769Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"d954e7bd-f695-4eb4-2bef-78cf84ba4e67","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: ['Thu, 28 Feb 2019 09:39:38 GMT'] - etag: [W/"datetime'2019-02-28T09%3A38%3A51.6495445Z'"] + date: ['Sat, 06 Apr 2019 16:07:05 GMT'] + etag: [W/"datetime'2019-04-06T16%3A06%3A33.1708769Z'"] expires: ['-1'] pragma: [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] @@ -302,23 +320,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A09.1594163Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"f8ebf3b0-18c9-18d0-252f-ddd66dcc68e0","name":"cli000002/cli000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T09%3A38%3A51.6495445Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"c6970a0a-5b02-042d-2f29-0e59dc731e97","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004","name":"cli000002/cli000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A06%3A33.1708769Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"d954e7bd-f695-4eb4-2bef-78cf84ba4e67","name":"cli000002/cli000004","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003","name":"cli000002/cli000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A05%3A56.3009763Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"02699ebf-d8a9-1f6f-c35e-804863db85d6","name":"cli000002/cli000003","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: ['Thu, 28 Feb 2019 09:39:29 GMT'] + date: ['Sat, 06 Apr 2019 16:07: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] @@ -331,29 +351,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5b48d9d7-f8d0-4906-92bd-a504e3c03e2f?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:39:36 GMT'] + date: ['Sat, 06 Apr 2019 16:07:09 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5b48d9d7-f8d0-4906-92bd-a504e3c03e2f?api-version=2017-08-15&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-ms-ratelimit-remaining-subscription-deletes: ['14999'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -361,22 +383,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5b48d9d7-f8d0-4906-92bd-a504e3c03e2f?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1fdc1e12-1c13-46ab-8c61-6d584f8f5a26","name":"1fdc1e12-1c13-46ab-8c61-6d584f8f5a26","status":"Succeeded","startTime":"2019-02-28T09:39:33.8755426Z","endTime":"2019-02-28T09:39:37.109861Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5b48d9d7-f8d0-4906-92bd-a504e3c03e2f","name":"5b48d9d7-f8d0-4906-92bd-a504e3c03e2f","status":"Succeeded","startTime":"2019-04-06T16:07:10.078717Z","endTime":"2019-04-06T16:07:13.2662729Z","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: ['Thu, 28 Feb 2019 09:40:16 GMT'] + date: ['Sat, 06 Apr 2019 16:07: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] @@ -389,29 +413,31 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004?api-version=2017-08-15 response: body: {string: !!python/unicode ''} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/60b4bc20-6397-4875-8606-857e36f4dd72?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:40:09 GMT'] + date: ['Sat, 06 Apr 2019 16:07:44 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8?api-version=2017-08-15&operationResultResponseType=Location'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/60b4bc20-6397-4875-8606-857e36f4dd72?api-version=2017-08-15&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-ms-ratelimit-remaining-subscription-deletes: ['14995'] x-powered-by: [ASP.NET] status: {code: 202, message: Accepted} - request: @@ -419,22 +445,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool delete] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/60b4bc20-6397-4875-8606-857e36f4dd72?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/28186a4d-7e8a-427a-b051-e6682cdf2ac8","name":"28186a4d-7e8a-427a-b051-e6682cdf2ac8","status":"Succeeded","startTime":"2019-02-28T09:40:09.2021947Z","endTime":"2019-02-28T09:40:12.3234206Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools/cli000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/60b4bc20-6397-4875-8606-857e36f4dd72","name":"60b4bc20-6397-4875-8606-857e36f4dd72","status":"Succeeded","startTime":"2019-04-06T16:07:44.4942907Z","endTime":"2019-04-06T16:07:47.6973727Z","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: ['Thu, 28 Feb 2019 09:40:39 GMT'] + date: ['Sat, 06 Apr 2019 16:08: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] @@ -447,23 +475,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool list] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002/capacityPools?api-version=2017-08-15 response: body: {string: !!python/unicode '{"value":[]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 09:40:47 GMT'] + date: ['Sat, 06 Apr 2019 16:08: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] @@ -490,9 +520,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 09:41:02 GMT'] + date: ['Sat, 06 Apr 2019 16:08:21 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVE5NWVFUSktYT1RNT1BLVEwzWExZQzZLNzUyM1JLRHwzRUU5MDY0OEQzQUYwQjc0LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHNk5STkEzRkRMQ0VITjRMV1lCWEJOTzNXTDNTWU9TVnw0MEEwRjY1ODI4Q0ZENERELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_snapshots.yaml similarity index 64% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_snapshots.yaml index f0173dfb8f2..c6d0acd0383 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_list_snapshots.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_snapshots.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:34:41Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T11:58:19Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-02-25T18:34:41Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001","name":"clitest.rg000001","location":"westus","tags":{"date":"2019-04-08T11:58:19Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:44 GMT'] + date: ['Mon, 08 Apr 2019 11:58:23 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"1b14b14d-f879-4fdf-9703-7f4628e83432\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"87175f93-bde4-4433-b3a4-1dc9ff7501dc\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"e572b0c3-b0be-455e-95ee-e688bc8487ec\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"8fdf548a-84d3-4d0c-8235-d34ba5355bfd\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/511c8773-1a29-4e56-a524-3ef1b47873a5?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cae07b1f-492c-4135-a12c-eb00ec5f6ad2?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:48 GMT'] + date: ['Mon, 08 Apr 2019 11:58: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: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/511c8773-1a29-4e56-a524-3ef1b47873a5?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/cae07b1f-492c-4135-a12c-eb00ec5f6ad2?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:52 GMT'] + date: ['Mon, 08 Apr 2019 11:58:32 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000007\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007\"\ - ,\r\n \"etag\": \"W/\\\"078bb9bd-395a-45ca-bd2e-134f03468db9\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"f094a45b-b311-4545-b6fb-e6fbc4849606\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"e572b0c3-b0be-455e-95ee-e688bc8487ec\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"8fdf548a-84d3-4d0c-8235-d34ba5355bfd\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:53 GMT'] - etag: [W/"078bb9bd-395a-45ca-bd2e-134f03468db9"] + date: ['Mon, 08 Apr 2019 11:58:33 GMT'] + etag: [W/"f094a45b-b311-4545-b6fb-e6fbc4849606"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ - ,\r\n \"etag\": \"W/\\\"e397b25d-b0e2-41fc-af5a-89e628324a70\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"ddcfa4b4-c9a4-4394-a3e9-aa20901dcb70\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"e397b25d-b0e2-41fc-af5a-89e628324a70\\\"\"\ + ,\r\n \"etag\": \"W/\\\"ddcfa4b4-c9a4-4394-a3e9-aa20901dcb70\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b6e9c561-88f8-4b8f-bbe9-458a71da909b?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/7c813896-013d-42ae-ad31-588cf5431d69?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:54 GMT'] + date: ['Mon, 08 Apr 2019 11:58:34 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1195'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b6e9c561-88f8-4b8f-bbe9-458a71da909b?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/7c813896-013d-42ae-ad31-588cf5431d69?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:58 GMT'] + date: ['Mon, 08 Apr 2019 11:58:38 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000008\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008\"\ - ,\r\n \"etag\": \"W/\\\"cd534252-242e-41ed-824d-85c5ae587dee\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"cbcde67e-0580-4984-a155-238b1a394392\\\"\",\r\n \ \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"\ addressPrefix\": \"10.12.0.0/24\",\r\n \"delegations\": [\r\n {\r\n\ \ \"name\": \"0\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008/delegations/0\"\ - ,\r\n \"etag\": \"W/\\\"cd534252-242e-41ed-824d-85c5ae587dee\\\"\"\ + ,\r\n \"etag\": \"W/\\\"cbcde67e-0580-4984-a155-238b1a394392\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:34:59 GMT'] - etag: [W/"cd534252-242e-41ed-824d-85c5ae587dee"] + date: ['Mon, 08 Apr 2019 11:58:39 GMT'] + etag: [W/"cbcde67e-0580-4984-a155-238b1a394392"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -252,31 +252,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A35%3A04.2682281Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A58%3A44.0043478Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/921fae7b-eb5a-4120-8358-d87c76de20c1?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5eb5c4ce-2f12-4d2d-84fa-0ff2a716a53d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:35:04 GMT'] - etag: [W/"datetime'2019-02-25T18%3A35%3A04.2682281Z'"] + date: ['Mon, 08 Apr 2019 11:58:43 GMT'] + etag: [W/"datetime'2019-04-08T11%3A58%3A44.0043478Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -284,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/921fae7b-eb5a-4120-8358-d87c76de20c1?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5eb5c4ce-2f12-4d2d-84fa-0ff2a716a53d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/921fae7b-eb5a-4120-8358-d87c76de20c1","name":"921fae7b-eb5a-4120-8358-d87c76de20c1","status":"Succeeded","startTime":"2019-02-25T18:35:04.1604291Z","endTime":"2019-02-25T18:35:04.5510866Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/5eb5c4ce-2f12-4d2d-84fa-0ff2a716a53d","name":"5eb5c4ce-2f12-4d2d-84fa-0ff2a716a53d","status":"Succeeded","startTime":"2019-04-08T11:58:43.9114138Z","endTime":"2019-04-08T11:58:44.2708268Z","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: ['Mon, 25 Feb 2019 18:35:35 GMT'] + date: ['Mon, 08 Apr 2019 11:59: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] @@ -312,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A35%3A04.6665093Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T11%3A58%3A44.3125694Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 18:35:37 GMT'] - etag: [W/"datetime'2019-02-25T18%3A35%3A04.6665093Z'"] + date: ['Mon, 08 Apr 2019 11:59:15 GMT'] + etag: [W/"datetime'2019-04-08T11%3A58%3A44.3125694Z'"] expires: ['-1'] pragma: [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] @@ -342,31 +348,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A35%3A41.7608558Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T11%3A59%3A20.9069373Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7dda8181-b6c5-49e8-a74e-45b561163dec?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6bdd571-5cd6-47b3-a52b-15e2345546a7?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:35:42 GMT'] - etag: [W/"datetime'2019-02-25T18%3A35%3A41.7608558Z'"] + date: ['Mon, 08 Apr 2019 11:59:21 GMT'] + etag: [W/"datetime'2019-04-08T11%3A59%3A20.9069373Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -374,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7dda8181-b6c5-49e8-a74e-45b561163dec?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6bdd571-5cd6-47b3-a52b-15e2345546a7?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7dda8181-b6c5-49e8-a74e-45b561163dec","name":"7dda8181-b6c5-49e8-a74e-45b561163dec","status":"Succeeded","startTime":"2019-02-25T18:35:41.6619982Z","endTime":"2019-02-25T18:35:42.1463329Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/c6bdd571-5cd6-47b3-a52b-15e2345546a7","name":"c6bdd571-5cd6-47b3-a52b-15e2345546a7","status":"Succeeded","startTime":"2019-04-08T11:59:20.8450735Z","endTime":"2019-04-08T11:59:21.2669976Z","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: ['Mon, 25 Feb 2019 18:36:12 GMT'] + date: ['Mon, 08 Apr 2019 11:59: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] @@ -402,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A35%3A42.2612103Z''\"","location":"westus2","properties":{"poolId":"4411ae52-43a4-a877-0b8b-ba84f661593d","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T11%3A59%3A21.3092264Z''\"","location":"westus2","properties":{"poolId":"481b0ff5-adfa-5fc1-9255-818c3c9e8abd","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: ['Mon, 25 Feb 2019 18:36:13 GMT'] - etag: [W/"datetime'2019-02-25T18%3A35%3A42.2612103Z'"] + date: ['Mon, 08 Apr 2019 11:59:56 GMT'] + etag: [W/"datetime'2019-04-08T11%3A59%3A21.3092264Z'"] expires: ['-1'] pragma: [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] @@ -433,32 +445,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A36%3A18.4329024Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T12%3A00%3A03.0643177Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:36:18 GMT'] - etag: [W/"datetime'2019-02-25T18%3A36%3A18.4329024Z'"] + date: ['Mon, 08 Apr 2019 12:00:03 GMT'] + etag: [W/"datetime'2019-04-08T12%3A00%3A03.0643177Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -466,23 +480,56 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","name":"ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","status":"Creating","startTime":"2019-04-08T12:00:03.0180681Z","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: ['Mon, 08 Apr 2019 12:00: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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed","name":"6573e9df-2409-44b9-9880-e460419592ed","status":"Creating","startTime":"2019-02-25T18:36:18.3790176Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","name":"ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","status":"Creating","startTime":"2019-04-08T12:00:03.0180681Z","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: ['Mon, 25 Feb 2019 18:36:50 GMT'] + date: ['Mon, 08 Apr 2019 12:01: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] @@ -495,23 +542,118 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6573e9df-2409-44b9-9880-e460419592ed","name":"6573e9df-2409-44b9-9880-e460419592ed","status":"Succeeded","startTime":"2019-02-25T18:36:18.3790176Z","endTime":"2019-02-25T18:37:02.328375Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","name":"ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","status":"Creating","startTime":"2019-04-08T12:00:03.0180681Z","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: ['Mon, 08 Apr 2019 12:01: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","name":"ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","status":"Creating","startTime":"2019-04-08T12:00:03.0180681Z","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: ['Mon, 08 Apr 2019 12:02: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","name":"ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","status":"Creating","startTime":"2019-04-08T12:00:03.0180681Z","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: ['Mon, 08 Apr 2019 12:02: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","name":"ce2f7e91-aa0f-4fb1-bc6c-c5f30dfb474a","status":"Succeeded","startTime":"2019-04-08T12:00:03.0180681Z","endTime":"2019-04-08T12:03:02.012009Z","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: ['647'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:37:21 GMT'] + date: ['Mon, 08 Apr 2019 12:03: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] @@ -524,24 +666,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A37%3A02.3591012Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_208357ee","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"56e08be1-f0fe-961f-ed4d-baf8c1d14c1a","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T12%3A03%3A02.051282Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"1c88fa3a-47de-9eb8-ae8e-f28556bb040f","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_5150e64c","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000007/subnets/cli-subnet-000008","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"d445491f-37c8-6e56-d838-8346591cc1c0","fileSystemId":"1c88fa3a-47de-9eb8-ae8e-f28556bb040f","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: ['1601'] + content-length: ['1600'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:37:23 GMT'] - etag: [W/"datetime'2019-02-25T18%3A37%3A02.3591012Z'"] + date: ['Mon, 08 Apr 2019 12:03:18 GMT'] + etag: [W/"datetime'2019-04-08T12%3A03%3A02.051282Z'"] expires: ['-1'] pragma: [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] @@ -550,67 +694,71 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "966de158-1daa-3a3e-36c6-942bf3c04f71"}, + body: !!python/unicode '{"properties": {"fileSystemId": "1c88fa3a-47de-9eb8-ae8e-f28556bb040f"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 6:37:30 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"092546d3-183b-3f98-6bec-8bda50929d9a","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000005","created":"2019-02-25T18:37:27Z"}}'} + 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":"4/8/2019 + 12:03:27 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"b377989f-6fee-4d07-f586-eff9c31a6053","fileSystemId":"1c88fa3a-47de-9eb8-ae8e-f28556bb040f","name":"cli-sn-000005","created":"2019-04-08T12:03:25Z"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['779'] + content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:37:30 GMT'] + date: ['Mon, 08 Apr 2019 12:03:28 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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: - body: !!python/unicode '{"properties": {"fileSystemId": "966de158-1daa-3a3e-36c6-942bf3c04f71"}, + body: !!python/unicode '{"properties": {"fileSystemId": "1c88fa3a-47de-9eb8-ae8e-f28556bb040f"}, "location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","etag":"2/25/2019 - 6:37:37 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"43b1baba-fff5-668f-545d-23d29546b1d0","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000006","created":"2019-02-25T18:37:35Z"}}'} + 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":"4/8/2019 + 12:03:37 PM","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"652c4a06-5fed-5daa-39a0-ae30d021f0cb","fileSystemId":"1c88fa3a-47de-9eb8-ae8e-f28556bb040f","name":"cli-sn-000006","created":"2019-04-08T12:03:35Z"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['779'] + content-length: ['778'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:37:37 GMT'] + date: ['Mon, 08 Apr 2019 12: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] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1196'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -618,23 +766,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf snapshot list] + CommandName: [netappfiles snapshot list] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p -v] + ParameterSetName: [-g -a -p -v] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"092546d3-183b-3f98-6bec-8bda50929d9a","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000005","created":"2019-02-25T18:37:27Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"43b1baba-fff5-668f-545d-23d29546b1d0","fileSystemId":"966de158-1daa-3a3e-36c6-942bf3c04f71","name":"cli-sn-000006","created":"2019-02-25T18:37:35Z"}}]}'} + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000005","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000005","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"b377989f-6fee-4d07-f586-eff9c31a6053","fileSystemId":"1c88fa3a-47de-9eb8-ae8e-f28556bb040f","name":"cli-sn-000005","created":"2019-04-08T12:03:25Z"}},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest.rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004/snapshots/cli-sn-000006","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004/cli-sn-000006","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes/snapshots","location":"westus2","properties":{"provisioningState":"Succeeded","snapshotId":"652c4a06-5fed-5daa-39a0-ae30d021f0cb","fileSystemId":"1c88fa3a-47de-9eb8-ae8e-f28556bb040f","name":"cli-sn-000006","created":"2019-04-08T12:03:35Z"}}]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['1509'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:37:40 GMT'] + date: ['Mon, 08 Apr 2019 12:03: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] @@ -661,9 +811,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:37:44 GMT'] + date: ['Mon, 08 Apr 2019 12:03:46 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdQWE4yUUpTSFNNQUE1TlBES0RKSUNOWEpUTEdQSVlQU0c0NXxGRjIzOEU4RDczOTFBQTg2LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTElURVNUOjJFUkdPRUxOU0JKNTJGUEdJVkFRNktTWlc0WUQ1U0Y0VFRWR0xBSHxERTE3MUQyRTkzRDNDMjI3LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_volumes.yaml similarity index 53% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_volumes.yaml index 9d5dd3c9ea7..c2734051939 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_get_volume_by_name.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_list_volumes.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:12:37Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T10:56:28Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:12:37Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-08T10:56:28Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:40 GMT'] + date: ['Mon, 08 Apr 2019 10:56:33 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"3a598739-3030-43ce-9691-eb5c4d19f82d\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"04a9d0f6-be70-4507-bedd-d7846a536172\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"07af654c-5a1c-4dc3-be97-cae4b36b956c\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"e7a58709-b56c-494c-b072-9eeba3c83753\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b13facfb-d5aa-443d-b3de-16e811f9ea9b?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/daf8f23b-e322-451f-8311-cec1568212c8?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:45 GMT'] + date: ['Mon, 08 Apr 2019 10:56: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'] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/b13facfb-d5aa-443d-b3de-16e811f9ea9b?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/daf8f23b-e322-451f-8311-cec1568212c8?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:49 GMT'] + date: ['Mon, 08 Apr 2019 10:56:41 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"aecb57ea-dac9-4e7c-8726-6e8a0198831c\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"39890113-df02-4a29-9d64-074eb197496b\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"07af654c-5a1c-4dc3-be97-cae4b36b956c\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"e7a58709-b56c-494c-b072-9eeba3c83753\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:50 GMT'] - etag: [W/"aecb57ea-dac9-4e7c-8726-6e8a0198831c"] + date: ['Mon, 08 Apr 2019 10:56:42 GMT'] + etag: [W/"39890113-df02-4a29-9d64-074eb197496b"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"15e904dc-250a-4ddc-a790-c70e3ccf8db5\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"b64ee2c1-e48f-475b-8842-0948b0721b96\\\"\",\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/\\\"15e904dc-250a-4ddc-a790-c70e3ccf8db5\\\"\"\ + ,\r\n \"etag\": \"W/\\\"b64ee2c1-e48f-475b-8842-0948b0721b96\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,11 +167,11 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d6f4ce99-97d5-4bde-948b-9024ec4e855a?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f06eb7b5-3dd0-4084-b640-70c4522159b8?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:52 GMT'] + date: ['Mon, 08 Apr 2019 10:56:43 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/d6f4ce99-97d5-4bde-948b-9024ec4e855a?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/f06eb7b5-3dd0-4084-b640-70c4522159b8?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:55 GMT'] + date: ['Mon, 08 Apr 2019 10:56:47 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"c2b34261-f877-44b4-8df7-76b438a75d86\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"aabf98a4-4d8d-4ede-9405-5cb3230f9ee8\\\"\",\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/\\\"c2b34261-f877-44b4-8df7-76b438a75d86\\\"\"\ + ,\r\n \"etag\": \"W/\\\"aabf98a4-4d8d-4ede-9405-5cb3230f9ee8\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:12:56 GMT'] - etag: [W/"c2b34261-f877-44b4-8df7-76b438a75d86"] + date: ['Mon, 08 Apr 2019 10:56:48 GMT'] + etag: [W/"aabf98a4-4d8d-4ede-9405-5cb3230f9ee8"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -252,31 +252,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A13%3A00.9140417Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T10%3A56%3A51.9795086Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1481250d-0f4d-4308-9028-c5220cd765e5?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9adb50f-8179-465f-80cd-02f044fd62fb?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:13:01 GMT'] - etag: [W/"datetime'2019-02-25T18%3A13%3A00.9140417Z'"] + date: ['Mon, 08 Apr 2019 10:56:52 GMT'] + etag: [W/"datetime'2019-04-08T10%3A56%3A51.9795086Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -284,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1481250d-0f4d-4308-9028-c5220cd765e5?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9adb50f-8179-465f-80cd-02f044fd62fb?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/1481250d-0f4d-4308-9028-c5220cd765e5","name":"1481250d-0f4d-4308-9028-c5220cd765e5","status":"Succeeded","startTime":"2019-02-25T18:13:00.8619553Z","endTime":"2019-02-25T18:13:01.1593413Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d9adb50f-8179-465f-80cd-02f044fd62fb","name":"d9adb50f-8179-465f-80cd-02f044fd62fb","status":"Succeeded","startTime":"2019-04-08T10:56:51.8531532Z","endTime":"2019-04-08T10:56:52.2437505Z","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: ['Mon, 25 Feb 2019 18:13:32 GMT'] + date: ['Mon, 08 Apr 2019 10:57: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] @@ -312,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A13%3A01.2052504Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T10%3A56%3A52.3257548Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['452'] + content-length: ['453'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:13:34 GMT'] - etag: [W/"datetime'2019-02-25T18%3A13%3A01.2052504Z'"] + date: ['Mon, 08 Apr 2019 10:57:25 GMT'] + etag: [W/"datetime'2019-04-08T10%3A56%3A52.3257548Z'"] expires: ['-1'] pragma: [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] @@ -338,35 +344,37 @@ interactions: status: {code: 200, message: OK} - request: body: !!python/unicode '{"properties": {"serviceLevel": "Premium", "size": 4398046511104}, - "location": "westus2", "tags": {"Tag2": "Value1"}}' + "location": "westus2", "tags": {"Tag1": "Value1"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A13%3A38.4428873Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T10%3A57%3A28.5254704Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/907be285-ea3a-4684-8932-a686118d1275?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b731c64f-daab-4da9-8369-69fb70554fdc?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['567'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:13:38 GMT'] - etag: [W/"datetime'2019-02-25T18%3A13%3A38.4428873Z'"] + date: ['Mon, 08 Apr 2019 10:57:28 GMT'] + etag: [W/"datetime'2019-04-08T10%3A57%3A28.5254704Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1196'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -374,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/907be285-ea3a-4684-8932-a686118d1275?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b731c64f-daab-4da9-8369-69fb70554fdc?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/907be285-ea3a-4684-8932-a686118d1275","name":"907be285-ea3a-4684-8932-a686118d1275","status":"Succeeded","startTime":"2019-02-25T18:13:38.4005726Z","endTime":"2019-02-25T18:13:38.8682709Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b731c64f-daab-4da9-8369-69fb70554fdc","name":"b731c64f-daab-4da9-8369-69fb70554fdc","status":"Succeeded","startTime":"2019-04-08T10:57:28.4298078Z","endTime":"2019-04-08T10:57:30.9831899Z","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: ['Mon, 25 Feb 2019 18:14:10 GMT'] + date: ['Mon, 08 Apr 2019 10:57: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] @@ -402,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A13%3A38.9112212Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"poolId":"d935e446-ec83-f62e-ae18-27443c1273d6","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T10%3A57%3A31.0252445Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"547a3e6d-64c9-3966-90b3-e34da0704ef6","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: ['Mon, 25 Feb 2019 18:14:11 GMT'] - etag: [W/"datetime'2019-02-25T18%3A13%3A38.9112212Z'"] + date: ['Mon, 08 Apr 2019 10:58:01 GMT'] + etag: [W/"datetime'2019-04-08T10%3A57%3A31.0252445Z'"] expires: ['-1'] pragma: [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] @@ -429,33 +441,35 @@ interactions: - request: body: !!python/unicode '{"location": "westus2", "properties": {"usageThreshold": 107374182400, "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006", - "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag2": + "serviceLevel": "Premium", "creationToken": "cli-vol-000004"}, "tags": {"Tag1": "Value1"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A16.7801233Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T10%3A58%3A05.2225387Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/282f31e7-81e7-44c7-b1ff-fe5ec0eb6043?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['935'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:14:16 GMT'] - etag: [W/"datetime'2019-02-25T18%3A14%3A16.7801233Z'"] + date: ['Mon, 08 Apr 2019 10:58:05 GMT'] + etag: [W/"datetime'2019-04-08T10%3A58%3A05.2225387Z'"] expires: ['-1'] pragma: [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] @@ -467,23 +481,180 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d","name":"0cdbfe09-19d7-4286-a72a-fee9242c548d","status":"Creating","startTime":"2019-04-08T10:58:05.157822Z","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: ['636'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 10:58: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 --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d","name":"0cdbfe09-19d7-4286-a72a-fee9242c548d","status":"Creating","startTime":"2019-04-08T10:58:05.157822Z","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: ['636'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 10:59: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 --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/282f31e7-81e7-44c7-b1ff-fe5ec0eb6043?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/282f31e7-81e7-44c7-b1ff-fe5ec0eb6043","name":"282f31e7-81e7-44c7-b1ff-fe5ec0eb6043","status":"Succeeded","startTime":"2019-02-25T18:14:16.7091383Z","endTime":"2019-02-25T18:14:46.978354Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d","name":"0cdbfe09-19d7-4286-a72a-fee9242c548d","status":"Creating","startTime":"2019-04-08T10:58:05.157822Z","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: ['636'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 10:59: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 --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d","name":"0cdbfe09-19d7-4286-a72a-fee9242c548d","status":"Creating","startTime":"2019-04-08T10:58:05.157822Z","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: ['636'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:00: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 --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d","name":"0cdbfe09-19d7-4286-a72a-fee9242c548d","status":"Creating","startTime":"2019-04-08T10:58:05.157822Z","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: ['636'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:00: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 --subnet-id --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/0cdbfe09-19d7-4286-a72a-fee9242c548d","name":"0cdbfe09-19d7-4286-a72a-fee9242c548d","status":"Succeeded","startTime":"2019-04-08T10:58:05.157822Z","endTime":"2019-04-08T11:00:46.4558379Z","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: ['647'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:14:48 GMT'] + date: ['Mon, 08 Apr 2019 11:01: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] @@ -496,24 +667,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id --tags] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A47.011595Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0c8d971e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7c67f689-a3d6-2631-b9a3-57bda83a5788","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T11%3A00%3A46.4900925Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"1e7a2f74-cd64-6279-afb3-02d1c49d7123","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_57978518","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":"123ad61b-e05d-848d-d285-cc4491758095","fileSystemId":"1e7a2f74-cd64-6279-afb3-02d1c49d7123","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['1625'] + content-length: ['1626'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:14:49 GMT'] - etag: [W/"datetime'2019-02-25T18%3A14%3A47.011595Z'"] + date: ['Mon, 08 Apr 2019 11:01:15 GMT'] + etag: [W/"datetime'2019-04-08T11%3A00%3A46.4900925Z'"] expires: ['-1'] pragma: [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] @@ -526,24 +699,87 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume show] + CommandName: [netappfiles volume list] Connection: [keep-alive] - ParameterSetName: [--resource-group -a -p -v] + ParameterSetName: [--resource-group -a -p] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-04-08T11%3A00%3A46.4900925Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"1e7a2f74-cd64-6279-afb3-02d1c49d7123","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_57978518","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":"123ad61b-e05d-848d-d285-cc4491758095","fileSystemId":"1e7a2f74-cd64-6279-afb3-02d1c49d7123","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}]}'} + headers: + access-control-expose-headers: [Request-Context] + cache-control: [no-cache] + content-length: ['1638'] + content-type: [application/json; charset=utf-8] + date: ['Mon, 08 Apr 2019 11:01: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 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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A47.011595Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0c8d971e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7c67f689-a3d6-2631-b9a3-57bda83a5788","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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/westus2/operationResults/336309b7-c0b6-4e2a-962a-d52de9c0a632?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['0'] + date: ['Mon, 08 Apr 2019 11:01:19 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/336309b7-c0b6-4e2a-962a-d52de9c0a632?api-version=2017-08-15&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 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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/336309b7-c0b6-4e2a-962a-d52de9c0a632?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/336309b7-c0b6-4e2a-962a-d52de9c0a632","name":"336309b7-c0b6-4e2a-962a-d52de9c0a632","status":"Deleting","startTime":"2019-04-08T11:01:19.8994135Z","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: ['1625'] + content-length: ['637'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:14:52 GMT'] - etag: [W/"datetime'2019-02-25T18%3A14%3A47.011595Z'"] + date: ['Mon, 08 Apr 2019 11: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] @@ -556,24 +792,55 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume show] + CommandName: [netappfiles volume delete] Connection: [keep-alive] - ParameterSetName: [--resource-group --ids] + ParameterSetName: [-g -a -p -v] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/336309b7-c0b6-4e2a-962a-d52de9c0a632?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/336309b7-c0b6-4e2a-962a-d52de9c0a632","name":"336309b7-c0b6-4e2a-962a-d52de9c0a632","status":"Succeeded","startTime":"2019-04-08T11:01:19.8994135Z","endTime":"2019-04-08T11:02:16.4126815Z","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: ['Mon, 08 Apr 2019 11:02: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 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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A14%3A47.011595Z''\"","location":"westus2","tags":{"Tag2":"Value1"},"properties":{"provisioningState":"Succeeded","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_0c8d971e","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"7c67f689-a3d6-2631-b9a3-57bda83a5788","fileSystemId":"225cba91-0bc8-6b0a-701d-c3256aefd268","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + body: {string: !!python/unicode '{"value":[]}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['1625'] + content-length: ['12'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:14:53 GMT'] - etag: [W/"datetime'2019-02-25T18%3A14%3A47.011595Z'"] + date: ['Mon, 08 Apr 2019 11:02:28 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] @@ -600,12 +867,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:14:58 GMT'] + date: ['Mon, 08 Apr 2019 11:02:34 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHT0RNUEtKSERGV0lOUVdPTFVSM1FDNDczWlFIQjdZUnxEMTcwQzI1QTExNjNFQUE1LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRlRFU0hXNVNQSVMzNE9LRzVJWEQzR1JWNDdaV1hKTHw0MUNGQjc1RjQ5MUY0RDBELVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14998'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_set_account_ext.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_set_account_ext.yaml new file mode 100644 index 00000000000..5a92bd972bb --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_set_account_ext.yaml @@ -0,0 +1,188 @@ +interactions: +- request: + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T15:37:45Z", + "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.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_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-04-06T15:37:45Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + headers: + cache-control: [no-cache] + content-length: ['384'] + content-type: [application/json; charset=utf-8] + date: ['Sat, 06 Apr 2019 15:37:48 GMT'] + expires: ['-1'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-writes: ['1197'] + status: {code: 201, message: Created} +- request: + body: !!python/unicode '{"location": "westus2"}' + 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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.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=2017-08-15 + 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-04-06T15%3A37%3A51.1930141Z''\"","location":"westus2","properties":{"provisioningState":"Creating","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/westus2/operationResults/6b4b382f-7f2d-464a-b555-2f7a716bfe5a?api-version=2017-08-15'] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Sat, 06 Apr 2019 15:37:51 GMT'] + etag: [W/"datetime'2019-04-06T15%3A37%3A51.1930141Z'"] + expires: ['-1'] + pragma: [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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b4b382f-7f2d-464a-b555-2f7a716bfe5a?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/6b4b382f-7f2d-464a-b555-2f7a716bfe5a","name":"6b4b382f-7f2d-464a-b555-2f7a716bfe5a","status":"Succeeded","startTime":"2019-04-06T15:37:50.9908663Z","endTime":"2019-04-06T15:37:51.4439923Z","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: ['Sat, 06 Apr 2019 15:38: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.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.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=2017-08-15 + 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-04-06T15%3A37%3A51.548262Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + headers: + access-control-expose-headers: [Request-Context] + cache-control: [no-cache] + content-length: ['452'] + content-type: [application/json; charset=utf-8] + date: ['Sat, 06 Apr 2019 15:38:23 GMT'] + etag: [W/"datetime'2019-04-06T15%3A37%3A51.548262Z'"] + expires: ['-1'] + pragma: [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": "westus2", "tags": {"Tag1": "Value1"}}' + headers: + Accept: [application/json] + Accept-Encoding: ['gzip, deflate'] + CommandName: [netappfiles account set] + Connection: [keep-alive] + Content-Length: ['51'] + Content-Type: [application/json; charset=utf-8] + ParameterSetName: [--resource-group -a -l --tags] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.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=2017-08-15 + 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-04-06T15%3A38%3A27.3232285Z''\"","location":"westus2","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: ['Sat, 06 Apr 2019 15:38:34 GMT'] + etag: [W/"datetime'2019-04-06T15%3A38%3A27.3232285Z'"] + expires: ['-1'] + pragma: [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: ['1196'] + 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.3 msrest_azure/0.4.34 + resourcemanagementclient/2.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + accept-language: [en-US] + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg_000001?api-version=2018-05-01 + response: + body: {string: !!python/unicode ''} + headers: + cache-control: [no-cache] + content-length: ['0'] + date: ['Sat, 06 Apr 2019 15:38:46 GMT'] + expires: ['-1'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGRFkyVkI0RFg0TFdSSklLMkxXRDM2SldSWVVQTnw5NkQzRjM5NUYyQ0E4OTMyLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + pragma: [no-cache] + strict-transport-security: [max-age=31536000; includeSubDomains] + x-content-type-options: [nosniff] + x-ms-ratelimit-remaining-subscription-deletes: ['14996'] + status: {code: 202, message: Accepted} +version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_account_ext.yaml similarity index 58% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_account_ext.yaml index 2b5f2f17051..95a33cf1c1d 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_account_ext.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_account_ext.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T08:41:36Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T15:36:43Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -14,50 +14,52 @@ interactions: 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 + 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_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T08:41:36Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + 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-04-06T15:36:43Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:41:40 GMT'] + date: ['Sat, 06 Apr 2019 15:36:46 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1195'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2"}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A41%3A44.6205052Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} + 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-04-06T15%3A36%3A50.8479019Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e782c69c-97d7-4ec2-8ecb-a57e16cf01e6?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1e72dbf-534b-4597-911f-34806f6625fc?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 08:41:44 GMT'] - etag: [W/"datetime'2019-02-28T08%3A41%3A44.6205052Z'"] + date: ['Sat, 06 Apr 2019 15:36:51 GMT'] + etag: [W/"datetime'2019-04-06T15%3A36%3A50.8479019Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e782c69c-97d7-4ec2-8ecb-a57e16cf01e6?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1e72dbf-534b-4597-911f-34806f6625fc?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/e782c69c-97d7-4ec2-8ecb-a57e16cf01e6","name":"e782c69c-97d7-4ec2-8ecb-a57e16cf01e6","status":"Succeeded","startTime":"2019-02-28T08:41:44.5497543Z","endTime":"2019-02-28T08:41:44.862287Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/a1e72dbf-534b-4597-911f-34806f6625fc","name":"a1e72dbf-534b-4597-911f-34806f6625fc","status":"Succeeded","startTime":"2019-04-06T15:36:50.6847971Z","endTime":"2019-04-06T15:36:51.153554Z","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: ['Thu, 28 Feb 2019 08:42:15 GMT'] + date: ['Sat, 06 Apr 2019 15:37: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A41%3A44.9077094Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A36%3A51.3482506Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:42:16 GMT'] - etag: [W/"datetime'2019-02-28T08%3A41%3A44.9077094Z'"] + date: ['Sat, 06 Apr 2019 15:37:23 GMT'] + etag: [W/"datetime'2019-04-06T15%3A36%3A51.3482506Z'"] expires: ['-1'] pragma: [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] @@ -122,24 +128,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account update] + CommandName: [netappfiles account update] Connection: [keep-alive] - ParameterSetName: [--resource-group -a --tags] + ParameterSetName: [--resource-group -a --tags -l] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A41%3A44.9077094Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A36%3A51.3482506Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:42:19 GMT'] - etag: [W/"datetime'2019-02-28T08%3A41%3A44.9077094Z'"] + date: ['Sat, 06 Apr 2019 15:37:25 GMT'] + etag: [W/"datetime'2019-04-06T15%3A36%3A51.3482506Z'"] expires: ['-1'] pragma: [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] @@ -148,36 +156,38 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"tags": {"Tag1": "Value1"}}' + body: !!python/unicode '{"location": "westus2", "tags": {"Tag1": "Value1"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account update] + CommandName: [netappfiles account update] Connection: [keep-alive] - Content-Length: ['28'] + Content-Length: ['51'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [--resource-group -a --tags] + ParameterSetName: [--resource-group -a --tags -l] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg_000001/providers/Microsoft.NetApp/netAppAccounts/cli000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli000002","name":"cli000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T08%3A42%3A21.1152954Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","name":"cli000002"}}'} + 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-04-06T15%3A37%3A28.8474204Z''\"","location":"westus2","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: ['Thu, 28 Feb 2019 08:42:22 GMT'] - etag: [W/"datetime'2019-02-28T08%3A42%3A21.1152954Z'"] + date: ['Sat, 06 Apr 2019 15:37:29 GMT'] + etag: [W/"datetime'2019-04-06T15%3A37%3A28.8474204Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -193,15 +203,15 @@ interactions: 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 + 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: ['Thu, 28 Feb 2019 08:42:26 GMT'] + date: ['Sat, 06 Apr 2019 15:37:32 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRTJCTTZXSkhWNFFFQTJFUzQ2NFRLTlpTNzdQT0ZRWHw2Q0REMzIzMjhEMTNDNTVFLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHOjVGWktIWVdDQkJYRUxUVVEyVVZKRzYzVEVJNjdVWnxDMDhBREVEMTIyQzIwRjRGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_pool.yaml similarity index 72% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_pool.yaml index 1346fa47b4f..0691dde68b7 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_pool.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_pool.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-28T10:01:07Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-06T16:10:27Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,12 +16,12 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-28T10:01:07Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-06T16:10:27Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 10:01:24 GMT'] + date: ['Sat, 06 Apr 2019 16:10:31 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] @@ -33,31 +33,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T10%3A01%3A19.6665526Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A10%3A35.1741524Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ab0873ff-ab7f-43fe-9401-13ebf0846bf1?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7b1eea85-9e51-4118-aa05-db72dc29ba63?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 10:01:23 GMT'] - etag: [W/"datetime'2019-02-28T10%3A01%3A19.6665526Z'"] + date: ['Sat, 06 Apr 2019 16:10:34 GMT'] + etag: [W/"datetime'2019-04-06T16%3A10%3A35.1741524Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -65,22 +67,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ab0873ff-ab7f-43fe-9401-13ebf0846bf1?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7b1eea85-9e51-4118-aa05-db72dc29ba63?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ab0873ff-ab7f-43fe-9401-13ebf0846bf1","name":"ab0873ff-ab7f-43fe-9401-13ebf0846bf1","status":"Succeeded","startTime":"2019-02-28T10:01:19.6157575Z","endTime":"2019-02-28T10:01:19.9062319Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/7b1eea85-9e51-4118-aa05-db72dc29ba63","name":"7b1eea85-9e51-4118-aa05-db72dc29ba63","status":"Succeeded","startTime":"2019-04-06T16:10:35.1113493Z","endTime":"2019-04-06T16:10:35.4082181Z","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: ['Thu, 28 Feb 2019 10:02:08 GMT'] + date: ['Sat, 06 Apr 2019 16:11: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] @@ -93,23 +97,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-28T10%3A01%3A19.9517574Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-06T16%3A10%3A35.452347Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] - content-length: ['453'] + content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 10:01:59 GMT'] - etag: [W/"datetime'2019-02-28T10%3A01%3A19.9517574Z'"] + date: ['Sat, 06 Apr 2019 16:11:07 GMT'] + etag: [W/"datetime'2019-04-06T16%3A10%3A35.452347Z'"] expires: ['-1'] pragma: [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] @@ -123,31 +129,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A01.9910073Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-06T16%3A11%3A23.4178203Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/485a2f74-5b61-46ae-9462-83bd82d3d84e?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2e819df0-ea07-4262-ade0-5ca6fa454a69?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 10:02:00 GMT'] - etag: [W/"datetime'2019-02-28T10%3A02%3A01.9910073Z'"] + date: ['Sat, 06 Apr 2019 16:11:23 GMT'] + etag: [W/"datetime'2019-04-06T16%3A11%3A23.4178203Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1199'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -155,22 +163,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/485a2f74-5b61-46ae-9462-83bd82d3d84e?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2e819df0-ea07-4262-ade0-5ca6fa454a69?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/485a2f74-5b61-46ae-9462-83bd82d3d84e","name":"485a2f74-5b61-46ae-9462-83bd82d3d84e","status":"Succeeded","startTime":"2019-02-28T10:02:01.9235313Z","endTime":"2019-02-28T10:02:02.3419383Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/2e819df0-ea07-4262-ade0-5ca6fa454a69","name":"2e819df0-ea07-4262-ade0-5ca6fa454a69","status":"Succeeded","startTime":"2019-04-06T16:11:23.3147867Z","endTime":"2019-04-06T16:11:23.79913Z","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-length: ['613'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 10:02:34 GMT'] + date: ['Sat, 06 Apr 2019 16:11:55 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] @@ -183,23 +193,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A02.3942999Z''\"","location":"westus2","properties":{"poolId":"ee926ac0-d1ed-f662-391c-9199a24513b5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A11%3A23.8451185Z''\"","location":"westus2","properties":{"poolId":"3874f751-957c-8979-1fd6-e496145f9457","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: ['Thu, 28 Feb 2019 10:02:36 GMT'] - etag: [W/"datetime'2019-02-28T10%3A02%3A02.3942999Z'"] + date: ['Sat, 06 Apr 2019 16:11:58 GMT'] + etag: [W/"datetime'2019-04-06T16%3A11%3A23.8451185Z'"] expires: ['-1'] pragma: [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] @@ -212,24 +224,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool update] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A02.3942999Z''\"","location":"westus2","properties":{"poolId":"ee926ac0-d1ed-f662-391c-9199a24513b5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A11%3A23.8451185Z''\"","location":"westus2","properties":{"poolId":"3874f751-957c-8979-1fd6-e496145f9457","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: ['Thu, 28 Feb 2019 10:02:38 GMT'] - etag: [W/"datetime'2019-02-28T10%3A02%3A02.3942999Z'"] + date: ['Sat, 06 Apr 2019 16:12:00 GMT'] + etag: [W/"datetime'2019-04-06T16%3A11%3A23.8451185Z'"] expires: ['-1'] pragma: [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] @@ -243,32 +257,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool update] + CommandName: [netappfiles pool update] Connection: [keep-alive] Content-Length: ['118'] 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] - method: PUT + 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=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-28T10%3A02%3A42.6562713Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"poolId":"ee926ac0-d1ed-f662-391c-9199a24513b5","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Standard","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-06T16%3A12%3A03.637888Z''\"","location":"westus2","tags":{"Tag1":"Value1"},"properties":{"provisioningState":"Succeeded","poolId":"3874f751-957c-8979-1fd6-e496145f9457","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-length: ['675'] content-type: [application/json; charset=utf-8] - date: ['Thu, 28 Feb 2019 10:02:43 GMT'] - etag: [W/"datetime'2019-02-28T10%3A02%3A42.6562713Z'"] + date: ['Sat, 06 Apr 2019 16:12:04 GMT'] + etag: [W/"datetime'2019-04-06T16%3A12%3A03.637888Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: @@ -290,12 +306,12 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Thu, 28 Feb 2019 10:02:48 GMT'] + date: ['Sat, 06 Apr 2019 16:12:07 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHVDNMTjVFTU5JTkpaUE9TT0RRM1hWQ0hQQk5XSTdRVnw3MkI4RDczQkZGMkY5RjVGLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUVVOUUQyTk5JRjZNQ01MTzVHMjdDNERERTRSTVBJVXxCNUJCRDE4RTkxMzFGNjQwLVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-deletes: ['14999'] + x-ms-ratelimit-remaining-subscription-deletes: ['14997'] status: {code: 202, message: Accepted} version: 1 diff --git a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_volume.yaml similarity index 64% rename from src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_volume.yaml index 11a082bb994..be409298fba 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/recordings/test_ext_update_volume.yaml +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/recordings/test_ext_update_volume.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-02-25T18:25:03Z", + body: !!python/unicode '{"location": "westus", "tags": {"date": "2019-04-08T10:30:51Z", "product": "azurecli", "cause": "automation"}}' headers: Accept: [application/json] @@ -16,17 +16,17 @@ interactions: method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/cli_tests_rg000001?api-version=2018-05-01 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-02-25T18:25:03Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001","name":"cli_tests_rg000001","location":"westus","tags":{"date":"2019-04-08T10:30:51Z","product":"azurecli","cause":"automation"},"properties":{"provisioningState":"Succeeded"}}'} headers: cache-control: [no-cache] content-length: ['384'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:10 GMT'] + date: ['Mon, 08 Apr 2019 10:30:57 GMT'] expires: ['-1'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1197'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: !!python/unicode '{"location": "westus2", "properties": {"dhcpOptions": @@ -38,7 +38,7 @@ interactions: Connection: [keep-alive] Content-Length: ['125'] Content-Type: [application/json; charset=utf-8] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] @@ -47,27 +47,27 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"a7a4b8ef-363d-44f7-8b00-cbdf2a0356cc\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"62277a2f-7ea9-4003-bf64-0fd6b69fea3e\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Updating\",\r\n \"resourceGuid\": \"ca763692-09bf-47eb-87d6-66ed71f3f1bf\"\ + \ \"Updating\",\r\n \"resourceGuid\": \"464b2592-e6e3-4394-87d8-b58f717a7c7a\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ : [],\r\n \"enableDdosProtection\": false,\r\n \"enableVmProtection\"\ : false\r\n }\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4f5be6ea-baba-4076-af31-68d6d2c380a2?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8fe69373-f5c8-4022-b03b-c0ef47aa2094?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['806'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:17 GMT'] + date: ['Mon, 08 Apr 2019 10:31:03 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1199'] + x-ms-ratelimit-remaining-subscription-writes: ['1198'] status: {code: 201, message: Created} - request: body: null @@ -76,18 +76,18 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/4f5be6ea-baba-4076-af31-68d6d2c380a2?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/8fe69373-f5c8-4022-b03b-c0ef47aa2094?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:20 GMT'] + date: ['Mon, 08 Apr 2019 10:31:08 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -103,7 +103,7 @@ interactions: Accept-Encoding: ['gzip, deflate'] CommandName: [network vnet create] Connection: [keep-alive] - ParameterSetName: [-n -g -l --address-prefix] + ParameterSetName: [-n --resource-group -l --address-prefix] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET @@ -111,10 +111,10 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-vnet-000005\",\r\n \"\ id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005\"\ - ,\r\n \"etag\": \"W/\\\"f19d3916-b9eb-40d0-87fc-12e1ad7ad5bd\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"42850212-f136-4853-98e7-deb7f9f31414\\\"\",\r\n \ \ \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westus2\"\ ,\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\":\ - \ \"Succeeded\",\r\n \"resourceGuid\": \"ca763692-09bf-47eb-87d6-66ed71f3f1bf\"\ + \ \"Succeeded\",\r\n \"resourceGuid\": \"464b2592-e6e3-4394-87d8-b58f717a7c7a\"\ ,\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"\ 10.12.0.0/16\"\r\n ]\r\n },\r\n \"dhcpOptions\": {\r\n \"\ dnsServers\": []\r\n },\r\n \"subnets\": [],\r\n \"virtualNetworkPeerings\"\ @@ -124,8 +124,8 @@ interactions: cache-control: [no-cache] content-length: ['807'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:21 GMT'] - etag: [W/"f19d3916-b9eb-40d0-87fc-12e1ad7ad5bd"] + date: ['Mon, 08 Apr 2019 10:31:09 GMT'] + etag: [W/"42850212-f136-4853-98e7-deb7f9f31414"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -154,11 +154,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"7e7b3c88-6bcb-472f-a1ef-bb8c56d22839\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"560e217e-56e6-4721-a501-77bf5e6e9bf5\\\"\",\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/\\\"7e7b3c88-6bcb-472f-a1ef-bb8c56d22839\\\"\"\ + ,\r\n \"etag\": \"W/\\\"560e217e-56e6-4721-a501-77bf5e6e9bf5\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -167,17 +167,17 @@ interactions: \r\n }\r\n ],\r\n \"purpose\": \"HostedWorkloads\"\r\n },\r\n\ \ \"type\": \"Microsoft.Network/virtualNetworks/subnets\"\r\n}"} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/559638a7-daf5-451b-961d-4e1d1d3ea546?api-version=2018-10-01'] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1d9fbb9b-9260-4907-850d-e180282a6af4?api-version=2018-10-01'] cache-control: [no-cache] content-length: ['1302'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:23 GMT'] + date: ['Mon, 08 Apr 2019 10:31:11 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] - x-ms-ratelimit-remaining-subscription-writes: ['1198'] + x-ms-ratelimit-remaining-subscription-writes: ['1199'] status: {code: 201, message: Created} - request: body: null @@ -190,14 +190,14 @@ interactions: User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 networkmanagementclient/2.4.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/559638a7-daf5-451b-961d-4e1d1d3ea546?api-version=2018-10-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operations/1d9fbb9b-9260-4907-850d-e180282a6af4?api-version=2018-10-01 response: body: {string: !!python/unicode "{\r\n \"status\": \"Succeeded\"\r\n}"} headers: cache-control: [no-cache] content-length: ['29'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:27 GMT'] + date: ['Mon, 08 Apr 2019 10:31:17 GMT'] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -221,11 +221,11 @@ interactions: response: body: {string: !!python/unicode "{\r\n \"name\": \"cli-subnet-000006\",\r\n \ \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006\"\ - ,\r\n \"etag\": \"W/\\\"1f560c67-c188-4dc8-8c4c-c4f806452ae9\\\"\",\r\n \ + ,\r\n \"etag\": \"W/\\\"9b11df3a-6b69-49b8-8d64-31fe26df92d1\\\"\",\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/\\\"1f560c67-c188-4dc8-8c4c-c4f806452ae9\\\"\"\ + ,\r\n \"etag\": \"W/\\\"9b11df3a-6b69-49b8-8d64-31fe26df92d1\\\"\"\ ,\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\ ,\r\n \"serviceName\": \"Microsoft.Netapp/volumes\",\r\n \ \ \"actions\": [\r\n \"Microsoft.Network/networkinterfaces/*\"\ @@ -237,8 +237,8 @@ interactions: cache-control: [no-cache] content-length: ['1303'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:27 GMT'] - etag: [W/"1f560c67-c188-4dc8-8c4c-c4f806452ae9"] + date: ['Mon, 08 Apr 2019 10:31:18 GMT'] + etag: [W/"9b11df3a-6b69-49b8-8d64-31fe26df92d1"] expires: ['-1'] pragma: [no-cache] server: [Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0] @@ -252,27 +252,29 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A25%3A32.7216917Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T10%3A31%3A24.4096919Z''\"","location":"westus2","properties":{"provisioningState":"Creating","name":"cli-acc-000002"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b1686f9d-0f20-4711-8d0e-b0d92e4466ed?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/652c0523-0b5a-4336-be0d-cb7a34202919?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['452'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:25:33 GMT'] - etag: [W/"datetime'2019-02-25T18%3A25%3A32.7216917Z'"] + date: ['Mon, 08 Apr 2019 10:31:25 GMT'] + etag: [W/"datetime'2019-04-08T10%3A31%3A24.4096919Z'"] expires: ['-1'] pragma: [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] @@ -284,22 +286,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b1686f9d-0f20-4711-8d0e-b0d92e4466ed?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/652c0523-0b5a-4336-be0d-cb7a34202919?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/b1686f9d-0f20-4711-8d0e-b0d92e4466ed","name":"b1686f9d-0f20-4711-8d0e-b0d92e4466ed","status":"Succeeded","startTime":"2019-02-25T18:25:32.674312Z","endTime":"2019-02-25T18:25:32.955572Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/652c0523-0b5a-4336-be0d-cb7a34202919","name":"652c0523-0b5a-4336-be0d-cb7a34202919","status":"Succeeded","startTime":"2019-04-08T10:31:24.292111Z","endTime":"2019-04-08T10:31:24.6984193Z","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: ['574'] + content-length: ['575'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:26:03 GMT'] + date: ['Mon, 08 Apr 2019 10:31: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] @@ -312,23 +316,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf account create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-02-25T18%3A25%3A33.0018925Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","name":"cli-acc-000002"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002","name":"cli-acc-000002","type":"Microsoft.NetApp/netAppAccounts","etag":"W/\"datetime''2019-04-08T10%3A31%3A24.7949636Z''\"","location":"westus2","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: ['Mon, 25 Feb 2019 18:26:05 GMT'] - etag: [W/"datetime'2019-02-25T18%3A25%3A33.0018925Z'"] + date: ['Mon, 08 Apr 2019 10:31:58 GMT'] + etag: [W/"datetime'2019-04-08T10%3A31%3A24.7949636Z'"] expires: ['-1'] pragma: [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] @@ -342,31 +348,33 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A26%3A09.9603316Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-04-08T10%3A32%3A04.0098227Z''\"","location":"westus2","properties":{"serviceLevel":"Premium","size":4398046511104,"provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f703a61e-6f53-4783-a071-64ee585054f7?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff796c2b-e795-40b1-a065-b0392b298ddc?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['542'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:26:10 GMT'] - etag: [W/"datetime'2019-02-25T18%3A26%3A09.9603316Z'"] + date: ['Mon, 08 Apr 2019 10:32:03 GMT'] + etag: [W/"datetime'2019-04-08T10%3A32%3A04.0098227Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1197'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -374,22 +382,24 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f703a61e-6f53-4783-a071-64ee585054f7?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff796c2b-e795-40b1-a065-b0392b298ddc?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/f703a61e-6f53-4783-a071-64ee585054f7","name":"f703a61e-6f53-4783-a071-64ee585054f7","status":"Succeeded","startTime":"2019-02-25T18:26:09.8699506Z","endTime":"2019-02-25T18:26:10.9012508Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/ff796c2b-e795-40b1-a065-b0392b298ddc","name":"ff796c2b-e795-40b1-a065-b0392b298ddc","status":"Succeeded","startTime":"2019-04-08T10:32:03.895954Z","endTime":"2019-04-08T10:32:10.3101559Z","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-length: ['614'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:26:41 GMT'] + date: ['Mon, 08 Apr 2019 10:32: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] @@ -402,23 +412,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf pool create] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003","name":"cli-acc-000002/cli-pool-000003","type":"Microsoft.NetApp/netAppAccounts/capacityPools","etag":"W/\"datetime''2019-02-25T18%3A26%3A10.9540407Z''\"","location":"westus2","properties":{"poolId":"642e8cc3-85cd-b89d-88cd-1c6526c8b37c","name":"cli-acc-000002/cli-pool-000003","serviceLevel":"Premium","size":4398046511104,"provisioningState":"Succeeded"}}'} + 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-04-08T10%3A32%3A10.4503701Z''\"","location":"westus2","properties":{"poolId":"aee769e4-6427-9b5a-77a1-e0318cbe7540","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: ['Mon, 25 Feb 2019 18:26:43 GMT'] - etag: [W/"datetime'2019-02-25T18%3A26%3A10.9540407Z'"] + date: ['Mon, 08 Apr 2019 10:32:38 GMT'] + etag: [W/"datetime'2019-04-08T10%3A32%3A10.4503701Z'"] expires: ['-1'] pragma: [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] @@ -433,32 +445,34 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + 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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A26%3A47.8834615Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} + 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-04-08T10%3A32%3A44.7085264Z''\"","location":"westus2","properties":{"usageThreshold":107374182400,"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","serviceLevel":"Premium","creationToken":"cli-vol-000004","provisioningState":"Creating"}}'} headers: - azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f?api-version=2017-08-15'] + access-control-expose-headers: [Request-Context] + azure-asyncoperation: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15'] cache-control: [no-cache] content-length: ['910'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:26:47 GMT'] - etag: [W/"datetime'2019-02-25T18%3A26%3A47.8834615Z'"] + date: ['Mon, 08 Apr 2019 10:32:45 GMT'] + etag: [W/"datetime'2019-04-08T10%3A32%3A44.7085264Z'"] expires: ['-1'] pragma: [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-ms-ratelimit-remaining-subscription-writes: ['1198'] x-powered-by: [ASP.NET] status: {code: 201, message: Created} - request: @@ -466,23 +480,149 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d","name":"327afe2c-13f9-4cbe-8e1d-5af234156d5d","status":"Creating","startTime":"2019-04-08T10:32:44.5917244Z","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: ['Mon, 08 Apr 2019 10:33: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d","name":"327afe2c-13f9-4cbe-8e1d-5af234156d5d","status":"Creating","startTime":"2019-04-08T10:32:44.5917244Z","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: ['Mon, 08 Apr 2019 10:33: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 create] + Connection: [keep-alive] + ParameterSetName: [--resource-group --account-name --pool-name --volume-name + -l --service-level --usage-threshold --creation-token --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d","name":"327afe2c-13f9-4cbe-8e1d-5af234156d5d","status":"Creating","startTime":"2019-04-08T10:32:44.5917244Z","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: ['Mon, 08 Apr 2019 10:34: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 --subnet-id] + User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15 + response: + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d","name":"327afe2c-13f9-4cbe-8e1d-5af234156d5d","status":"Creating","startTime":"2019-04-08T10:32:44.5917244Z","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: ['Mon, 08 Apr 2019 10:34:55 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 --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f","name":"d32f637c-6ee3-4af2-86e5-b8470d43107f","status":"Creating","startTime":"2019-02-25T18:26:47.8412012Z","endTime":"0001-01-01T00:00:00Z","percentComplete":0.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d","name":"327afe2c-13f9-4cbe-8e1d-5af234156d5d","status":"Creating","startTime":"2019-04-08T10:32:44.5917244Z","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: ['Mon, 25 Feb 2019 18:27:19 GMT'] + date: ['Mon, 08 Apr 2019 10:35: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] @@ -495,23 +635,25 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f?api-version=2017-08-15 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/d32f637c-6ee3-4af2-86e5-b8470d43107f","name":"d32f637c-6ee3-4af2-86e5-b8470d43107f","status":"Succeeded","startTime":"2019-02-25T18:26:47.8412012Z","endTime":"2019-02-25T18:27:21.7399636Z","percentComplete":100.0,"properties":{"resourceName":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004"}}'} + body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.NetApp/locations/westus2/operationResults/327afe2c-13f9-4cbe-8e1d-5af234156d5d","name":"327afe2c-13f9-4cbe-8e1d-5af234156d5d","status":"Succeeded","startTime":"2019-04-08T10:32:44.5917244Z","endTime":"2019-04-08T10:35:29.7207118Z","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: ['Mon, 25 Feb 2019 18:27:51 GMT'] + date: ['Mon, 08 Apr 2019 10:35: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] @@ -524,24 +666,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume create] + CommandName: [netappfiles volume create] Connection: [keep-alive] ParameterSetName: [--resource-group --account-name --pool-name --volume-name -l --service-level --usage-threshold --creation-token --subnet-id] User-Agent: [python/2.7.10 (Darwin-16.7.0-x86_64-i386-64bit) msrest/0.6.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A27%3A21.7636974Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_b46b1992","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e84058f4-c5a5-5369-69e7-7d1a06066469","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T10%3A35%3A29.7504592Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"044e280e-57db-5ee3-d866-4c38f57f4a90","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_414e8e88","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":"2cd3b871-2020-18f4-e543-e96372e55050","fileSystemId":"044e280e-57db-5ee3-d866-4c38f57f4a90","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:27:53 GMT'] - etag: [W/"datetime'2019-02-25T18%3A27%3A21.7636974Z'"] + date: ['Mon, 08 Apr 2019 10:36:00 GMT'] + etag: [W/"datetime'2019-04-08T10%3A35%3A29.7504592Z'"] expires: ['-1'] pragma: [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] @@ -554,24 +698,26 @@ interactions: headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume update] + 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A27%3A21.7636974Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_b46b1992","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e84058f4-c5a5-5369-69e7-7d1a06066469","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T10%3A35%3A29.7504592Z''\"","location":"westus2","properties":{"provisioningState":"Succeeded","fileSystemId":"044e280e-57db-5ee3-d866-4c38f57f4a90","serviceLevel":"Premium","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","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_955fe00183474412a263ec0f52d2aeeb_414e8e88","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":"2cd3b871-2020-18f4-e543-e96372e55050","fileSystemId":"044e280e-57db-5ee3-d866-4c38f57f4a90","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['1601'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:27:54 GMT'] - etag: [W/"datetime'2019-02-25T18%3A27%3A21.7636974Z'"] + date: ['Mon, 08 Apr 2019 10:36:01 GMT'] + etag: [W/"datetime'2019-04-08T10%3A35%3A29.7504592Z'"] expires: ['-1'] pragma: [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] @@ -580,31 +726,35 @@ interactions: x-powered-by: [ASP.NET] status: {code: 200, message: OK} - request: - body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "serviceLevel": + body: !!python/unicode '{"properties": {"usageThreshold": 107374182400, "exportPolicy": + {"rules": [{"unixReadOnly": false, "allowedClients": "0.0.0.0/0", "cifs": false, + "nfsv4": false, "unixReadWrite": true, "ruleIndex": 1, "nfsv3": true}]}, "serviceLevel": "Standard"}, "tags": {"Tag1": "Value2"}}' headers: Accept: [application/json] Accept-Encoding: ['gzip, deflate'] - CommandName: [anf volume update] + CommandName: [netappfiles volume update] Connection: [keep-alive] - Content-Length: ['104'] + Content-Length: ['274'] 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.3 msrest_azure/0.4.34 - azure-mgmt-netapp/0.1.0 Azure-SDK-For-Python AZURECLI/2.0.56] + azure-mgmt-netapp/0.3.0 Azure-SDK-For-Python AZURECLI/2.0.56] accept-language: [en-US] method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004?api-version=2017-08-15 response: - body: {string: !!python/unicode '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.NetApp/netAppAccounts/cli-acc-000002/capacityPools/cli-pool-000003/volumes/cli-vol-000004","name":"cli-acc-000002/cli-pool-000003/cli-vol-000004","type":"Microsoft.NetApp/netAppAccounts/capacityPools/volumes","etag":"W/\"datetime''2019-02-25T18%3A28%3A01.7763218Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"38ab86f1-9d30-413b-8fc0-d31ad85fa6a1","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"ruleIndex":1,"unixReadOnly":false,"unixReadWrite":true,"cifs":false,"nfsv3":true,"nfsv4":false,"allowedClients":"0.0.0.0/0"}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_38ab86f19d30413b8fc0d31ad85fa6a1_b46b1992","subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cli_tests_rg000001/providers/Microsoft.Network/virtualNetworks/cli-vnet-000005/subnets/cli-subnet-000006","mountTargets":[{"provisioningState":"Succeeded","mountTargetId":"e84058f4-c5a5-5369-69e7-7d1a06066469","fileSystemId":"ed6acbb7-9b03-bf6a-4e9e-fde900b6c6ce","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} + 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-04-08T10%3A36%3A10.1489453Z''\"","location":"westus2","tags":{"Tag1":"Value2"},"properties":{"provisioningState":"Succeeded","fileSystemId":"044e280e-57db-5ee3-d866-4c38f57f4a90","serviceLevel":"Standard","creationToken":"cli-vol-000004","ownerId":"955fe001-8347-4412-a263-ec0f52d2aeeb","usageThreshold":107374182400,"usedBytes":0,"snapshotPolicy":{"enabled":false},"exportPolicy":{"rules":[{"unixReadOnly":false,"allowedClients":"0.0.0.0/0","cifs":false,"nfsv4":false,"unixReadWrite":true,"ruleIndex":1,"nfsv3":true}]},"protocolTypes":["NFSv3"],"baremetalTenantId":"baremetalTenant_svm_955fe00183474412a263ec0f52d2aeeb_414e8e88","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":"2cd3b871-2020-18f4-e543-e96372e55050","fileSystemId":"044e280e-57db-5ee3-d866-4c38f57f4a90","startIp":"10.12.0.4","endIp":"10.12.0.4","gateway":"10.12.0.1","netmask":"255.255.255.0","ipAddress":"10.12.0.4"}]}}'} headers: + access-control-expose-headers: [Request-Context] cache-control: [no-cache] content-length: ['1627'] content-type: [application/json; charset=utf-8] - date: ['Mon, 25 Feb 2019 18:28:02 GMT'] - etag: [W/"datetime'2019-02-25T18%3A28%3A01.7763218Z'"] + date: ['Mon, 08 Apr 2019 10:36:10 GMT'] + etag: [W/"datetime'2019-04-08T10%3A36%3A10.1489453Z'"] expires: ['-1'] pragma: [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] @@ -632,9 +782,9 @@ interactions: headers: cache-control: [no-cache] content-length: ['0'] - date: ['Mon, 25 Feb 2019 18:28:06 GMT'] + date: ['Mon, 08 Apr 2019 10:36:15 GMT'] expires: ['-1'] - location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHRkVJNDdYT01GQVBYWjVWS0pFNTdKUzRURzY2R05HTXw5RTFDQjI4REZCMjJFRDU5LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] + location: ['https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/operationresults/eyJqb2JJZCI6IlJFU09VUkNFR1JPVVBERUxFVElPTkpPQi1DTEk6NUZURVNUUzo1RlJHUjc3NzI1WVVBNzNaR0pDNFVFRVVXVDI0UUdBRUlSWXxEQkNFREExQTU4RjYxMkM4LVdFU1RVUyIsImpvYkxvY2F0aW9uIjoid2VzdHVzIn0?api-version=2018-05-01'] pragma: [no-cache] strict-transport-security: [max-age=31536000; includeSubDomains] x-content-type-options: [nosniff] diff --git a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py new file mode 100644 index 00000000000..85e91c9bac9 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py @@ -0,0 +1,94 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer + +# No tidy up of tests required. The resource group is automatically removed + +class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_ext_create_delete_account(self): + account_name = self.create_random_name(prefix='cli', length=24) + tags = 'Tag1=Value1 Tag2=Value2' + active_directories = '[{"username": "aduser", "password": "aduser", "smbservername": "SMBSERVER", "dns": "1.2.3.4", "domain": "westcentralus"}]' + + # create and check + #account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s' --active-directories %s" % (account_name, tags, active_directories)).get_output_in_json() + account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s'" % (account_name, tags)).get_output_in_json() + assert account['name'] == account_name + assert account['tags']['Tag1'] == 'Value1' + assert account['tags']['Tag2'] == 'Value2' + # not provided in call - interpreted as kwargs. Tested at command line instead. + #assert account['active_directories'][0]['username'] == 'aduser' + #assert account['active_directories'][0]['smbservername'] == 'SMBSERVER' + + 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 westus2 --tags '%s'" % (account_name, tags)).get_output_in_json() + assert account['name'] == account_name + # note: key case must match + assert account['activeDirectories'] == 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_ext_list_accounts_ext(self): + accounts = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] + + for account_name in accounts: + self.cmd("az netappfiles account create -g {rg} -a %s -l 'westus2' --tags 'Tag1=Value1'" % account_name).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_ext_get_account_by_name_ext(self): + account_name = self.create_random_name(prefix='cli', length=24) + account = self.cmd("az netappfiles account create -g {rg} -a %s -l 'westus2'" % account_name).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_ext_set_account_ext(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 'westus2'" % account_name).get_output_in_json() + account = self.cmd("az netappfiles account set --resource-group {rg} -a %s -l 'westus2' --tags %s" % (account_name, tag)).get_output_in_json() + assert account['name'] == account_name + assert account['tags']['Tag1'] == 'Value1' + assert account['activeDirectories'] == None + + @ResourceGroupPreparer(name_prefix='cli_tests_rg_') + def test_ext_update_account_ext(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 'westus2'" % account_name).get_output_in_json() + account = self.cmd("az netappfiles account update --resource-group {rg} -a %s --tags %s -l westus2" % (account_name, tag)).get_output_in_json() + assert account['name'] == account_name + assert account['tags']['Tag1'] == 'Value1' + assert account['activeDirectories'] == None diff --git a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_mount_target_commands_ext.py similarity index 73% rename from src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_mount_target_commands_ext.py index ec3eb12a884..0d367c324e5 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_mount_target_commands_ext.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_mount_target_commands_ext.py @@ -27,9 +27,9 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): tag = "--tags '%s'" % tags if tags is not None else "" self.setup_vnet(rg, vnet_name) - self.cmd("az anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() - self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() - volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() + self.cmd("az netappfiles account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + self.cmd("az netappfiles pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("az netappfiles volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() return volume1 @@ -40,5 +40,5 @@ def test_ext_list_mount_targets(self): volume_name = self.create_random_name(prefix='cli-vol-', length=24) self.create_volume(account_name, pool_name, volume_name, '{rg}') - volume_list = self.cmd("anf mount-target list --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + volume_list = self.cmd("netappfiles mount-target list --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() assert len(volume_list) == 1 diff --git a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_pool_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_pool_commands_ext.py new file mode 100644 index 00000000000..f8ab0815f16 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_pool_commands_ext.py @@ -0,0 +1,86 @@ +# -------------------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# -------------------------------------------------------------------------------------------- + +from azure.cli.testsdk import ScenarioTest, ResourceGroupPreparer + +POOL_DEFAULT = "--service-level 'Premium' --size 4398046511104" + +# No tidy up of tests required. The resource group is automatically removed + + +class AzureNetAppFilesExtPoolServiceScenarioTest(ScenarioTest): + @ResourceGroupPreparer(name_prefix='cli_tests_rg') + def test_ext_create_delete_pool(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + tags = "Tag1=Value1 Tag2=Value2" + + self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2'" % account_name).get_output_in_json() + pool = self.cmd("az netappfiles pool create --resource-group {rg} --account-name %s --pool-name %s -l 'westus2' %s --tags '%s'" % (account_name, pool_name, POOL_DEFAULT, tags)).get_output_in_json() + assert pool['name'] == account_name + '/' + pool_name + assert pool['tags']['Tag1'] == 'Value1' + assert pool['tags']['Tag2'] == 'Value2' + + pool_list = self.cmd("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 'westus2' --service-level 'Premium' --size 4398046511104 --tags '%s'" % (account_name, pool_name, tags)).get_output_in_json() + assert pool['name'] == account_name + '/' + pool_name + assert pool['tags']['Tag1'] == 'Value1' + assert pool['tags']['Tag2'] == 'Value2' + + self.cmd("az 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_ext_list_pools(self): + account_name = self.create_random_name(prefix='cli', length=24) + pools = [self.create_random_name(prefix='cli', length=24), self.create_random_name(prefix='cli', length=24)] + self.cmd("az netappfiles account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() + + for pool_name in pools: + self.cmd("az netappfiles pool create -g {rg} -a '%s' -p '%s' -l 'westus2' %s --tags 'Tag1=Value1'" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() + + pool_list = self.cmd("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_ext_get_pool_by_name(self): + account_name = self.create_random_name(prefix='cli', length=24) + pool_name = self.create_random_name(prefix='cli', length=24) + self.cmd("az netappfiles account create -g {rg} -a '%s' -l 'westus2'" % account_name).get_output_in_json() + self.cmd("az netappfiles pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() + + pool = self.cmd("az 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_ext_update_pool(self): + account_name = self.create_random_name(prefix='cli-acc-', length=24) + pool_name = self.create_random_name(prefix='cli-pool-', length=24) + tag = "Tag1=Value1" + + self.cmd("az netappfiles account create -g {rg} -a %s -l 'westus2'" % account_name).get_output_in_json() + + pool = self.cmd("az netappfiles pool create -g {rg} -a %s -p %s -l 'westus2' %s" % (account_name, pool_name, POOL_DEFAULT)).get_output_in_json() + + assert pool['name'] == account_name + '/' + pool_name + pool = self.cmd("az 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/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_snapshot_commands_ext.py similarity index 58% rename from src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_snapshot_commands_ext.py index f056d8e0597..8ad206a08ef 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_snapshot_commands_ext.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_snapshot_commands_ext.py @@ -28,14 +28,14 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None): tag = "--tags '%s'" % tags if tags is not None else "" self.setup_vnet(rg, vnet_name, subnet_name) - self.cmd("anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() - self.cmd("anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() - volume1 = self.cmd("anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() + self.cmd("netappfiles account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + self.cmd("netappfiles pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("netappfiles volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() return volume1 @ResourceGroupPreparer() - def test_ext_create_snapshots(self): + def test_ext_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) @@ -43,12 +43,16 @@ def test_ext_create_snapshots(self): rg = '{rg}' volume = self.create_volume(account_name, pool_name, volume_name, rg) - snapshot = self.cmd("az anf snapshot create -g %s -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (rg, account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() + snapshot = self.cmd("az netappfiles snapshot create -g %s -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (rg, account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() assert snapshot['name'] == account_name + '/' + pool_name + '/' + volume_name + '/' + snapshot_name - snapshot_list = self.cmd("az anf snapshot list --resource-group %s --account-name %s --pool-name %s --volume-name %s" % (rg, account_name, pool_name, volume_name)).get_output_in_json() + 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_ext_list_snapshots(self): account_name = self.create_random_name(prefix='cli-acc-', length=24) @@ -57,10 +61,10 @@ def test_ext_list_snapshots(self): 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 anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() - self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() + self.cmd("az netappfiles snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name1, volume['fileSystemId'])).get_output_in_json() + self.cmd("az netappfiles snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name2, volume['fileSystemId'])).get_output_in_json() - snapshot_list = self.cmd("az anf snapshot list -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + snapshot_list = self.cmd("az 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() @@ -70,10 +74,10 @@ def test_ext_get_snapshot(self): volume_name = self.create_random_name(prefix='cli-vol-', length=24) snapshot_name = self.create_random_name(prefix='cli-sn-', length=24) volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') - snapshot = self.cmd("az anf snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() + snapshot = self.cmd("az netappfiles snapshot create -g {rg} -a %s -p %s -v %s -s %s -l 'westus2' --file-system-id %s" % (account_name, pool_name, volume_name, snapshot_name, volume['fileSystemId'])).get_output_in_json() - snapshot = self.cmd("az anf snapshot show -g {rg} -a %s -p %s -v %s -s %s" % (account_name, pool_name, volume_name, snapshot_name)).get_output_in_json() + snapshot = self.cmd("az 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 anf snapshot show --ids %s" % snapshot['id']).get_output_in_json() + 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/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py similarity index 65% rename from src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py rename to src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py index f51b95e139d..8bde1c39860 100644 --- a/src/anf-preview/azext_anf_preview/tests/latest/test_volume_commands_ext.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py @@ -28,9 +28,9 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, vo 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 anf account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() - self.cmd("az anf pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() - volume1 = self.cmd("az anf volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() + self.cmd("az netappfiles account create -g %s -a '%s' -l 'westus2'" % (rg, account_name)).get_output_in_json() + self.cmd("az netappfiles pool create -g %s -a %s -p %s -l 'westus2' %s %s" % (rg, account_name, pool_name, POOL_DEFAULT, tag)).get_output_in_json() + volume1 = self.cmd("az netappfiles volume create --resource-group %s --account-name %s --pool-name %s --volume-name %s -l 'westus2' %s --creation-token %s --subnet-id %s %s" % (rg, account_name, pool_name, volume_name1, VOLUME_DEFAULT, creation_token, subnet_id, tag)).get_output_in_json() if volume_name2: vnet_name = self.create_random_name(prefix='cli-vnet-', length=24) @@ -38,7 +38,7 @@ def create_volume(self, account_name, pool_name, volume_name1, rg, tags=None, vo subnet_name = self.create_random_name(prefix='cli-subnet-', length=16) subnet_id = "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.Network/virtualNetworks/%s/subnets/%s" % (self.current_subscription(), rg, vnet_name, subnet_name) self.setup_vnet(rg, vnet_name, subnet_name, '10.16.0.0') - self.cmd("az anf volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() + self.cmd("az netappfiles volume create -g %s -a %s -p %s -v %s -l 'westus2' %s --creation-token %s --subnet-id %s --tags '%s'" % (rg, account_name, pool_name, volume_name2, VOLUME_DEFAULT, creation_token, subnet_id, tags)).get_output_in_json() return volume1 @@ -53,12 +53,16 @@ def test_ext_create_delete_volumes(self): 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 volume['exportPolicy']['rules'][0]['cifs'] == False + assert volume['exportPolicy']['rules'][0]['ruleIndex'] == 1 - volume_list = self.cmd("anf volume list --resource-group {rg} --account-name %s --pool-name %s" % (account_name, pool_name)).get_output_in_json() + 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 anf volume delete --resource-group {rg} --account-name %s --pool-name %s --volume-name %s" % (account_name, pool_name, volume_name)) - volume_list = self.cmd("anf volume list --resource-group {rg} -a %s -p %s" % (account_name, pool_name)).get_output_in_json() + 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') @@ -69,11 +73,11 @@ def test_ext_list_volumes(self): tags = "Tag1=Value1" self.create_volume(account_name, pool_name, volume_name1, '{rg}', tags) - volume_list = self.cmd("anf volume list --resource-group {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + 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) == 1 - self.cmd("az anf volume delete -g {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name1)) - volume_list = self.cmd("anf volume list -g {rg} -a '%s' -p '%s'" % (account_name, pool_name)).get_output_in_json() + self.cmd("az 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) == 0 @ResourceGroupPreparer(name_prefix='cli_tests_rg') @@ -86,11 +90,11 @@ def test_ext_get_volume_by_name(self): volume = self.create_volume(account_name, pool_name, volume_name, '{rg}', tags) assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name - volume = self.cmd("az anf volume show --resource-group {rg} -a %s -p %s -v %s" % (account_name, pool_name, volume_name)).get_output_in_json() + 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 anf volume show --ids %s" % volume['id']).get_output_in_json() + 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') @@ -103,7 +107,11 @@ def test_ext_update_volume(self): volume = self.create_volume(account_name, pool_name, volume_name, '{rg}') assert volume['name'] == account_name + '/' + pool_name + '/' + volume_name - volume = self.cmd("az anf volume update --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() + 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 volume['exportPolicy']['rules'][0]['cifs'] == False + assert volume['exportPolicy']['rules'][0]['ruleIndex'] == 1 diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/__init__.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/__init__.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/__init__.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/azure_net_app_files_management_client.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/azure_net_app_files_management_client.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/azure_net_app_files_management_client.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/__init__.py similarity index 80% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/__init__.py index 169f7b0f0f3..68d7454c57b 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/__init__.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/__init__.py @@ -15,11 +15,15 @@ from .metric_specification_py3 import MetricSpecification from .service_specification_py3 import ServiceSpecification from .operation_py3 import Operation + from .active_directory_py3 import ActiveDirectory from .net_app_account_py3 import NetAppAccount from .net_app_account_patch_py3 import NetAppAccountPatch from .capacity_pool_py3 import CapacityPool from .capacity_pool_patch_py3 import CapacityPoolPatch + from .export_policy_rule_py3 import ExportPolicyRule + from .volume_properties_export_policy_py3 import VolumePropertiesExportPolicy from .volume_py3 import Volume + from .volume_patch_properties_export_policy_py3 import VolumePatchPropertiesExportPolicy from .volume_patch_py3 import VolumePatch from .mount_target_py3 import MountTarget from .snapshot_py3 import Snapshot @@ -31,11 +35,15 @@ from .metric_specification import MetricSpecification from .service_specification import ServiceSpecification from .operation import Operation + from .active_directory import ActiveDirectory from .net_app_account import NetAppAccount from .net_app_account_patch import NetAppAccountPatch from .capacity_pool import CapacityPool from .capacity_pool_patch import CapacityPoolPatch + from .export_policy_rule import ExportPolicyRule + from .volume_properties_export_policy import VolumePropertiesExportPolicy from .volume import Volume + from .volume_patch_properties_export_policy import VolumePatchPropertiesExportPolicy from .volume_patch import VolumePatch from .mount_target import MountTarget from .snapshot import Snapshot @@ -57,11 +65,15 @@ 'MetricSpecification', 'ServiceSpecification', 'Operation', + 'ActiveDirectory', 'NetAppAccount', 'NetAppAccountPatch', 'CapacityPool', 'CapacityPoolPatch', + 'ExportPolicyRule', + 'VolumePropertiesExportPolicy', 'Volume', + 'VolumePatchPropertiesExportPolicy', 'VolumePatch', 'MountTarget', 'Snapshot', diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory.py new file mode 100644 index 00000000000..42659ca6f11 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ActiveDirectory(Model): + """Active Directory. + + :param active_directory_id: Id of the Active Directory + :type active_directory_id: str + :param username: Username of Active Directory domain administrator + :type username: str + :param password: Plain text password of Active Directory domain + administrator + :type password: str + :param domain: Name of the Active Directory domain + :type domain: str + :param d_ns: Comma separated list of DNS server IP addresses for the + Active Directory domain + :type d_ns: str + :param status: Status of the Active Directory + :type status: str + :param s_mb_server_name: NetBIOS name of the SMB server. This name will be + registered as a computer account in the AD and used to mount volumes + :type s_mb_server_name: str + :param organizational_unit: The Organizational Unit (OU) within the + Windows Active Directory + :type organizational_unit: str + """ + + _attribute_map = { + 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'domain': {'key': 'domain', 'type': 'str'}, + 'd_ns': {'key': 'dNS', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 's_mb_server_name': {'key': 'sMBServerName', 'type': 'str'}, + 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ActiveDirectory, self).__init__(**kwargs) + self.active_directory_id = kwargs.get('active_directory_id', None) + self.username = kwargs.get('username', None) + self.password = kwargs.get('password', None) + self.domain = kwargs.get('domain', None) + self.d_ns = kwargs.get('d_ns', None) + self.status = kwargs.get('status', None) + self.s_mb_server_name = kwargs.get('s_mb_server_name', None) + self.organizational_unit = kwargs.get('organizational_unit', None) diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory_py3.py new file mode 100644 index 00000000000..7eec5dc6398 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/active_directory_py3.py @@ -0,0 +1,60 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ActiveDirectory(Model): + """Active Directory. + + :param active_directory_id: Id of the Active Directory + :type active_directory_id: str + :param username: Username of Active Directory domain administrator + :type username: str + :param password: Plain text password of Active Directory domain + administrator + :type password: str + :param domain: Name of the Active Directory domain + :type domain: str + :param d_ns: Comma separated list of DNS server IP addresses for the + Active Directory domain + :type d_ns: str + :param status: Status of the Active Directory + :type status: str + :param s_mb_server_name: NetBIOS name of the SMB server. This name will be + registered as a computer account in the AD and used to mount volumes + :type s_mb_server_name: str + :param organizational_unit: The Organizational Unit (OU) within the + Windows Active Directory + :type organizational_unit: str + """ + + _attribute_map = { + 'active_directory_id': {'key': 'activeDirectoryId', 'type': 'str'}, + 'username': {'key': 'username', 'type': 'str'}, + 'password': {'key': 'password', 'type': 'str'}, + 'domain': {'key': 'domain', 'type': 'str'}, + 'd_ns': {'key': 'dNS', 'type': 'str'}, + 'status': {'key': 'status', 'type': 'str'}, + 's_mb_server_name': {'key': 'sMBServerName', 'type': 'str'}, + 'organizational_unit': {'key': 'organizationalUnit', 'type': 'str'}, + } + + def __init__(self, *, active_directory_id: str=None, username: str=None, password: str=None, domain: str=None, d_ns: str=None, status: str=None, s_mb_server_name: str=None, organizational_unit: str=None, **kwargs) -> None: + super(ActiveDirectory, self).__init__(**kwargs) + self.active_directory_id = active_directory_id + self.username = username + self.password = password + self.domain = domain + self.d_ns = d_ns + self.status = status + self.s_mb_server_name = s_mb_server_name + self.organizational_unit = organizational_unit diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py similarity index 92% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py index 70fe875ab01..f810f336b84 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/azure_net_app_files_management_client_enums.py @@ -16,4 +16,4 @@ class ServiceLevel(str, Enum): standard = "Standard" #: Standard service level premium = "Premium" #: Premium service level - extreme = "Extreme" #: Extreme service level + ultra = "Ultra" #: Ultra service level diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool.py similarity index 97% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool.py index 3dced303adc..953dec4c38d 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool.py @@ -37,7 +37,7 @@ class CapacityPool(Model): value: 4398046511104 . :type size: long :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: "Premium" . :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel :ivar provisioning_state: Azure lifecycle management diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_paged.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_paged.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_paged.py diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch.py new file mode 100644 index 00000000000..03810e13bf5 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(CapacityPoolPatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.size = kwargs.get('size', 4398046511104) + self.service_level = kwargs.get('service_level', "Premium") diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch_py3.py new file mode 100644 index 00000000000..0ff013d0ef9 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_patch_py3.py @@ -0,0 +1,66 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class CapacityPoolPatch(Model): + """Capacity pool patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :param size: size. Provisioned size of the pool (in bytes). Allowed values + are in 4TiB chunks (value must be multiply of 4398046511104). Default + value: 4398046511104 . + :type size: long + :param service_level: serviceLevel. The service level of the file system. + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: + "Premium" . + :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'size': {'maximum': 549755813888000, 'minimum': 4398046511104}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'size': {'key': 'properties.size', 'type': 'long'}, + 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, + } + + def __init__(self, *, location: str=None, tags=None, size: int=4398046511104, service_level="Premium", **kwargs) -> None: + super(CapacityPoolPatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.size = size + self.service_level = service_level diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_py3.py similarity index 97% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_py3.py index c2ad853f9f1..71d59a170bd 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/capacity_pool_py3.py @@ -37,7 +37,7 @@ class CapacityPool(Model): value: 4398046511104 . :type size: long :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: "Premium" . :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel :ivar provisioning_state: Azure lifecycle management diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/dimension.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/dimension.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/dimension_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/dimension_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/dimension_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/error.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/error.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/error.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/error_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/error_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/error_py3.py diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule.py new file mode 100644 index 00000000000..12b5fbc6682 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ExportPolicyRule(Model): + """Volume Export Policy Rule. + + :param rule_index: Order index + :type rule_index: int + :param unix_read_only: Read only access + :type unix_read_only: bool + :param unix_read_write: Read and write access + :type unix_read_write: bool + :param cifs: Allows CIFS protocol + :type cifs: bool + :param nfsv3: Allows NFSv3 protocol + :type nfsv3: bool + :param nfsv4: Allows NFSv4 protocol + :type nfsv4: bool + :param allowed_clients: Client ingress specification as comma separated + string with IPv4 CIDRs, IPv4 host addresses and host names + :type allowed_clients: str + """ + + _attribute_map = { + 'rule_index': {'key': 'ruleIndex', 'type': 'int'}, + 'unix_read_only': {'key': 'unixReadOnly', 'type': 'bool'}, + 'unix_read_write': {'key': 'unixReadWrite', 'type': 'bool'}, + 'cifs': {'key': 'cifs', 'type': 'bool'}, + 'nfsv3': {'key': 'nfsv3', 'type': 'bool'}, + 'nfsv4': {'key': 'nfsv4', 'type': 'bool'}, + 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ExportPolicyRule, self).__init__(**kwargs) + self.rule_index = kwargs.get('rule_index', None) + self.unix_read_only = kwargs.get('unix_read_only', None) + self.unix_read_write = kwargs.get('unix_read_write', None) + self.cifs = kwargs.get('cifs', None) + self.nfsv3 = kwargs.get('nfsv3', None) + self.nfsv4 = kwargs.get('nfsv4', None) + self.allowed_clients = kwargs.get('allowed_clients', None) diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule_py3.py new file mode 100644 index 00000000000..62f11c226eb --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/export_policy_rule_py3.py @@ -0,0 +1,53 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class ExportPolicyRule(Model): + """Volume Export Policy Rule. + + :param rule_index: Order index + :type rule_index: int + :param unix_read_only: Read only access + :type unix_read_only: bool + :param unix_read_write: Read and write access + :type unix_read_write: bool + :param cifs: Allows CIFS protocol + :type cifs: bool + :param nfsv3: Allows NFSv3 protocol + :type nfsv3: bool + :param nfsv4: Allows NFSv4 protocol + :type nfsv4: bool + :param allowed_clients: Client ingress specification as comma separated + string with IPv4 CIDRs, IPv4 host addresses and host names + :type allowed_clients: str + """ + + _attribute_map = { + 'rule_index': {'key': 'ruleIndex', 'type': 'int'}, + 'unix_read_only': {'key': 'unixReadOnly', 'type': 'bool'}, + 'unix_read_write': {'key': 'unixReadWrite', 'type': 'bool'}, + 'cifs': {'key': 'cifs', 'type': 'bool'}, + 'nfsv3': {'key': 'nfsv3', 'type': 'bool'}, + 'nfsv4': {'key': 'nfsv4', 'type': 'bool'}, + 'allowed_clients': {'key': 'allowedClients', 'type': 'str'}, + } + + def __init__(self, *, rule_index: int=None, unix_read_only: bool=None, unix_read_write: bool=None, cifs: bool=None, nfsv3: bool=None, nfsv4: bool=None, allowed_clients: str=None, **kwargs) -> None: + super(ExportPolicyRule, self).__init__(**kwargs) + self.rule_index = rule_index + self.unix_read_only = unix_read_only + self.unix_read_write = unix_read_write + self.cifs = cifs + self.nfsv3 = nfsv3 + self.nfsv4 = nfsv4 + self.allowed_clients = allowed_clients diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/metric_specification.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/metric_specification.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/metric_specification_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/metric_specification_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/metric_specification_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target.py similarity index 87% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target.py index e118f00da39..0bbbbbd78e7 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target.py @@ -36,13 +36,13 @@ class MountTarget(Model): :type file_system_id: str :ivar ip_address: ipAddress. The mount target's IPv4 address :vartype ip_address: str - :param vlan_id: vlanid. Vlan Id - :type vlan_id: int + :param subnet: subnet. The subnet + :type subnet: str :param start_ip: startIp. The start of IPv4 address range to use when creating a new mount target :type start_ip: str - :param end_ip: startIp. The end of IPv4 address range to use when creating - a new mount target + :param end_ip: endIp. The end of IPv4 address range to use when creating a + new mount target :type end_ip: str :param gateway: gateway. The gateway of the IPv4 address range to use when creating a new mount target @@ -50,6 +50,9 @@ class MountTarget(Model): :param netmask: netmask. The netmask of the IPv4 address range to use when creating a new mount target :type netmask: str + :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified + Domain Name, FQDN + :type smb_server_fqdn: str :ivar provisioning_state: Azure lifecycle management :vartype provisioning_state: str """ @@ -72,11 +75,12 @@ class MountTarget(Model): 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, - 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'subnet': {'key': 'properties.subnet', 'type': 'str'}, 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, 'gateway': {'key': 'properties.gateway', 'type': 'str'}, 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } @@ -89,9 +93,10 @@ def __init__(self, **kwargs): self.mount_target_id = None self.file_system_id = kwargs.get('file_system_id', None) self.ip_address = None - self.vlan_id = kwargs.get('vlan_id', None) + self.subnet = kwargs.get('subnet', None) self.start_ip = kwargs.get('start_ip', None) self.end_ip = kwargs.get('end_ip', None) self.gateway = kwargs.get('gateway', None) self.netmask = kwargs.get('netmask', None) + self.smb_server_fqdn = kwargs.get('smb_server_fqdn', None) self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target_paged.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_paged.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target_paged.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target_py3.py similarity index 84% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target_py3.py index b4191609e62..475cf4105cc 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/mount_target_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/mount_target_py3.py @@ -36,13 +36,13 @@ class MountTarget(Model): :type file_system_id: str :ivar ip_address: ipAddress. The mount target's IPv4 address :vartype ip_address: str - :param vlan_id: vlanid. Vlan Id - :type vlan_id: int + :param subnet: subnet. The subnet + :type subnet: str :param start_ip: startIp. The start of IPv4 address range to use when creating a new mount target :type start_ip: str - :param end_ip: startIp. The end of IPv4 address range to use when creating - a new mount target + :param end_ip: endIp. The end of IPv4 address range to use when creating a + new mount target :type end_ip: str :param gateway: gateway. The gateway of the IPv4 address range to use when creating a new mount target @@ -50,6 +50,9 @@ class MountTarget(Model): :param netmask: netmask. The netmask of the IPv4 address range to use when creating a new mount target :type netmask: str + :param smb_server_fqdn: smbServerFQDN. The SMB server's Fully Qualified + Domain Name, FQDN + :type smb_server_fqdn: str :ivar provisioning_state: Azure lifecycle management :vartype provisioning_state: str """ @@ -72,15 +75,16 @@ class MountTarget(Model): 'mount_target_id': {'key': 'properties.mountTargetId', 'type': 'str'}, 'file_system_id': {'key': 'properties.fileSystemId', 'type': 'str'}, 'ip_address': {'key': 'properties.ipAddress', 'type': 'str'}, - 'vlan_id': {'key': 'properties.vlanId', 'type': 'int'}, + 'subnet': {'key': 'properties.subnet', 'type': 'str'}, 'start_ip': {'key': 'properties.startIp', 'type': 'str'}, 'end_ip': {'key': 'properties.endIp', 'type': 'str'}, 'gateway': {'key': 'properties.gateway', 'type': 'str'}, 'netmask': {'key': 'properties.netmask', 'type': 'str'}, + 'smb_server_fqdn': {'key': 'properties.smbServerFqdn', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, } - def __init__(self, *, location: str, file_system_id: str, tags=None, vlan_id: int=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, **kwargs) -> None: + def __init__(self, *, location: str, file_system_id: str, tags=None, subnet: str=None, start_ip: str=None, end_ip: str=None, gateway: str=None, netmask: str=None, smb_server_fqdn: str=None, **kwargs) -> None: super(MountTarget, self).__init__(**kwargs) self.location = location self.id = None @@ -89,9 +93,10 @@ def __init__(self, *, location: str, file_system_id: str, tags=None, vlan_id: in self.mount_target_id = None self.file_system_id = file_system_id self.ip_address = None - self.vlan_id = vlan_id + self.subnet = subnet self.start_ip = start_ip self.end_ip = end_ip self.gateway = gateway self.netmask = netmask + self.smb_server_fqdn = smb_server_fqdn self.provisioning_state = None diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account.py similarity index 86% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account.py index 3ec70dc97f9..3f15012da98 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account.py @@ -32,6 +32,8 @@ class NetAppAccount(Model): :type tags: object :ivar provisioning_state: Azure lifecycle management :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] """ _validation = { @@ -49,6 +51,7 @@ class NetAppAccount(Model): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': 'object'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, } def __init__(self, **kwargs): @@ -59,3 +62,4 @@ def __init__(self, **kwargs): self.type = None self.tags = kwargs.get('tags', None) self.provisioning_state = None + self.active_directories = kwargs.get('active_directories', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_paged.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_paged.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_paged.py diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch.py new file mode 100644 index 00000000000..1e8f35b91a4 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch.py @@ -0,0 +1,62 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, + } + + def __init__(self, **kwargs): + super(NetAppAccountPatch, self).__init__(**kwargs) + self.location = kwargs.get('location', None) + self.id = None + self.name = None + self.type = None + self.tags = kwargs.get('tags', None) + self.provisioning_state = None + self.active_directories = kwargs.get('active_directories', None) diff --git a/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch_py3.py new file mode 100644 index 00000000000..982ff897558 --- /dev/null +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_patch_py3.py @@ -0,0 +1,62 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from msrest.serialization import Model + + +class NetAppAccountPatch(Model): + """NetApp account patch resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param location: Resource location + :type location: str + :ivar id: Resource Id + :vartype id: str + :ivar name: Resource name + :vartype name: str + :ivar type: Resource type + :vartype type: str + :param tags: Resource tags + :type tags: object + :ivar provisioning_state: Azure lifecycle management + :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] + """ + + _validation = { + 'id': {'readonly': True}, + 'name': {'readonly': True}, + 'type': {'readonly': True}, + 'provisioning_state': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'id': {'key': 'id', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, + 'tags': {'key': 'tags', 'type': 'object'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, + } + + def __init__(self, *, location: str=None, tags=None, active_directories=None, **kwargs) -> None: + super(NetAppAccountPatch, self).__init__(**kwargs) + self.location = location + self.id = None + self.name = None + self.type = None + self.tags = tags + self.provisioning_state = None + self.active_directories = active_directories diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_py3.py similarity index 83% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_py3.py index a2d9c5c845a..72e53303d3f 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/net_app_account_py3.py @@ -32,6 +32,8 @@ class NetAppAccount(Model): :type tags: object :ivar provisioning_state: Azure lifecycle management :vartype provisioning_state: str + :param active_directories: Active Directories + :type active_directories: list[~azure.mgmt.netapp.models.ActiveDirectory] """ _validation = { @@ -49,9 +51,10 @@ class NetAppAccount(Model): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': 'object'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'active_directories': {'key': 'properties.activeDirectories', 'type': '[ActiveDirectory]'}, } - def __init__(self, *, location: str, tags=None, **kwargs) -> None: + def __init__(self, *, location: str, tags=None, active_directories=None, **kwargs) -> None: super(NetAppAccount, self).__init__(**kwargs) self.location = location self.id = None @@ -59,3 +62,4 @@ def __init__(self, *, location: str, tags=None, **kwargs) -> None: self.type = None self.tags = tags self.provisioning_state = None + self.active_directories = active_directories diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/operation.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_display.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_display.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_display_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_display_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_display_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_paged.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_paged.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_paged.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/operation_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/operation_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/service_specification.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/service_specification.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/service_specification_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/service_specification_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/service_specification_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_paged.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_paged.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_paged.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_patch.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_patch.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_patch_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_patch_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_patch_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_py3.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/snapshot_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/snapshot_py3.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume.py similarity index 92% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume.py index 2daa2c273f0..5279982691c 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume.py @@ -36,7 +36,7 @@ class Volume(Model): file path for the volume. Used when creating mount targets :type creation_token: str :param service_level: Required. serviceLevel. The service level of the - file system. Possible values include: 'Standard', 'Premium', 'Extreme'. + file system. Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: "Premium" . :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel :param usage_threshold: usageThreshold. Maximum storage quota allowed for @@ -44,6 +44,9 @@ class Volume(Model): Minimum size is 100 GiB. Upper limit is 100TiB. Default value: 107374182400 . :type usage_threshold: long + :param export_policy: Export policy rule + :type export_policy: + ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy :ivar provisioning_state: Azure lifecycle management :vartype provisioning_state: str :param subnet_id: The Azure Resource URI for a delegated subnet. Must have @@ -73,6 +76,7 @@ class Volume(Model): 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePropertiesExportPolicy'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, } @@ -88,5 +92,6 @@ def __init__(self, **kwargs): self.creation_token = kwargs.get('creation_token', None) self.service_level = kwargs.get('service_level', "Premium") self.usage_threshold = kwargs.get('usage_threshold', 107374182400) + self.export_policy = kwargs.get('export_policy', None) self.provisioning_state = None self.subnet_id = kwargs.get('subnet_id', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_paged.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_paged.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_paged.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch.py similarity index 86% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch.py index a3b5a30bc49..0e9123a7ff1 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch.py @@ -29,7 +29,7 @@ class VolumePatch(Model): :param tags: Resource tags :type tags: object :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: "Premium" . :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel :param usage_threshold: usageThreshold. Maximum storage quota allowed for @@ -37,6 +37,9 @@ class VolumePatch(Model): Minimum size is 100 GiB. Upper limit is 100TiB. Default value: 107374182400 . :type usage_threshold: long + :param export_policy: Export policy rule + :type export_policy: + ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy """ _validation = { @@ -54,6 +57,7 @@ class VolumePatch(Model): 'tags': {'key': 'tags', 'type': 'object'}, 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePatchPropertiesExportPolicy'}, } def __init__(self, **kwargs): @@ -65,3 +69,4 @@ def __init__(self, **kwargs): self.tags = kwargs.get('tags', None) self.service_level = kwargs.get('service_level', "Premium") self.usage_threshold = kwargs.get('usage_threshold', 107374182400) + self.export_policy = kwargs.get('export_policy', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy.py similarity index 63% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy.py index 8a9840b47f7..f516e7bcb97 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy.py @@ -12,17 +12,17 @@ from msrest.serialization import Model -class CapacityPoolPatch(Model): - """Capacity pool patch resource. +class VolumePatchPropertiesExportPolicy(Model): + """Export policy rule. - :param tags: Resource tags - :type tags: object + :param rules: + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] """ _attribute_map = { - 'tags': {'key': 'tags', 'type': 'object'}, + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, } def __init__(self, **kwargs): - super(CapacityPoolPatch, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) + super(VolumePatchPropertiesExportPolicy, self).__init__(**kwargs) + self.rules = kwargs.get('rules', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy_py3.py similarity index 59% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy_py3.py index d42966ff410..86dfd5a9d28 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_properties_export_policy_py3.py @@ -12,17 +12,17 @@ from msrest.serialization import Model -class NetAppAccountPatch(Model): - """NetApp account patch resource. +class VolumePatchPropertiesExportPolicy(Model): + """Export policy rule. - :param tags: Resource tags - :type tags: object + :param rules: + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] """ _attribute_map = { - 'tags': {'key': 'tags', 'type': 'object'}, + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, } - def __init__(self, *, tags=None, **kwargs) -> None: - super(NetAppAccountPatch, self).__init__(**kwargs) - self.tags = tags + def __init__(self, *, rules=None, **kwargs) -> None: + super(VolumePatchPropertiesExportPolicy, self).__init__(**kwargs) + self.rules = rules diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_py3.py similarity index 83% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_py3.py index 7d1490e1ef0..8cfb155329a 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_patch_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_patch_py3.py @@ -29,7 +29,7 @@ class VolumePatch(Model): :param tags: Resource tags :type tags: object :param service_level: serviceLevel. The service level of the file system. - Possible values include: 'Standard', 'Premium', 'Extreme'. Default value: + Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: "Premium" . :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel :param usage_threshold: usageThreshold. Maximum storage quota allowed for @@ -37,6 +37,9 @@ class VolumePatch(Model): Minimum size is 100 GiB. Upper limit is 100TiB. Default value: 107374182400 . :type usage_threshold: long + :param export_policy: Export policy rule + :type export_policy: + ~azure.mgmt.netapp.models.VolumePatchPropertiesExportPolicy """ _validation = { @@ -54,9 +57,10 @@ class VolumePatch(Model): 'tags': {'key': 'tags', 'type': 'object'}, 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePatchPropertiesExportPolicy'}, } - def __init__(self, *, location: str=None, tags=None, service_level="Premium", usage_threshold: int=107374182400, **kwargs) -> None: + def __init__(self, *, location: str=None, tags=None, service_level="Premium", usage_threshold: int=107374182400, export_policy=None, **kwargs) -> None: super(VolumePatch, self).__init__(**kwargs) self.location = location self.id = None @@ -65,3 +69,4 @@ def __init__(self, *, location: str=None, tags=None, service_level="Premium", us self.tags = tags self.service_level = service_level self.usage_threshold = usage_threshold + self.export_policy = export_policy diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy.py similarity index 63% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy.py index 33d4ec3da53..836f7dd0fd6 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/net_app_account_patch.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy.py @@ -12,17 +12,17 @@ from msrest.serialization import Model -class NetAppAccountPatch(Model): - """NetApp account patch resource. +class VolumePropertiesExportPolicy(Model): + """Export policy rule. - :param tags: Resource tags - :type tags: object + :param rules: + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] """ _attribute_map = { - 'tags': {'key': 'tags', 'type': 'object'}, + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, } def __init__(self, **kwargs): - super(NetAppAccountPatch, self).__init__(**kwargs) - self.tags = kwargs.get('tags', None) + super(VolumePropertiesExportPolicy, self).__init__(**kwargs) + self.rules = kwargs.get('rules', None) diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy_py3.py similarity index 59% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy_py3.py index 92c38df46b2..ae2dfcd88d2 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/capacity_pool_patch_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_properties_export_policy_py3.py @@ -12,17 +12,17 @@ from msrest.serialization import Model -class CapacityPoolPatch(Model): - """Capacity pool patch resource. +class VolumePropertiesExportPolicy(Model): + """Export policy rule. - :param tags: Resource tags - :type tags: object + :param rules: + :type rules: list[~azure.mgmt.netapp.models.ExportPolicyRule] """ _attribute_map = { - 'tags': {'key': 'tags', 'type': 'object'}, + 'rules': {'key': 'rules', 'type': '[ExportPolicyRule]'}, } - def __init__(self, *, tags=None, **kwargs) -> None: - super(CapacityPoolPatch, self).__init__(**kwargs) - self.tags = tags + def __init__(self, *, rules=None, **kwargs) -> None: + super(VolumePropertiesExportPolicy, self).__init__(**kwargs) + self.rules = rules diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_py3.py similarity index 91% rename from src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_py3.py index 4a282416271..2691ac8b6e0 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/models/volume_py3.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/models/volume_py3.py @@ -36,7 +36,7 @@ class Volume(Model): file path for the volume. Used when creating mount targets :type creation_token: str :param service_level: Required. serviceLevel. The service level of the - file system. Possible values include: 'Standard', 'Premium', 'Extreme'. + file system. Possible values include: 'Standard', 'Premium', 'Ultra'. Default value: "Premium" . :type service_level: str or ~azure.mgmt.netapp.models.ServiceLevel :param usage_threshold: usageThreshold. Maximum storage quota allowed for @@ -44,6 +44,9 @@ class Volume(Model): Minimum size is 100 GiB. Upper limit is 100TiB. Default value: 107374182400 . :type usage_threshold: long + :param export_policy: Export policy rule + :type export_policy: + ~azure.mgmt.netapp.models.VolumePropertiesExportPolicy :ivar provisioning_state: Azure lifecycle management :vartype provisioning_state: str :param subnet_id: The Azure Resource URI for a delegated subnet. Must have @@ -73,11 +76,12 @@ class Volume(Model): 'creation_token': {'key': 'properties.creationToken', 'type': 'str'}, 'service_level': {'key': 'properties.serviceLevel', 'type': 'str'}, 'usage_threshold': {'key': 'properties.usageThreshold', 'type': 'long'}, + 'export_policy': {'key': 'properties.exportPolicy', 'type': 'VolumePropertiesExportPolicy'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, } - def __init__(self, *, location: str, creation_token: str, tags=None, service_level="Premium", usage_threshold: int=107374182400, subnet_id: str=None, **kwargs) -> None: + def __init__(self, *, location: str, creation_token: str, tags=None, service_level="Premium", usage_threshold: int=107374182400, export_policy=None, subnet_id: str=None, **kwargs) -> None: super(Volume, self).__init__(**kwargs) self.location = location self.id = None @@ -88,5 +92,6 @@ def __init__(self, *, location: str, creation_token: str, tags=None, service_lev self.creation_token = creation_token self.service_level = service_level self.usage_threshold = usage_threshold + self.export_policy = export_policy self.provisioning_state = None self.subnet_id = subnet_id diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/__init__.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/__init__.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/__init__.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/accounts_operations.py similarity index 83% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/accounts_operations.py index 19addfef5df..29e4bc756c2 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/accounts_operations.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/accounts_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, custom_headers=None, raw=False, **operation_config): """Lists all NetApp accounts in the resource group. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -62,7 +62,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str') + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$') } url = self._client.format_url(url, **path_format_arguments) @@ -102,14 +102,14 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts'} def get( - self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): """Get the NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param dict custom_headers: headers that will be added to the request @@ -127,7 +127,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -163,18 +163,16 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def _create_or_update_initial( - self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, **operation_config): - body = models.NetAppAccount(location=location, tags=tags) - + self, body, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -201,11 +199,13 @@ def _create_or_update_initial( request = self._client.put(url, query_parameters, header_parameters, body_content) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [201, 202]: + if response.status_code not in [200, 201, 202]: raise models.ErrorException(self._deserialize, response) deserialized = None + if response.status_code == 200: + deserialized = self._deserialize('NetAppAccount', response) if response.status_code == 201: deserialized = self._deserialize('NetAppAccount', response) @@ -216,17 +216,16 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, resource_group, account_name, location, tags=None, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param body: NetApp Account object supplied in the body of the + operation. + :type body: ~azure.mgmt.netapp.models.NetAppAccount + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str - :param location: Resource location - :type location: str - :param tags: Resource tags - :type tags: object :param dict custom_headers: headers that will be added to the request :param bool raw: The poller return type is ClientRawResponse, the direct response alongside the deserialized response @@ -242,10 +241,9 @@ def create_or_update( :class:`ErrorException` """ raw_result = self._create_or_update_initial( - resource_group=resource_group, + body=body, + resource_group_name=resource_group_name, account_name=account_name, - location=location, - tags=tags, custom_headers=custom_headers, raw=True, **operation_config @@ -267,16 +265,16 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def _delete_initial( - self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -306,11 +304,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete a NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param dict custom_headers: headers that will be added to the request @@ -326,7 +324,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, custom_headers=custom_headers, raw=True, @@ -345,18 +343,19 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} def update( - self, resource_group, account_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): """Patch a NetApp account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param body: NetApp Account object supplied in the body of the + operation. + :type body: ~azure.mgmt.netapp.models.NetAppAccountPatch + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str - :param tags: Resource tags - :type tags: object :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -368,13 +367,11 @@ def update( :raises: :class:`ErrorException` """ - body = models.NetAppAccountPatch(tags=tags) - # Construct URL url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -414,4 +411,4 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/mount_targets_operations.py similarity index 88% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/mount_targets_operations.py index a900436b7de..c0d1b4c86f2 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/mount_targets_operations.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/mount_targets_operations.py @@ -37,11 +37,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """List mount targets. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -66,7 +66,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -109,4 +109,4 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/mountTargets'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/operations.py similarity index 100% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/operations.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/operations.py diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/pools_operations.py similarity index 85% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/pools_operations.py index 5bf900e3c39..d59181bddf0 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/pools_operations.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/pools_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, custom_headers=None, raw=False, **operation_config): """Lists all capacity pools in the NetApp Account. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param dict custom_headers: headers that will be added to the request @@ -64,7 +64,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str') } url = self._client.format_url(url, **path_format_arguments) @@ -105,14 +105,14 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools'} def get( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): """Get a capacity pool. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -132,7 +132,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -169,16 +169,16 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def _create_or_update_initial( - self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -223,14 +223,14 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, body, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create or Update a capacity pool. :param body: Capacity pool object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.CapacityPool - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -251,7 +251,7 @@ def create_or_update( """ raw_result = self._create_or_update_initial( body=body, - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, custom_headers=custom_headers, @@ -275,20 +275,21 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def update( - self, resource_group, account_name, pool_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): """Patch a capacity pool. - :param resource_group: The name of the resource group. - :type resource_group: str + :param body: Capacity pool object supplied in the body of the + operation. + :type body: ~azure.mgmt.netapp.models.CapacityPoolPatch + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool :type pool_name: str - :param tags: Resource tags - :type tags: object :param dict custom_headers: headers that will be added to the request :param bool raw: returns the direct response alongside the deserialized response @@ -300,13 +301,11 @@ def update( :raises: :class:`ErrorException` """ - body = models.CapacityPoolPatch(tags=tags) - # Construct URL url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -347,16 +346,16 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} def _delete_initial( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -387,11 +386,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete a capacity pool. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -409,7 +408,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, custom_headers=custom_headers, @@ -429,4 +428,4 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/snapshots_operations.py similarity index 85% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/snapshots_operations.py index 9216a465f1b..9a05eba64e6 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/snapshots_operations.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/snapshots_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """List snapshots. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -68,7 +68,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -111,14 +111,14 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots'} def get( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): """Get a snapshot. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -142,7 +142,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -181,16 +181,16 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def _create_initial( - self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -235,13 +235,13 @@ def _create_initial( return deserialized def create( - self, body, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create a snapshot. :param body: Snapshot object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.Snapshot - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -266,7 +266,7 @@ def create( """ raw_result = self._create_initial( body=body, - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, @@ -292,14 +292,14 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + create.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def update( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, tags=None, custom_headers=None, raw=False, **operation_config): """Patch a snapshot. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -327,7 +327,7 @@ def update( url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -370,16 +370,16 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} def _delete_initial( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str'), @@ -404,7 +404,7 @@ def _delete_initial( request = self._client.delete(url, query_parameters, header_parameters) response = self._client.send(request, stream=False, **operation_config) - if response.status_code not in [202, 204]: + if response.status_code not in [200, 202, 204]: raise models.ErrorException(self._deserialize, response) if raw: @@ -412,11 +412,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, snapshot_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete snapshot. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -438,7 +438,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, @@ -460,4 +460,4 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/volumes_operations.py similarity index 85% rename from src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/volumes_operations.py index c31c39a6abf..663aa86b58d 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/operations/volumes_operations.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/operations/volumes_operations.py @@ -39,11 +39,11 @@ def __init__(self, client, config, serializer, deserializer): self.config = config def list( - self, resource_group, account_name, pool_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, custom_headers=None, raw=False, **operation_config): """List volumes. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -66,7 +66,7 @@ def internal_paging(next_link=None, raw=False): url = self.list.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str') } @@ -108,14 +108,14 @@ def internal_paging(next_link=None, raw=False): return client_raw_response return deserialized - list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} + list.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes'} def get( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """Get a volume. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -137,7 +137,7 @@ def get( url = self.get.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -175,16 +175,16 @@ def get( return client_raw_response return deserialized - get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + get.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def _create_or_update_initial( - self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.create_or_update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -230,13 +230,13 @@ def _create_or_update_initial( return deserialized def create_or_update( - self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): """Create or update a volume. :param body: Volume object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.Volume - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -259,7 +259,7 @@ def create_or_update( """ raw_result = self._create_or_update_initial( body=body, - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, @@ -284,16 +284,16 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + create_or_update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def update( - self, body, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, body, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): """Patch a volume. :param body: Volume object supplied in the body of the operation. :type body: ~azure.mgmt.netapp.models.VolumePatch - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -315,7 +315,7 @@ def update( url = self.update.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -357,16 +357,16 @@ def update( return client_raw_response return deserialized - update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + update.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} def _delete_initial( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, **operation_config): # Construct URL url = self.delete.metadata['url'] path_format_arguments = { 'subscriptionId': self._serialize.url("self.config.subscription_id", self.config.subscription_id, 'str'), - 'resourceGroup': self._serialize.url("resource_group", resource_group, 'str'), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._\(\)]+$'), 'accountName': self._serialize.url("account_name", account_name, 'str'), 'poolName': self._serialize.url("pool_name", pool_name, 'str'), 'volumeName': self._serialize.url("volume_name", volume_name, 'str') @@ -398,11 +398,11 @@ def _delete_initial( return client_raw_response def delete( - self, resource_group, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): + self, resource_group_name, account_name, pool_name, volume_name, custom_headers=None, raw=False, polling=True, **operation_config): """Delete a volume. - :param resource_group: The name of the resource group. - :type resource_group: str + :param resource_group_name: The name of the resource group. + :type resource_group_name: str :param account_name: The name of the NetApp account :type account_name: str :param pool_name: The name of the capacity pool @@ -422,7 +422,7 @@ def delete( :class:`ErrorException` """ raw_result = self._delete_initial( - resource_group=resource_group, + resource_group_name=resource_group_name, account_name=account_name, pool_name=pool_name, volume_name=volume_name, @@ -443,4 +443,4 @@ def get_long_running_output(response): elif polling is False: polling_method = NoPolling() else: polling_method = polling return LROPoller(self._client, raw_result, get_long_running_output, polling_method) - delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} + delete.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}'} diff --git a/src/anf-preview/azext_anf_preview/vendored_sdks/version.py b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/version.py similarity index 96% rename from src/anf-preview/azext_anf_preview/vendored_sdks/version.py rename to src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/version.py index e0ec669828c..fcb88654af0 100644 --- a/src/anf-preview/azext_anf_preview/vendored_sdks/version.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/vendored_sdks/version.py @@ -9,5 +9,4 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.1.0" - +VERSION = "0.3.0" diff --git a/src/anf-preview/setup.cfg b/src/netappfiles-preview/setup.cfg similarity index 100% rename from src/anf-preview/setup.cfg rename to src/netappfiles-preview/setup.cfg diff --git a/src/anf-preview/setup.py b/src/netappfiles-preview/setup.py similarity index 91% rename from src/anf-preview/setup.py rename to src/netappfiles-preview/setup.py index 791b6f1c65c..c26ec3746ec 100644 --- a/src/anf-preview/setup.py +++ b/src/netappfiles-preview/setup.py @@ -8,7 +8,7 @@ from codecs import open from setuptools import setup, find_packages -VERSION = "0.1.0" +VERSION = "0.2.0" CLASSIFIERS = [ 'Development Status :: 4 - Beta', @@ -32,16 +32,16 @@ HISTORY = f.read() setup( - name='anf-preview', + name='netappfiles-preview', version=VERSION, description='Provides a preview for upcoming Azure NetApp Files (ANF) features.', long_description='An Azure CLI Extension for Azure NetApp Files (ANF) preview features.', license='MIT', author='Microsoft Corporation', author_email='azpycli@microsoft.com', - url='https://github.com/Azure/azure-cli-extensions/tree/master/src/anf-preview', + url='https://github.com/Azure/azure-cli-extensions/tree/master/src/netappfiles-preview', classifiers=CLASSIFIERS, packages=find_packages(exclude=["tests"]), - package_data={'azext_anf_preview': ['azext_metadata.json']}, + package_data={'azext_netappfiles_preview': ['azext_metadata.json']}, install_requires=DEPENDENCIES ) From 444b2b9656058eb35f375170273dec22acc05a96 Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 8 Apr 2019 15:55:45 +0000 Subject: [PATCH 2/6] NFSAAS-2102 update to RP R3.5 standard --- src/index.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.json b/src/index.json index ca8a02f8285..dfa330497a6 100644 --- a/src/index.json +++ b/src/index.json @@ -43,7 +43,7 @@ "summary": "Manage Azure Enhanced Monitoring Extensions for SAP", "version": "0.1.1" }, - "sha256Digest": "4ac7b8a4a89eda68d9d1a07cc5edd9b1a2b88421e2aa9a9e5b86a241f127775f" + "sha256Digest": "29bccec7a82dc373b6b0615151089e6d5add4c21c6b9bb58ddfd0d64ca9e91ed" } ], "aks-preview": [ From 1f0f26d2c97c66e07adc248e220e71a314cd1930 Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 8 Apr 2019 16:55:53 +0000 Subject: [PATCH 3/6] NFSAAS-2102 update to R3.5 RP standard --- src/netappfiles-preview/setup.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/netappfiles-preview/setup.py b/src/netappfiles-preview/setup.py index c26ec3746ec..d925294e8ee 100644 --- a/src/netappfiles-preview/setup.py +++ b/src/netappfiles-preview/setup.py @@ -24,7 +24,9 @@ 'License :: OSI Approved :: MIT License', ] -DEPENDENCIES = [] +DEPENDENCIES = [ + msrest +] with open('README.md', 'r', encoding='utf-8') as f: README = f.read() From 949c0f3f44353ee2ec9b6f7b78d87c9074bfcd54 Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 8 Apr 2019 22:47:52 +0000 Subject: [PATCH 4/6] NFSAAS-2102 update to R3.5 RP standard --- src/netappfiles-preview/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netappfiles-preview/setup.py b/src/netappfiles-preview/setup.py index d925294e8ee..cb984c8f581 100644 --- a/src/netappfiles-preview/setup.py +++ b/src/netappfiles-preview/setup.py @@ -25,7 +25,7 @@ ] DEPENDENCIES = [ - msrest + 'msrest' ] with open('README.md', 'r', encoding='utf-8') as f: From d28238ab758345174a2c65e0622f61950396c672 Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 8 Apr 2019 23:34:36 +0000 Subject: [PATCH 5/6] NFSAAS-2102 update to R3.5 RP standard --- src/index.json | 2 +- .../azext_netappfiles_preview/_exception_handler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.json b/src/index.json index dfa330497a6..bbe1d7caa48 100644 --- a/src/index.json +++ b/src/index.json @@ -1431,7 +1431,7 @@ "summary": "Provides a preview for upcoming Azure NetApp Files (ANF) features.", "version": "0.2.0" }, - "sha256Digest": "3ed8340e1f4aa97d83b6af9eb223d2f1272ecb7e82d18d89dccc18ce7167a4e2" + "sha256Digest": "9b3fdfc6ada7ba058585b9edeb0fb51b23e22cd73f8771f2f25d9b1fda751525" } ], "privatedns": [ diff --git a/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py b/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py index 9a930e27b52..baccf050380 100644 --- a/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py @@ -4,7 +4,7 @@ # -------------------------------------------------------------------------------------------- from knack.util import CLIError -from msrest.exceptions import ValidationError +from msrest.exceptions import ValidationError # pylint: disable=import-error def netapp_exception_handler(ex): from azext_netappfiles_preview.vendored_sdks.models import ErrorException From a6f800602989bf891f3b3a825644d36e1ad5fd9b Mon Sep 17 00:00:00 2001 From: leonard Date: Mon, 8 Apr 2019 23:52:42 +0000 Subject: [PATCH 6/6] NFSAAS-2102 update to R3.5 RP standard --- src/index.json | 2 +- .../_exception_handler.py | 1 + .../tests/latest/test_account_commands_ext.py | 15 ++++++++------- .../tests/latest/test_volume_commands_ext.py | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/src/index.json b/src/index.json index bbe1d7caa48..d2e6a6afccc 100644 --- a/src/index.json +++ b/src/index.json @@ -1431,7 +1431,7 @@ "summary": "Provides a preview for upcoming Azure NetApp Files (ANF) features.", "version": "0.2.0" }, - "sha256Digest": "9b3fdfc6ada7ba058585b9edeb0fb51b23e22cd73f8771f2f25d9b1fda751525" + "sha256Digest": "f0078a9f03416066abc21d6103bb9ddb9cbfb5a994054e1b2280ab89a61116a0" } ], "privatedns": [ diff --git a/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py b/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py index baccf050380..d955a43ba8e 100644 --- a/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/_exception_handler.py @@ -6,6 +6,7 @@ from knack.util import CLIError from msrest.exceptions import ValidationError # pylint: disable=import-error + def netapp_exception_handler(ex): from azext_netappfiles_preview.vendored_sdks.models import ErrorException diff --git a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py index 85e91c9bac9..1c1a40bc96c 100644 --- a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_account_commands_ext.py @@ -7,22 +7,23 @@ # No tidy up of tests required. The resource group is automatically removed + class AzureNetAppFilesExtAccountServiceScenarioTest(ScenarioTest): @ResourceGroupPreparer(name_prefix='cli_tests_rg_') def test_ext_create_delete_account(self): account_name = self.create_random_name(prefix='cli', length=24) tags = 'Tag1=Value1 Tag2=Value2' - active_directories = '[{"username": "aduser", "password": "aduser", "smbservername": "SMBSERVER", "dns": "1.2.3.4", "domain": "westcentralus"}]' + # active_directories = '[{"username": "aduser", "password": "aduser", "smbservername": "SMBSERVER", "dns": "1.2.3.4", "domain": "westcentralus"}]' # create and check - #account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s' --active-directories %s" % (account_name, tags, active_directories)).get_output_in_json() + # account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s' --active-directories %s" % (account_name, tags, active_directories)).get_output_in_json() account = self.cmd("az netappfiles account create --resource-group {rg} --account-name '%s' -l 'westus2' --tags '%s'" % (account_name, tags)).get_output_in_json() assert account['name'] == account_name assert account['tags']['Tag1'] == 'Value1' assert account['tags']['Tag2'] == 'Value2' # not provided in call - interpreted as kwargs. Tested at command line instead. - #assert account['active_directories'][0]['username'] == 'aduser' - #assert account['active_directories'][0]['smbservername'] == 'SMBSERVER' + # assert account['active_directories'][0]['username'] == 'aduser' + # assert account['active_directories'][0]['smbservername'] == 'SMBSERVER' account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json() assert len(account_list) > 0 @@ -36,7 +37,7 @@ def test_ext_create_delete_account(self): account = self.cmd("az netappfiles account create -g {rg} -a %s -l westus2 --tags '%s'" % (account_name, tags)).get_output_in_json() assert account['name'] == account_name # note: key case must match - assert account['activeDirectories'] == None + assert account['activeDirectories'] is None account_list = self.cmd("netappfiles account list --resource-group {rg}").get_output_in_json() assert len(account_list) > 0 @@ -79,7 +80,7 @@ def test_ext_set_account_ext(self): account = self.cmd("az netappfiles account set --resource-group {rg} -a %s -l 'westus2' --tags %s" % (account_name, tag)).get_output_in_json() assert account['name'] == account_name assert account['tags']['Tag1'] == 'Value1' - assert account['activeDirectories'] == None + assert account['activeDirectories'] is None @ResourceGroupPreparer(name_prefix='cli_tests_rg_') def test_ext_update_account_ext(self): @@ -91,4 +92,4 @@ def test_ext_update_account_ext(self): account = self.cmd("az netappfiles account update --resource-group {rg} -a %s --tags %s -l westus2" % (account_name, tag)).get_output_in_json() assert account['name'] == account_name assert account['tags']['Tag1'] == 'Value1' - assert account['activeDirectories'] == None + assert account['activeDirectories'] is None diff --git a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py index 8bde1c39860..59f4cc7e34f 100644 --- a/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py +++ b/src/netappfiles-preview/azext_netappfiles_preview/tests/latest/test_volume_commands_ext.py @@ -55,7 +55,7 @@ def test_ext_create_delete_volumes(self): assert volume['tags']['Tag2'] == 'Value2' # default export policy still present assert volume['exportPolicy']['rules'][0]['allowedClients'] == '0.0.0.0/0' - assert volume['exportPolicy']['rules'][0]['cifs'] == False + 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() @@ -113,5 +113,5 @@ def test_ext_update_volume(self): assert volume['tags']['Tag1'] == 'Value2' # default export policy still present assert volume['exportPolicy']['rules'][0]['allowedClients'] == '0.0.0.0/0' - assert volume['exportPolicy']['rules'][0]['cifs'] == False + assert not volume['exportPolicy']['rules'][0]['cifs'] assert volume['exportPolicy']['rules'][0]['ruleIndex'] == 1