From d6e75fa3d6c989e23ead8d4038bf8e8a09d91ba6 Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Tue, 12 Oct 2021 11:53:41 +0800 Subject: [PATCH 1/7] initial generated, upgrade still not working --- src/diskpool/azext_diskpool/__init__.py | 21 +- src/diskpool/azext_diskpool/action.py | 7 +- src/diskpool/azext_diskpool/custom.py | 7 +- .../generated/_client_factory.py | 8 + .../azext_diskpool/generated/_help.py | 70 +- .../azext_diskpool/generated/_params.py | 27 +- .../azext_diskpool/generated/action.py | 114 +- .../azext_diskpool/generated/commands.py | 46 +- .../azext_diskpool/generated/custom.py | 85 +- src/diskpool/azext_diskpool/manual/_params.py | 6 + .../azext_diskpool/manual/commands.py | 11 +- .../tests/latest/example_steps.py | 266 ++ .../azext_diskpool/tests/latest/preparers.py | 79 + .../recordings/test_diskpool_Scenario.yaml | 238 ++ .../test_diskpool_scenario_manual.yaml | 3183 +++++++---------- .../tests/latest/test_disk_scenario_manual.py | 11 +- .../tests/latest/test_diskpool_scenario.py | 196 + .../vendored_sdks/storagepool/__init__.py | 3 + .../storagepool/_configuration.py | 7 +- .../storagepool/_storage_pool_management.py | 5 + .../vendored_sdks/storagepool/_version.py | 9 + .../storagepool/aio/_configuration.py | 7 +- .../aio/_storage_pool_management.py | 5 + .../storagepool/aio/operations/__init__.py | 2 + .../operations/_disk_pool_zones_operations.py | 2 +- .../aio/operations/_disk_pools_operations.py | 140 +- .../operations/_iscsi_targets_operations.py | 10 +- .../storagepool/aio/operations/_operations.py | 2 +- .../operations/_resource_skus_operations.py | 113 + .../storagepool/models/__init__.py | 25 + .../storagepool/models/_models.py | 361 +- .../storagepool/models/_models_py3.py | 380 +- .../models/_storage_pool_management_enums.py | 14 + .../storagepool/operations/__init__.py | 2 + .../operations/_disk_pool_zones_operations.py | 2 +- .../operations/_disk_pools_operations.py | 142 +- .../operations/_iscsi_targets_operations.py | 10 +- .../storagepool/operations/_operations.py | 2 +- .../operations/_resource_skus_operations.py | 118 + src/diskpool/report.md | 72 +- src/diskpool/setup.py | 2 +- 41 files changed, 3755 insertions(+), 2055 deletions(-) create mode 100644 src/diskpool/azext_diskpool/tests/latest/example_steps.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/preparers.py create mode 100644 src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_Scenario.yaml create mode 100644 src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/_version.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_resource_skus_operations.py create mode 100644 src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_resource_skus_operations.py diff --git a/src/diskpool/azext_diskpool/__init__.py b/src/diskpool/azext_diskpool/__init__.py index cbe2830075c..2b5cb0acbde 100644 --- a/src/diskpool/azext_diskpool/__init__.py +++ b/src/diskpool/azext_diskpool/__init__.py @@ -7,13 +7,10 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- +# pylint: disable=unused-import +import azext_diskpool._help from azure.cli.core import AzCommandsLoader -from azext_diskpool.generated._help import helps # pylint: disable=unused-import -try: - from azext_diskpool.manual._help import helps # pylint: disable=reimported -except ImportError: - pass class StoragePoolManagementCommandsLoader(AzCommandsLoader): @@ -33,8 +30,11 @@ def load_command_table(self, args): try: from azext_diskpool.manual.commands import load_command_table as load_command_table_manual load_command_table_manual(self, args) - except ImportError: - pass + except ImportError as e: + if e.name.endswith('manual.commands'): + pass + else: + raise e return self.command_table def load_arguments(self, command): @@ -43,8 +43,11 @@ def load_arguments(self, command): try: from azext_diskpool.manual._params import load_arguments as load_arguments_manual load_arguments_manual(self, command) - except ImportError: - pass + except ImportError as e: + if e.name.endswith('manual._params'): + pass + else: + raise e COMMAND_LOADER_CLS = StoragePoolManagementCommandsLoader diff --git a/src/diskpool/azext_diskpool/action.py b/src/diskpool/azext_diskpool/action.py index d95d53bf711..9b3d0a8a78c 100644 --- a/src/diskpool/azext_diskpool/action.py +++ b/src/diskpool/azext_diskpool/action.py @@ -13,5 +13,8 @@ from .generated.action import * # noqa: F403 try: from .manual.action import * # noqa: F403 -except ImportError: - pass +except ImportError as e: + if e.name.endswith('manual.action'): + pass + else: + raise e diff --git a/src/diskpool/azext_diskpool/custom.py b/src/diskpool/azext_diskpool/custom.py index dbe9d5f9742..885447229d6 100644 --- a/src/diskpool/azext_diskpool/custom.py +++ b/src/diskpool/azext_diskpool/custom.py @@ -13,5 +13,8 @@ from .generated.custom import * # noqa: F403 try: from .manual.custom import * # noqa: F403 -except ImportError: - pass +except ImportError as e: + if e.name.endswith('manual.custom'): + pass + else: + raise e diff --git a/src/diskpool/azext_diskpool/generated/_client_factory.py b/src/diskpool/azext_diskpool/generated/_client_factory.py index 16ba3e4f5bc..45e5dc491cd 100644 --- a/src/diskpool/azext_diskpool/generated/_client_factory.py +++ b/src/diskpool/azext_diskpool/generated/_client_factory.py @@ -20,5 +20,13 @@ def cf_disk_pool(cli_ctx, *_): return cf_diskpool_cl(cli_ctx).disk_pools +def cf_disk_pool_zone(cli_ctx, *_): + return cf_diskpool_cl(cli_ctx).disk_pool_zones + + +def cf_resource_sku(cli_ctx, *_): + return cf_diskpool_cl(cli_ctx).resource_skus + + def cf_iscsi_target(cli_ctx, *_): return cf_diskpool_cl(cli_ctx).iscsi_targets diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index 112206e13a8..e405033fcda 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -12,6 +12,11 @@ from knack.help_files import helps +helps['disk-pool'] = ''' + type: group + short-summary: Manage Storage Pool Management +''' + helps['disk-pool'] = """ type: group short-summary: Manage disk pool with diskpool @@ -40,7 +45,8 @@ helps['disk-pool create'] = """ type: command - short-summary: "Create Disk pool." + short-summary: "Create Disk pool. This Create operation can take 15 minutes to complete. This is expected service \ +behavior." parameters: - name: --sku short-summary: "Determines the SKU of the Disk Pool" @@ -64,7 +70,7 @@ 111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks \ "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ m-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/prov\ -iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Basic_V0" tier="Basic" --tags key="value" \ +iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Basic_V1" tier="Basic" --tags key="value" \ --name "myDiskPool" --resource-group "myResourceGroup" """ @@ -72,6 +78,13 @@ type: command short-summary: "Update a Disk pool." parameters: + - name: --sku + short-summary: "Determines the SKU of the Disk Pool" + long-summary: | + Usage: --sku name=XX tier=XX + + name: Required. Sku name + tier: Sku tier - name: --disks short-summary: "List of Azure Managed Disks to attach to a Disk Pool." long-summary: | @@ -86,12 +99,13 @@ az disk-pool update --name "myDiskPool" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/res\ ourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks \ "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ -m-name_DataDisk_1" --tags key="value" --resource-group "myResourceGroup" +m-name_DataDisk_1" --sku name="Basic_B1" tier="Basic" --tags key="value" --resource-group "myResourceGroup" """ helps['disk-pool delete'] = """ type: command - short-summary: "Delete a Disk pool." + short-summary: "Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes to \ +complete. This is expected service behavior." examples: - name: Delete Disk pool text: |- @@ -108,18 +122,10 @@ "Sample-WestUSResourceGroup" """ -helps['disk-pool list-skus'] = """ - type: command - short-summary: "Lists available Disk Pool Skus in an Azure location." - examples: - - name: List Disk Pool Skus - text: |- - az disk-pool list-skus --location "eastus" -""" - helps['disk-pool start'] = """ type: command - short-summary: "The operation to start a Disk Pool." + short-summary: "The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This is \ +expected service behavior." examples: - name: Start Disk Pool text: |- @@ -129,13 +135,24 @@ helps['disk-pool stop'] = """ type: command short-summary: "Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute \ -resources that this Disk Pool uses." +resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is expected service \ +behavior." examples: - name: Deallocate Disk Pool text: |- az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" """ +helps['disk-pool upgrade'] = """ + type: command + short-summary: "Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 \ +minutes to complete. This is expected service behavior." + examples: + - name: Upgrade Disk Pool + text: |- + az disk-pool upgrade --name "myDiskPool" --resource-group "myResourceGroup" +""" + helps['disk-pool wait'] = """ type: command short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. @@ -151,6 +168,29 @@ az disk-pool wait --name "myDiskPool" --resource-group "myResourceGroup" --deleted """ +helps['disk-pool'] = """ + type: group + short-summary: Manage disk pool zone with diskpool +""" + +helps['disk-pool list-skus'] = """ + type: command + short-summary: "Lists available StoragePool resources and skus in an Azure location." + examples: + - name: List Disk Pool Skus + text: |- + az disk-pool list-skus --location "eastus" +""" + +helps['disk-pool list-zones'] = """ + type: command + short-summary: "Lists available Disk Pool Skus in an Azure location." + examples: + - name: List Disk Pool Zones + text: |- + az disk-pool list-zones --location "eastus" +""" + helps['disk-pool iscsi-target'] = """ type: group short-summary: Manage iscsi target with diskpool diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 8d3db239f9c..4740998403e 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -46,6 +46,9 @@ def load_arguments(self, _): c.argument('tags', tags_type) c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False, validator=get_default_location_from_resource_group) + c.argument('managed_by', type=str, help='Azure resource id. Indicates if this resource is managed by another ' + 'Azure resource.') + c.argument('managed_by_extended', nargs='+', help='List of Azure resource ids that manage this resource.') c.argument('availability_zones', nargs='+', help='Logical zone for Disk Pool resource; example: ["1"].') c.argument('disks', action=AddDiskPoolCreateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' 'Disk Pool.') @@ -57,6 +60,10 @@ def load_arguments(self, _): c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') + c.argument('managed_by', type=str, help='Azure resource id. Indicates if this resource is managed by another ' + 'Azure resource.') + c.argument('managed_by_extended', nargs='+', help='List of Azure resource ids that manage this resource.') + c.argument('sku', action=AddSku, nargs='+', help='Determines the SKU of the Disk Pool') c.argument('tags', tags_type) c.argument('disks', action=AddDiskPoolUpdateDisks, nargs='+', help='List of Azure Managed Disks to attach to a ' 'Disk Pool.') @@ -71,9 +78,6 @@ def load_arguments(self, _): c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.') - with self.argument_context('disk-pool list-skus') as c: - c.argument('location', arg_type=get_location_type(self.cli_ctx)) - with self.argument_context('disk-pool start') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' @@ -84,11 +88,22 @@ def load_arguments(self, _): c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') + with self.argument_context('disk-pool upgrade') as c: + c.argument('resource_group_name', resource_group_name_type) + c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' + 'the Disk Pool.', id_part='name') + with self.argument_context('disk-pool wait') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') + with self.argument_context('disk-pool list-skus') as c: + c.argument('location', arg_type=get_location_type(self.cli_ctx)) + + with self.argument_context('disk-pool list-zones') as c: + c.argument('location', arg_type=get_location_type(self.cli_ctx)) + with self.argument_context('disk-pool iscsi-target list') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', type=str, help='The name of the Disk Pool.') @@ -104,6 +119,9 @@ def load_arguments(self, _): c.argument('disk_pool_name', type=str, help='The name of the Disk Pool.') c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' 'of the iSCSI Target.') + c.argument('managed_by', type=str, help='Azure resource id. Indicates if this resource is managed by another ' + 'Azure resource.') + c.argument('managed_by_extended', nargs='+', help='List of Azure resource ids that manage this resource.') c.argument('acl_mode', arg_type=get_enum_type(['Dynamic', 'Static']), help='Mode for Target connectivity.') c.argument('target_iqn', type=str, help='iSCSI Target IQN (iSCSI Qualified Name); example: ' '"iqn.2005-03.org.iscsi:server".') @@ -117,6 +135,9 @@ def load_arguments(self, _): c.argument('disk_pool_name', type=str, help='The name of the Disk Pool.', id_part='name') c.argument('iscsi_target_name', options_list=['--name', '-n', '--iscsi-target-name'], type=str, help='The name ' 'of the iSCSI Target.', id_part='child_name_1') + c.argument('managed_by', type=str, help='Azure resource id. Indicates if this resource is managed by another ' + 'Azure resource.') + c.argument('managed_by_extended', nargs='+', help='List of Azure resource ids that manage this resource.') c.argument('static_acls', action=AddDiskPoolIscsiTargetUpdateStaticAcls, nargs='+', help='Access Control List ' '(ACL) for an iSCSI Target; defines LUN masking policy') c.argument('luns', action=AddDiskPoolIscsiTargetUpdateLuns, nargs='+', help='List of LUNs to be exposed ' diff --git a/src/diskpool/azext_diskpool/generated/action.py b/src/diskpool/azext_diskpool/generated/action.py index 7b3a1e1ec8d..ac4a4fe5b62 100644 --- a/src/diskpool/azext_diskpool/generated/action.py +++ b/src/diskpool/azext_diskpool/generated/action.py @@ -7,8 +7,13 @@ # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- + + # pylint: disable=protected-access +# pylint: disable=no-self-use + + import argparse from collections import defaultdict from knack.util import CLIError @@ -19,7 +24,7 @@ def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) namespace.sku = action - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -31,66 +36,61 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'name': d['name'] = v[0] + elif kl == 'tier': d['tier'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter sku. All possible keys are: name, tier'. - format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter sku. All possible keys are: name, tier'.format(k) + ) + return d -class AddDiskPoolCreateDisks(argparse._AppendAction): +class AddDiskPoolUpdateDisks(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) for item in action: - super(AddDiskPoolCreateDisks, self).__call__(parser, namespace, item, option_string) + super(AddDiskPoolUpdateDisks, self).__call__(parser, namespace, item, option_string) def get_action(self, values, option_string=None): try: - value_chunk_list = [values[x: x + 1] for x in range(0, len(values), 1)] - value_list = [] - for chunk in value_chunk_list: - id, = chunk - value_list.append( - { - 'id': id - } - ) + value_keys = [ + 'id', + ] + value_list = [dict(zip(value_keys, values[x: x + 1])) for x in range(0, len(values), 1)] return value_list except ValueError: raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) -class AddDiskPoolUpdateDisks(argparse._AppendAction): +class AddDiskPoolCreateDisks(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) for item in action: - super(AddDiskPoolUpdateDisks, self).__call__(parser, namespace, item, option_string) + super(AddDiskPoolCreateDisks, self).__call__(parser, namespace, item, option_string) def get_action(self, values, option_string=None): try: - value_chunk_list = [values[x: x + 1] for x in range(0, len(values), 1)] - value_list = [] - for chunk in value_chunk_list: - id, = chunk - value_list.append( - { - 'id': id - } - ) + value_keys = [ + 'id', + ] + value_list = [dict(zip(value_keys, values[x: x + 1])) for x in range(0, len(values), 1)] return value_list except ValueError: raise CLIError('usage error: {} NAME METRIC OPERATION VALUE'.format(option_string)) -class AddDiskPoolIscsiTargetCreateStaticAcls(argparse._AppendAction): +class AddDiskPoolIscsiTargetUpdateStaticAcls(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) - super(AddDiskPoolIscsiTargetCreateStaticAcls, self).__call__(parser, namespace, action, option_string) + super(AddDiskPoolIscsiTargetUpdateStaticAcls, self).__call__(parser, namespace, action, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -102,22 +102,28 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'initiator-iqn': d['initiator_iqn'] = v[0] + elif kl == 'mapped-luns': d['mapped_luns'] = v + else: - raise CLIError('Unsupported Key {} is provided for parameter static_acls. All possible keys are: ' - 'initiator-iqn, mapped-luns'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter static-acls. All possible keys are: initiator-iqn,' + ' mapped-luns'.format(k) + ) + return d -class AddDiskPoolIscsiTargetCreateLuns(argparse._AppendAction): +class AddDiskPoolIscsiTargetUpdateLuns(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) - super(AddDiskPoolIscsiTargetCreateLuns, self).__call__(parser, namespace, action, option_string) + super(AddDiskPoolIscsiTargetUpdateLuns, self).__call__(parser, namespace, action, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -129,22 +135,28 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'name': d['name'] = v[0] + elif kl == 'managed-disk-azure-resource-id': d['managed_disk_azure_resource_id'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter luns. All possible keys are: name, ' - 'managed-disk-azure-resource-id'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter luns. All possible keys are: name,' + ' managed-disk-azure-resource-id'.format(k) + ) + return d -class AddDiskPoolIscsiTargetUpdateStaticAcls(argparse._AppendAction): +class AddDiskPoolIscsiTargetCreateStaticAcls(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) - super(AddDiskPoolIscsiTargetUpdateStaticAcls, self).__call__(parser, namespace, action, option_string) + super(AddDiskPoolIscsiTargetCreateStaticAcls, self).__call__(parser, namespace, action, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -156,22 +168,28 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'initiator-iqn': d['initiator_iqn'] = v[0] + elif kl == 'mapped-luns': d['mapped_luns'] = v + else: - raise CLIError('Unsupported Key {} is provided for parameter static_acls. All possible keys are: ' - 'initiator-iqn, mapped-luns'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter static-acls. All possible keys are: initiator-iqn,' + ' mapped-luns'.format(k) + ) + return d -class AddDiskPoolIscsiTargetUpdateLuns(argparse._AppendAction): +class AddDiskPoolIscsiTargetCreateLuns(argparse._AppendAction): def __call__(self, parser, namespace, values, option_string=None): action = self.get_action(values, option_string) - super(AddDiskPoolIscsiTargetUpdateLuns, self).__call__(parser, namespace, action, option_string) + super(AddDiskPoolIscsiTargetCreateLuns, self).__call__(parser, namespace, action, option_string) - def get_action(self, values, option_string): # pylint: disable=no-self-use + def get_action(self, values, option_string): try: properties = defaultdict(list) for (k, v) in (x.split('=', 1) for x in values): @@ -183,11 +201,17 @@ def get_action(self, values, option_string): # pylint: disable=no-self-use for k in properties: kl = k.lower() v = properties[k] + if kl == 'name': d['name'] = v[0] + elif kl == 'managed-disk-azure-resource-id': d['managed_disk_azure_resource_id'] = v[0] + else: - raise CLIError('Unsupported Key {} is provided for parameter luns. All possible keys are: name, ' - 'managed-disk-azure-resource-id'.format(k)) + raise CLIError( + 'Unsupported Key {} is provided for parameter luns. All possible keys are: name,' + ' managed-disk-azure-resource-id'.format(k) + ) + return d diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index 0a45ae9cca1..2f20f0a81a1 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -9,35 +9,55 @@ # -------------------------------------------------------------------------- # pylint: disable=too-many-statements # pylint: disable=too-many-locals +# pylint: disable=bad-continuation +# pylint: disable=line-too-long from azure.cli.core.commands import CliCommandType +from azext_diskpool.generated._client_factory import cf_disk_pool, cf_disk_pool_zone, cf_resource_sku, cf_iscsi_target + + +diskpool_disk_pool = CliCommandType( + operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pools_operations#DiskPoolsOperations.{}', + client_factory=cf_disk_pool, +) + + +diskpool_disk_pool_zone = CliCommandType( + operations_tmpl=( + 'azext_diskpool.vendored_sdks.storagepool.operations._disk_pool_zones_operations#DiskPoolZonesOperations.{}' + ), + client_factory=cf_disk_pool_zone, +) + + +diskpool_iscsi_target = CliCommandType( + operations_tmpl=( + 'azext_diskpool.vendored_sdks.storagepool.operations._iscsi_targets_operations#IscsiTargetsOperations.{}' + ), + client_factory=cf_iscsi_target, +) def load_command_table(self, _): - from azext_diskpool.generated._client_factory import cf_disk_pool - diskpool_disk_pool = CliCommandType( - operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pools_operations#DiskPoolsOperations' - '.{}', - client_factory=cf_disk_pool) with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool) as g: g.custom_command('list', 'disk_pool_list') g.custom_show_command('show', 'disk_pool_show') g.custom_command('create', 'disk_pool_create', supports_no_wait=True) g.custom_command('update', 'disk_pool_update', supports_no_wait=True) g.custom_command('delete', 'disk_pool_delete', supports_no_wait=True, confirmation=True) - g.custom_command('list-outbound-network-dependency-endpoint', 'disk_pool_list_outbound_network_dependency_endpo' - 'int') - g.custom_command('list-skus', 'disk_pool_list_skus') + g.custom_command( + 'list-outbound-network-dependency-endpoint', 'disk_pool_list_outbound_network_dependency_endpoint' + ) g.custom_command('start', 'disk_pool_start', supports_no_wait=True) g.custom_command('stop', 'disk_pool_stop', supports_no_wait=True) + g.custom_command('upgrade', 'disk_pool_upgrade', supports_no_wait=True) g.custom_wait_command('wait', 'disk_pool_show') - from azext_diskpool.generated._client_factory import cf_iscsi_target - diskpool_iscsi_target = CliCommandType( - operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._iscsi_targets_operations#IscsiTargetsOper' - 'ations.{}', - client_factory=cf_iscsi_target) + with self.command_group('disk-pool', diskpool_disk_pool_zone, client_factory=cf_disk_pool_zone) as g: + g.custom_command('list-skus', 'disk_pool_list_skus', client_factory=cf_resource_sku) + g.custom_command('list-zones', 'disk_pool_list_zones') + with self.command_group('disk-pool iscsi-target', diskpool_iscsi_target, client_factory=cf_iscsi_target) as g: g.custom_command('list', 'disk_pool_iscsi_target_list') g.custom_show_command('show', 'disk_pool_iscsi_target_show') diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index f16877572dc..11c91961285 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -33,18 +33,28 @@ def disk_pool_create(client, location, subnet_id, tags=None, + managed_by=None, + managed_by_extended=None, availability_zones=None, disks=None, additional_capabilities=None, no_wait=False): disk_pool_create_payload = {} disk_pool_create_payload['sku'] = sku - disk_pool_create_payload['tags'] = tags + if tags is not None: + disk_pool_create_payload['tags'] = tags disk_pool_create_payload['location'] = location - disk_pool_create_payload['availability_zones'] = availability_zones - disk_pool_create_payload['disks'] = disks + if managed_by is not None: + disk_pool_create_payload['managed_by'] = managed_by + if managed_by_extended is not None: + disk_pool_create_payload['managed_by_extended'] = managed_by_extended + if availability_zones is not None: + disk_pool_create_payload['availability_zones'] = availability_zones + if disks is not None: + disk_pool_create_payload['disks'] = disks disk_pool_create_payload['subnet_id'] = subnet_id - disk_pool_create_payload['additional_capabilities'] = additional_capabilities + if additional_capabilities is not None: + disk_pool_create_payload['additional_capabilities'] = additional_capabilities return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, @@ -55,12 +65,23 @@ def disk_pool_create(client, def disk_pool_update(client, resource_group_name, disk_pool_name, + managed_by=None, + managed_by_extended=None, + sku=None, tags=None, disks=None, no_wait=False): disk_pool_update_payload = {} - disk_pool_update_payload['tags'] = tags - disk_pool_update_payload['disks'] = disks + if managed_by is not None: + disk_pool_update_payload['managed_by'] = managed_by + if managed_by_extended is not None: + disk_pool_update_payload['managed_by_extended'] = managed_by_extended + if sku is not None: + disk_pool_update_payload['sku'] = sku + if tags is not None: + disk_pool_update_payload['tags'] = tags + if disks is not None: + disk_pool_update_payload['disks'] = disks return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, @@ -85,11 +106,6 @@ def disk_pool_list_outbound_network_dependency_endpoint(client, disk_pool_name=disk_pool_name) -def disk_pool_list_skus(client, - location): - return client.list(location=location) - - def disk_pool_start(client, resource_group_name, disk_pool_name, @@ -110,6 +126,26 @@ def disk_pool_stop(client, disk_pool_name=disk_pool_name) +def disk_pool_upgrade(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_upgrade, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + +def disk_pool_list_skus(client, + location): + return client.list(location=location) + + +def disk_pool_list_zones(client, + location): + return client.list(location=location) + + def disk_pool_iscsi_target_list(client, resource_group_name, disk_pool_name): @@ -131,15 +167,24 @@ def disk_pool_iscsi_target_create(client, disk_pool_name, iscsi_target_name, acl_mode, + managed_by=None, + managed_by_extended=None, target_iqn=None, static_acls=None, luns=None, no_wait=False): iscsi_target_create_payload = {} + if managed_by is not None: + iscsi_target_create_payload['managed_by'] = managed_by + if managed_by_extended is not None: + iscsi_target_create_payload['managed_by_extended'] = managed_by_extended iscsi_target_create_payload['acl_mode'] = acl_mode - iscsi_target_create_payload['target_iqn'] = target_iqn - iscsi_target_create_payload['static_acls'] = static_acls - iscsi_target_create_payload['luns'] = luns + if target_iqn is not None: + iscsi_target_create_payload['target_iqn'] = target_iqn + if static_acls is not None: + iscsi_target_create_payload['static_acls'] = static_acls + if luns is not None: + iscsi_target_create_payload['luns'] = luns return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, @@ -152,12 +197,20 @@ def disk_pool_iscsi_target_update(client, resource_group_name, disk_pool_name, iscsi_target_name, + managed_by=None, + managed_by_extended=None, static_acls=None, luns=None, no_wait=False): iscsi_target_update_payload = {} - iscsi_target_update_payload['static_acls'] = static_acls - iscsi_target_update_payload['luns'] = luns + if managed_by is not None: + iscsi_target_update_payload['managed_by'] = managed_by + if managed_by_extended is not None: + iscsi_target_update_payload['managed_by_extended'] = managed_by_extended + if static_acls is not None: + iscsi_target_update_payload['static_acls'] = static_acls + if luns is not None: + iscsi_target_update_payload['luns'] = luns return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, diff --git a/src/diskpool/azext_diskpool/manual/_params.py b/src/diskpool/azext_diskpool/manual/_params.py index 1d01152d46d..32d1ba2a6a4 100644 --- a/src/diskpool/azext_diskpool/manual/_params.py +++ b/src/diskpool/azext_diskpool/manual/_params.py @@ -24,3 +24,9 @@ def load_arguments(self, _): c.argument('location', arg_type=get_location_type(self.cli_ctx), required=False, validator=get_default_location_from_resource_group) c.argument('availability_zones', nargs='+', help='Logical zone for Disk Pool resource.') + + with self.argument_context('disk-pool list-skus') as c: + c.argument('location', required=True, arg_type=get_location_type(self.cli_ctx)) + + with self.argument_context('disk-pool list-zones') as c: + c.argument('location', required=True, arg_type=get_location_type(self.cli_ctx)) diff --git a/src/diskpool/azext_diskpool/manual/commands.py b/src/diskpool/azext_diskpool/manual/commands.py index ffeac7926b0..3efe4cca49d 100644 --- a/src/diskpool/azext_diskpool/manual/commands.py +++ b/src/diskpool/azext_diskpool/manual/commands.py @@ -20,13 +20,18 @@ def load_command_table(self, _): operations_tmpl='azext_diskpool.vendored_sdks.storagepool.operations._disk_pools_operations#DiskPoolsOperations' '.{}', client_factory=cf_disk_pool) - with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool, is_preview=True) as g: + diskpool_iscsi_target = CliCommandType( + operations_tmpl=( + 'azext_diskpool.vendored_sdks.storagepool.operations._iscsi_targets_operations#IscsiTargetsOperations.{}' + ), + client_factory=cf_iscsi_target, + ) + with self.command_group('disk-pool', diskpool_disk_pool, client_factory=cf_disk_pool) as g: from ._transformers import transform_disk_pool_list_output, transform_disk_pool_show_output g.custom_command('list', 'disk_pool_list', table_transformer=transform_disk_pool_list_output) - g.custom_command('list-skus', 'disk_pool_list_skus', client_factory=cf_disk_pool_zone) g.custom_show_command('show', 'disk_pool_show', table_transformer=transform_disk_pool_show_output) - with self.command_group('disk-pool iscsi-target', client_factory=cf_iscsi_target) as g: + with self.command_group('disk-pool iscsi-target', diskpool_iscsi_target, client_factory=cf_iscsi_target) as g: from ._transformers import transform_disk_pool_iscsi_target_list_output, \ transform_disk_pool_iscsi_target_show_output g.custom_command('list', 'disk_pool_iscsi_target_list', diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py new file mode 100644 index 00000000000..ca9125b414b --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -0,0 +1,266 @@ +# -------------------------------------------------------------------------- +# 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 .. import try_manual + + +# EXAMPLE: /DiskPools/put/Create or Update Disk pool +@try_manual +def step_create(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool create ' + '--location "westus" ' + '--availability-zones "1" ' + '--disks "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_D' + 'ataDisk_0" ' + '--disks "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_D' + 'ataDisk_1" ' + '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' + 'orks/{vn}/subnets/{subnets}" ' + '--sku name="Basic_V1" tier="Basic" ' + 'orks/{vn}/subnets/{subnets}" ' + '--sku name="Basic_V1" tier="Basic" ' + '--tags key="value" ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=[]) + test.cmd('az disk-pool wait --created ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/get/Get Disk pool +@try_manual +def step_show(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool show ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/get/Get Disk Pool outbound network dependencies +@try_manual +def step_list_outbound_network_dependency_endpoint(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list-outbound-network-dependency-endpoint ' + '--name "{myDiskPool2}" ' + '--resource-group "{rg_2}"', + checks=checks) + + +# EXAMPLE: /DiskPools/get/List Disk Pools +@try_manual +def step_list(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/get/List Disk Pools by subscription +@try_manual +def step_list2(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list ' + '-g ""', + checks=checks) + + +# EXAMPLE: /DiskPools/patch/Update Disk pool +@try_manual +def step_update(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool update ' + '--name "{myDiskPool}" ' + '--disks "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_D' + 'ataDisk_0" ' + '--disks "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_D' + 'ataDisk_1" ' + '--sku name="Basic_B1" tier="Basic" ' + '--sku name="Basic_B1" tier="Basic" ' + '--tags key="value" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/post/Deallocate Disk Pool +@try_manual +def step_stop(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool stop ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/post/Start Disk Pool +@try_manual +def step_start(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool start ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/post/Upgrade Disk Pool +@try_manual +def step_upgrade(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool upgrade ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/post/Upgrade Disk Pool +@try_manual +def step_upgrade(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool upgrade ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPools/delete/Delete Disk pool +@try_manual +def step_delete(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool delete -y ' + '--name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /DiskPoolZones/get/List Disk Pool Skus +@try_manual +def step_list_skus(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list-skus ' + '--location "eastus"', + checks=checks) + + +# EXAMPLE: /DiskPoolZones/get/List Disk Pool Zones +@try_manual +def step_list_zones(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list-zones ' + '--location "eastus"', + checks=checks) + + +# EXAMPLE: /DiskPoolZones/get/List Disk Pool Skus +@try_manual +def step_list_skus(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list-skus ' + '--location "eastus"', + checks=checks) + + +# EXAMPLE: /DiskPoolZones/get/List Disk Pool Zones +@try_manual +def step_list_zones(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool list-zones ' + '--location "eastus"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target +@try_manual +def step_iscsi_target_create(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool iscsi-target create ' + '--disk-pool-name "{myDiskPool}" ' + '--acl-mode "Dynamic" ' + '--luns name="lun0" managed-disk-azure-resource-id="/subscriptions/{subscription_id}/resourceGroups/{rg}/p' + 'roviders/Microsoft.Compute/disks/vm-name_DataDisk_1" ' + '--target-iqn "iqn.2005-03.org.iscsi:server1" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=[]) + test.cmd('az disk-pool iscsi-target wait --created ' + '--disk-pool-name "{myDiskPool}" ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/get/Get iSCSI Target +@try_manual +def step_iscsi_target_show(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool iscsi-target show ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/get/List Disk Pools by Resource Group +@try_manual +def step_iscsi_target_list(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool iscsi-target list ' + '--disk-pool-name "{myDiskPool}" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/patch/Update iSCSI Target +@try_manual +def step_iscsi_target_update(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool iscsi-target update ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--luns name="lun0" managed-disk-azure-resource-id="/subscriptions/{subscription_id}/resourceGroups/{rg}/p' + 'roviders/Microsoft.Compute/disks/vm-name_DataDisk_1" ' + '--static-acls initiator-iqn="iqn.2005-03.org.iscsi:client" mapped-luns="lun0" ' + '--resource-group "{rg}"', + checks=checks) + + +# EXAMPLE: /IscsiTargets/delete/Delete iSCSI Target +@try_manual +def step_iscsi_target_delete(test, checks=None): + if checks is None: + checks = [] + test.cmd('az disk-pool iscsi-target delete -y ' + '--disk-pool-name "{myDiskPool}" ' + '--name "{myIscsiTarget}" ' + '--resource-group "{rg}"', + checks=checks) diff --git a/src/diskpool/azext_diskpool/tests/latest/preparers.py b/src/diskpool/azext_diskpool/tests/latest/preparers.py new file mode 100644 index 00000000000..90926b89c15 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/preparers.py @@ -0,0 +1,79 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +from azure_devtools.scenario_tests import SingleValueReplacer +from azure.cli.testsdk.preparers import NoTrafficRecordingPreparer +from azure.cli.testsdk.reverse_dependency import get_dummy_cli + + +class VirtualNetworkPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__( + self, + resource_group_key="rg", + key="vn", + name_prefix="clitest.vn", + random_name_length=24, + ): + super(VirtualNetworkPreparer, self).__init__(name_prefix, random_name_length) + self.cli_ctx = get_dummy_cli() + self.key = key + self.resource_group_key = resource_group_key + self.name_prefix = name_prefix + self.random_name_length = random_name_length + + def create_resource(self, name, **_): + cmd = 'az network vnet create --resource-group {} --name {}' + cmd = cmd.format(self.test_class_instance.kwargs.get(self.resource_group_key), name) + self.live_only_execute(self.cli_ctx, cmd) + self.test_class_instance.kwargs[self.key] = name + return {self.key: name} + + def remove_resource(self, name, **_): + cmd = 'az network vnet delete --resource-group {} --name {}' + cmd = cmd.format(self.test_class_instance.kwargs.get(self.resource_group_key), name) + self.live_only_execute(self.cli_ctx, cmd) + + +class SubnetPreparer(NoTrafficRecordingPreparer, SingleValueReplacer): + def __init__( + self, + virtual_network_key="vn", + resource_group_key="rg", + key="subnets", + name_prefix="clitest.subnets", + random_name_length=24, + ): + super(SubnetPreparer, self).__init__(name_prefix, random_name_length) + self.cli_ctx = get_dummy_cli() + self.key = key + self.virtual_network_key = virtual_network_key + self.resource_group_key = resource_group_key + self.name_prefix = name_prefix + self.random_name_length = random_name_length + + def create_resource(self, name, **_): + cmd = 'az network vnet subnet create -n {} --vnet-name {} -g {} --address-prefixes "10.0.0.0/21"' + cmd = cmd.format( + name, + self.test_class_instance.kwargs.get(self.virtual_network_key), + self.test_class_instance.kwargs.get(self.resource_group_key), + ) + self.live_only_execute(self.cli_ctx, cmd) + self.test_class_instance.kwargs[self.key] = name + return {self.key: name} + + def remove_resource(self, name, **_): + cmd = 'az network vnet subnet delete --name {} --resource-group {} --vnet-name {}' + cmd = cmd.format( + name, + self.test_class_instance.kwargs.get(self.resource_group_key), + self.test_class_instance.kwargs.get(self.virtual_network_key), + ) + self.live_only_execute(self.cli_ctx, cmd) diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_Scenario.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_Scenario.yaml new file mode 100644 index 00000000000..388ffd29db9 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_Scenario.yaml @@ -0,0 +1,238 @@ +interactions: +- request: + body: '{"sku": {"name": "Basic_V1", "tier": "Basic"}, "tags": {"key": "value"}, + "location": "eastus2euap", "properties": {"availabilityZones": ["1"], "disks": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_0"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"}], + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/clitest000003/subnets/clitest000004"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + Content-Length: + - '828' + Content-Type: + - application/json + ParameterSetName: + - --location --availability-zones --disks --disks --subnet-id --sku --tags --name + --resource-group + User-Agent: + - AZURECLI/2.28.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/myDiskPool?api-version=2021-08-01 + response: + body: + string: 'Forbidden + + ' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '10' + content-type: + - text/plain; charset=utf-8 + date: + - Thu, 30 Sep 2021 07:51:32 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-return-client-request-id: + - 'true' + status: + code: 502 + message: Forbidden +- request: + body: '{"sku": {"name": "Basic_V1", "tier": "Basic"}, "tags": {"key": "value"}, + "location": "eastus2euap", "properties": {"availabilityZones": ["1"], "disks": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_0"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"}], + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/clitest000003/subnets/clitest000004"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + Content-Length: + - '828' + Content-Type: + - application/json + ParameterSetName: + - --location --availability-zones --disks --disks --subnet-id --sku --tags --name + --resource-group + User-Agent: + - AZURECLI/2.28.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/myDiskPool?api-version=2021-08-01 + response: + body: + string: 'Forbidden + + ' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '10' + content-type: + - text/plain; charset=utf-8 + date: + - Thu, 30 Sep 2021 07:51:35 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-return-client-request-id: + - 'true' + status: + code: 502 + message: Forbidden +- request: + body: '{"sku": {"name": "Basic_V1", "tier": "Basic"}, "tags": {"key": "value"}, + "location": "eastus2euap", "properties": {"availabilityZones": ["1"], "disks": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_0"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"}], + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/clitest000003/subnets/clitest000004"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + Content-Length: + - '828' + Content-Type: + - application/json + ParameterSetName: + - --location --availability-zones --disks --disks --subnet-id --sku --tags --name + --resource-group + User-Agent: + - AZURECLI/2.28.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/myDiskPool?api-version=2021-08-01 + response: + body: + string: 'Forbidden + + ' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '10' + content-type: + - text/plain; charset=utf-8 + date: + - Thu, 30 Sep 2021 07:51:38 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-ms-ratelimit-remaining-subscription-writes: + - '1199' + x-ms-return-client-request-id: + - 'true' + status: + code: 502 + message: Forbidden +- request: + body: '{"sku": {"name": "Basic_V1", "tier": "Basic"}, "tags": {"key": "value"}, + "location": "eastus2euap", "properties": {"availabilityZones": ["1"], "disks": + [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_0"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/vm-name_DataDisk_1"}], + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/clitest000003/subnets/clitest000004"}}' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool create + Connection: + - keep-alive + Content-Length: + - '828' + Content-Type: + - application/json + ParameterSetName: + - --location --availability-zones --disks --disks --subnet-id --sku --tags --name + --resource-group + User-Agent: + - AZURECLI/2.28.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/myDiskPool?api-version=2021-08-01 + response: + body: + string: 'Forbidden + + ' + headers: + cache-control: + - no-cache + connection: + - close + content-length: + - '10' + content-type: + - text/plain; charset=utf-8 + date: + - Thu, 30 Sep 2021 07:51:45 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-failure-cause: + - gateway + x-ms-ratelimit-remaining-subscription-writes: + - '1198' + x-ms-return-client-request-id: + - 'true' + status: + code: 502 + message: Forbidden +version: 1 diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml index fe934cf637b..7eda136ea4d 100644 --- a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '{"location": "eastus", "tags": {}, "sku": {"name": "Premium_LRS"}, "zones": - ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": + body: '{"location": "eastus2euap", "tags": {}, "sku": {"name": "Premium_LRS"}, + "zones": ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "Empty"}, "diskSizeGB": 1024, "maxShares": 2}}' headers: Accept: @@ -13,18 +13,18 @@ interactions: Connection: - keep-alive Content-Length: - - '203' + - '208' Content-Type: - application/json ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: body: - string: "{\r\n \"name\": \"disk000002\",\r\n \"location\": \"eastus\",\r\n + string: "{\r\n \"name\": \"disk000002\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n @@ -32,19 +32,19 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/2da3eb32-912c-4324-9d10-0826e1ac30fd?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/04bfc31e-3ecb-4e17-af56-01c0dc7f2287?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 cache-control: - no-cache content-length: - - '371' + - '376' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:10 GMT + - Tue, 12 Oct 2021 03:01:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/2da3eb32-912c-4324-9d10-0826e1ac30fd?monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/04bfc31e-3ecb-4e17-af56-01c0dc7f2287?p=88376d82-510f-4098-9fed-60d0fb8eb079&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -75,36 +75,35 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/2da3eb32-912c-4324-9d10-0826e1ac30fd?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/04bfc31e-3ecb-4e17-af56-01c0dc7f2287?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-16T03:31:11.0030381+00:00\",\r\n \"endTime\": - \"2021-06-16T03:31:11.1592866+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-10-12T03:01:30.3189281+00:00\",\r\n \"endTime\": + \"2021-10-12T03:01:30.4439781+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000002\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-06-16T03:31:11.0030381+00:00\",\r\n \"provisioningState\": - \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 1099511627776,\r\n \"uniqueId\": \"19fc04e9-c43f-4dbf-b023-591917ca0ffa\",\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P30\"\r\n }\r\n}\r\n - \ },\r\n \"name\": \"2da3eb32-912c-4324-9d10-0826e1ac30fd\"\r\n}" + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:30.3189281+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"70448667-670e-46f8-bc8a-bf8232795843\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"04bfc31e-3ecb-4e17-af56-01c0dc7f2287\"\r\n}" headers: cache-control: - no-cache content-length: - - '1156' + - '1161' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:12 GMT + - Tue, 12 Oct 2021 03:01:32 GMT expires: - '-1' pragma: @@ -121,7 +120,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399995 status: code: 200 message: OK @@ -139,32 +138,32 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: body: string: "{\r\n \"name\": \"disk000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-06-16T03:31:11.0030381+00:00\",\r\n \"provisioningState\": - \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 1099511627776,\r\n \"uniqueId\": \"19fc04e9-c43f-4dbf-b023-591917ca0ffa\",\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P30\"\r\n }\r\n}" + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:30.3189281+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"70448667-670e-46f8-bc8a-bf8232795843\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '931' + - '936' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:13 GMT + - Tue, 12 Oct 2021 03:01:33 GMT expires: - '-1' pragma: @@ -181,13 +180,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14999,Microsoft.Compute/LowCostGet30Min;119999 + - Microsoft.Compute/LowCostGet3Min;14998,Microsoft.Compute/LowCostGet30Min;119977 status: code: 200 message: OK - request: - body: '{"location": "eastus", "tags": {}, "sku": {"name": "Premium_LRS"}, "zones": - ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": + body: '{"location": "eastus2euap", "tags": {}, "sku": {"name": "Premium_LRS"}, + "zones": ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "Empty"}, "diskSizeGB": 1024, "maxShares": 2}}' headers: Accept: @@ -199,18 +198,18 @@ interactions: Connection: - keep-alive Content-Length: - - '203' + - '208' Content-Type: - application/json ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: body: - string: "{\r\n \"name\": \"disk000003\",\r\n \"location\": \"eastus\",\r\n + string: "{\r\n \"name\": \"disk000003\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n @@ -218,19 +217,19 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/1ba17a55-0ea1-4196-89a4-f3eb660c00a4?api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/9a576f77-b8c4-42da-b8ab-7344223fe826?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 cache-control: - no-cache content-length: - - '371' + - '376' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:19 GMT + - Tue, 12 Oct 2021 03:01:41 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/1ba17a55-0ea1-4196-89a4-f3eb660c00a4?monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/9a576f77-b8c4-42da-b8ab-7344223fe826?p=88376d82-510f-4098-9fed-60d0fb8eb079&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -261,36 +260,35 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus/DiskOperations/1ba17a55-0ea1-4196-89a4-f3eb660c00a4?api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/9a576f77-b8c4-42da-b8ab-7344223fe826?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-06-16T03:31:20.1281527+00:00\",\r\n \"endTime\": - \"2021-06-16T03:31:20.2687482+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-10-12T03:01:41.8662376+00:00\",\r\n \"endTime\": + \"2021-10-12T03:01:41.9912403+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-06-16T03:31:20.1281527+00:00\",\r\n \"provisioningState\": - \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 1099511627776,\r\n \"uniqueId\": \"433830d0-838a-49cf-872f-074880bd4a1f\",\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P30\"\r\n }\r\n}\r\n - \ },\r\n \"name\": \"1ba17a55-0ea1-4196-89a4-f3eb660c00a4\"\r\n}" + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:41.8662376+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"4239473b-d20d-4948-8bf5-7500b7de8ba4\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"9a576f77-b8c4-42da-b8ab-7344223fe826\"\r\n}" headers: cache-control: - no-cache content-length: - - '1156' + - '1161' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:21 GMT + - Tue, 12 Oct 2021 03:01:44 GMT expires: - '-1' pragma: @@ -307,7 +305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399997 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399993 status: code: 200 message: OK @@ -325,32 +323,32 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-compute/21.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: body: string: "{\r\n \"name\": \"disk000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus\",\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"timeCreated\": \"2021-06-16T03:31:20.1281527+00:00\",\r\n \"provisioningState\": - \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n \"diskSizeBytes\": - 1099511627776,\r\n \"uniqueId\": \"433830d0-838a-49cf-872f-074880bd4a1f\",\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"tier\": \"P30\"\r\n }\r\n}" + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:41.8662376+00:00\",\r\n + \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"4239473b-d20d-4948-8bf5-7500b7de8ba4\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '931' + - '936' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:22 GMT + - Tue, 12 Oct 2021 03:01:44 GMT expires: - '-1' pragma: @@ -367,7 +365,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119997 + - Microsoft.Compute/LowCostGet3Min;14995,Microsoft.Compute/LowCostGet30Min;119974 status: code: 200 message: OK @@ -390,8 +388,8 @@ interactions: ParameterSetName: - --assignee-object-id --role --scope User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.25.0 + - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.29.0 accept-language: - en-US method: POST @@ -414,19 +412,19 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 16 Jun 2021 03:31:25 GMT + - Tue, 12 Oct 2021 03:01:45 GMT duration: - - '3109836' + - '2765207' expires: - '-1' ocp-aad-diagnostics-server-name: - - n5QUhUbqhU+XtwGocvRPzUtEBzXyUogbMRaINVzZ50A= + - xVkh8BmpzPWIrx0oh+GgBk0xsaxS60I+U9+RKBuOePg= ocp-aad-session-key: - - mPAtf-FiQKo-mBLV3xrWIWuJyTHjzGSJmPY8IVhGW_HuCdZqOKwK-8M5yDOnlMpEA1Bb4b9aNawxg7WMRPf99F26VtOkyWmQx92jVLmtt8FAS1jGV1JwQWqOV1mHWEpA.05pef6wlWsOfSxYfM5-Pjfl1F0cJdA1-jlx3xeNUvmA + - hAUPuf2sHBCFVjhSH6nUUgQqDDQGZC1KdYmn8IxRE_dVlldgN214PIa5FPJKQk1VPPU9TyjyeRiSuZYHzgSOCcQVnJ8nXWZ_y7603IJsmEzchRVeri22LO8MQOxQdOUX.nwM2BKjW87UUPviqGDnMQDhr3kn_CGyVznMyuxG-sPE pragma: - no-cache request-id: - - 31f94e77-9725-49ef-b536-1070aafd4226 + - 06ab97e9-a3e9-41d2-b4f6-eb134bf3a0b8 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -454,8 +452,8 @@ interactions: ParameterSetName: - --assignee-object-id --role --scope User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.25.0 + - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 accept-language: - en-US method: GET @@ -464,16 +462,16 @@ interactions: body: string: '{"value":[{"properties":{"roleName":"Virtual Machine Contributor","type":"BuiltInRole","description":"Lets you manage virtual machines, but not access to them, and not the virtual network - or storage account they''re connected to.","assignableScopes":["/"],"permissions":[{"actions":["Microsoft.Authorization/*/read","Microsoft.Compute/availabilitySets/*","Microsoft.Compute/locations/*","Microsoft.Compute/virtualMachines/*","Microsoft.Compute/virtualMachineScaleSets/*","Microsoft.Compute/disks/write","Microsoft.Compute/disks/read","Microsoft.Compute/disks/delete","Microsoft.DevTestLab/schedules/*","Microsoft.Insights/alertRules/*","Microsoft.Network/applicationGateways/backendAddressPools/join/action","Microsoft.Network/loadBalancers/backendAddressPools/join/action","Microsoft.Network/loadBalancers/inboundNatPools/join/action","Microsoft.Network/loadBalancers/inboundNatRules/join/action","Microsoft.Network/loadBalancers/probes/join/action","Microsoft.Network/loadBalancers/read","Microsoft.Network/locations/*","Microsoft.Network/networkInterfaces/*","Microsoft.Network/networkSecurityGroups/join/action","Microsoft.Network/networkSecurityGroups/read","Microsoft.Network/publicIPAddresses/join/action","Microsoft.Network/publicIPAddresses/read","Microsoft.Network/virtualNetworks/read","Microsoft.Network/virtualNetworks/subnets/join/action","Microsoft.RecoveryServices/locations/*","Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write","Microsoft.RecoveryServices/Vaults/backupPolicies/read","Microsoft.RecoveryServices/Vaults/backupPolicies/write","Microsoft.RecoveryServices/Vaults/read","Microsoft.RecoveryServices/Vaults/usages/read","Microsoft.RecoveryServices/Vaults/write","Microsoft.ResourceHealth/availabilityStatuses/read","Microsoft.Resources/deployments/*","Microsoft.Resources/subscriptions/resourceGroups/read","Microsoft.SqlVirtualMachine/*","Microsoft.Storage/storageAccounts/listKeys/action","Microsoft.Storage/storageAccounts/read","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2015-06-02T00:18:27.3542698Z","updatedOn":"2020-02-03T19:38:21.2170228Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","type":"Microsoft.Authorization/roleDefinitions","name":"9980e02c-c2be-4d73-94e8-173b1dc7cf3c"}]}' + or storage account they''re connected to.","assignableScopes":["/"],"permissions":[{"actions":["Microsoft.Authorization/*/read","Microsoft.Compute/availabilitySets/*","Microsoft.Compute/locations/*","Microsoft.Compute/virtualMachines/*","Microsoft.Compute/virtualMachineScaleSets/*","Microsoft.Compute/cloudServices/*","Microsoft.Compute/disks/write","Microsoft.Compute/disks/read","Microsoft.Compute/disks/delete","Microsoft.DevTestLab/schedules/*","Microsoft.Insights/alertRules/*","Microsoft.Network/applicationGateways/backendAddressPools/join/action","Microsoft.Network/loadBalancers/backendAddressPools/join/action","Microsoft.Network/loadBalancers/inboundNatPools/join/action","Microsoft.Network/loadBalancers/inboundNatRules/join/action","Microsoft.Network/loadBalancers/probes/join/action","Microsoft.Network/loadBalancers/read","Microsoft.Network/locations/*","Microsoft.Network/networkInterfaces/*","Microsoft.Network/networkSecurityGroups/join/action","Microsoft.Network/networkSecurityGroups/read","Microsoft.Network/publicIPAddresses/join/action","Microsoft.Network/publicIPAddresses/read","Microsoft.Network/virtualNetworks/read","Microsoft.Network/virtualNetworks/subnets/join/action","Microsoft.RecoveryServices/locations/*","Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write","Microsoft.RecoveryServices/Vaults/backupPolicies/read","Microsoft.RecoveryServices/Vaults/backupPolicies/write","Microsoft.RecoveryServices/Vaults/read","Microsoft.RecoveryServices/Vaults/usages/read","Microsoft.RecoveryServices/Vaults/write","Microsoft.ResourceHealth/availabilityStatuses/read","Microsoft.Resources/deployments/*","Microsoft.Resources/subscriptions/resourceGroups/read","Microsoft.SerialConsole/serialPorts/connect/action","Microsoft.SqlVirtualMachine/*","Microsoft.Storage/storageAccounts/listKeys/action","Microsoft.Storage/storageAccounts/read","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2015-06-02T00:18:27.3542698Z","updatedOn":"2021-10-01T06:29:39.7447802Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","type":"Microsoft.Authorization/roleDefinitions","name":"9980e02c-c2be-4d73-94e8-173b1dc7cf3c"}]}' headers: cache-control: - no-cache content-length: - - '2704' + - '2793' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:26 GMT + - Tue, 12 Oct 2021 03:01:46 GMT expires: - '-1' pragma: @@ -512,15 +510,15 @@ interactions: ParameterSetName: - --assignee-object-id --role --scope User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.25.0 + - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-06-16T03:31:27.2539546Z","updatedOn":"2021-06-16T03:31:28.0939390Z","createdBy":null,"updatedBy":"21cd756e-e290-4a26-9547-93e8cc1a8923","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-12T03:01:46.5160193Z","updatedOn":"2021-10-12T03:01:46.9691958Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -529,7 +527,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:32 GMT + - Tue, 12 Oct 2021 03:01:51 GMT expires: - '-1' pragma: @@ -564,8 +562,8 @@ interactions: ParameterSetName: - --assignee-object-id --role --scope User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.25.0 + - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.29.0 accept-language: - en-US method: POST @@ -588,19 +586,19 @@ interactions: dataserviceversion: - 3.0; date: - - Wed, 16 Jun 2021 03:31:32 GMT + - Tue, 12 Oct 2021 03:01:52 GMT duration: - - '2810223' + - '2549530' expires: - '-1' ocp-aad-diagnostics-server-name: - - ogWzhH8PujQkdNFnPj+qcPhnvppFuF516dVPAutDfcg= + - 0E1Vnw4IHQF+Fmtqi9z6ForXg7MH2gV4krm6hoFfccs= ocp-aad-session-key: - - 0lqRS-YJjOBlnOXgU8sdT06zQC0QzD_CcP0QcD0Blm8PQzog2hpz7tVoWaxUsWsmlDitmnkqx-emWJ9lpt1NzuksB7raOxETsXjxtHh6mZV6gKnDmITZF-VNN0sjL2Xx.0VvEyl5crSqvXRIuHG6qv8uZrMQBrAUlbf8A83vdrNo + - htwlg8_Q_oEwBswTB5NAA7ayJdSspPxTz6CDZjjU23MJd2YoSAx2HLE-ogzkBWGPkD-l3HG2b1-0xw4M3SJVw3uQ5YWBVIihbihZ-tnMNYv0PgH75IZaphqrS7CCLnYp.Ye9hqbCcixyypf8uV6EXNgZg3J-0uXC4QD9DF6OvHTM pragma: - no-cache request-id: - - 75523bdc-0cc1-49c0-bca2-46a1d0cab5c4 + - f27bd550-3e86-4973-aa63-de0ac29bdc74 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -628,8 +626,8 @@ interactions: ParameterSetName: - --assignee-object-id --role --scope User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.25.0 + - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 accept-language: - en-US method: GET @@ -638,16 +636,16 @@ interactions: body: string: '{"value":[{"properties":{"roleName":"Virtual Machine Contributor","type":"BuiltInRole","description":"Lets you manage virtual machines, but not access to them, and not the virtual network - or storage account they''re connected to.","assignableScopes":["/"],"permissions":[{"actions":["Microsoft.Authorization/*/read","Microsoft.Compute/availabilitySets/*","Microsoft.Compute/locations/*","Microsoft.Compute/virtualMachines/*","Microsoft.Compute/virtualMachineScaleSets/*","Microsoft.Compute/disks/write","Microsoft.Compute/disks/read","Microsoft.Compute/disks/delete","Microsoft.DevTestLab/schedules/*","Microsoft.Insights/alertRules/*","Microsoft.Network/applicationGateways/backendAddressPools/join/action","Microsoft.Network/loadBalancers/backendAddressPools/join/action","Microsoft.Network/loadBalancers/inboundNatPools/join/action","Microsoft.Network/loadBalancers/inboundNatRules/join/action","Microsoft.Network/loadBalancers/probes/join/action","Microsoft.Network/loadBalancers/read","Microsoft.Network/locations/*","Microsoft.Network/networkInterfaces/*","Microsoft.Network/networkSecurityGroups/join/action","Microsoft.Network/networkSecurityGroups/read","Microsoft.Network/publicIPAddresses/join/action","Microsoft.Network/publicIPAddresses/read","Microsoft.Network/virtualNetworks/read","Microsoft.Network/virtualNetworks/subnets/join/action","Microsoft.RecoveryServices/locations/*","Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write","Microsoft.RecoveryServices/Vaults/backupPolicies/read","Microsoft.RecoveryServices/Vaults/backupPolicies/write","Microsoft.RecoveryServices/Vaults/read","Microsoft.RecoveryServices/Vaults/usages/read","Microsoft.RecoveryServices/Vaults/write","Microsoft.ResourceHealth/availabilityStatuses/read","Microsoft.Resources/deployments/*","Microsoft.Resources/subscriptions/resourceGroups/read","Microsoft.SqlVirtualMachine/*","Microsoft.Storage/storageAccounts/listKeys/action","Microsoft.Storage/storageAccounts/read","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2015-06-02T00:18:27.3542698Z","updatedOn":"2020-02-03T19:38:21.2170228Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","type":"Microsoft.Authorization/roleDefinitions","name":"9980e02c-c2be-4d73-94e8-173b1dc7cf3c"}]}' + or storage account they''re connected to.","assignableScopes":["/"],"permissions":[{"actions":["Microsoft.Authorization/*/read","Microsoft.Compute/availabilitySets/*","Microsoft.Compute/locations/*","Microsoft.Compute/virtualMachines/*","Microsoft.Compute/virtualMachineScaleSets/*","Microsoft.Compute/cloudServices/*","Microsoft.Compute/disks/write","Microsoft.Compute/disks/read","Microsoft.Compute/disks/delete","Microsoft.DevTestLab/schedules/*","Microsoft.Insights/alertRules/*","Microsoft.Network/applicationGateways/backendAddressPools/join/action","Microsoft.Network/loadBalancers/backendAddressPools/join/action","Microsoft.Network/loadBalancers/inboundNatPools/join/action","Microsoft.Network/loadBalancers/inboundNatRules/join/action","Microsoft.Network/loadBalancers/probes/join/action","Microsoft.Network/loadBalancers/read","Microsoft.Network/locations/*","Microsoft.Network/networkInterfaces/*","Microsoft.Network/networkSecurityGroups/join/action","Microsoft.Network/networkSecurityGroups/read","Microsoft.Network/publicIPAddresses/join/action","Microsoft.Network/publicIPAddresses/read","Microsoft.Network/virtualNetworks/read","Microsoft.Network/virtualNetworks/subnets/join/action","Microsoft.RecoveryServices/locations/*","Microsoft.RecoveryServices/Vaults/backupFabrics/backupProtectionIntent/write","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/*/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/read","Microsoft.RecoveryServices/Vaults/backupFabrics/protectionContainers/protectedItems/write","Microsoft.RecoveryServices/Vaults/backupPolicies/read","Microsoft.RecoveryServices/Vaults/backupPolicies/write","Microsoft.RecoveryServices/Vaults/read","Microsoft.RecoveryServices/Vaults/usages/read","Microsoft.RecoveryServices/Vaults/write","Microsoft.ResourceHealth/availabilityStatuses/read","Microsoft.Resources/deployments/*","Microsoft.Resources/subscriptions/resourceGroups/read","Microsoft.SerialConsole/serialPorts/connect/action","Microsoft.SqlVirtualMachine/*","Microsoft.Storage/storageAccounts/listKeys/action","Microsoft.Storage/storageAccounts/read","Microsoft.Support/*"],"notActions":[],"dataActions":[],"notDataActions":[]}],"createdOn":"2015-06-02T00:18:27.3542698Z","updatedOn":"2021-10-01T06:29:39.7447802Z","createdBy":null,"updatedBy":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","type":"Microsoft.Authorization/roleDefinitions","name":"9980e02c-c2be-4d73-94e8-173b1dc7cf3c"}]}' headers: cache-control: - no-cache content-length: - - '2704' + - '2793' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:33 GMT + - Tue, 12 Oct 2021 03:01:53 GMT expires: - '-1' pragma: @@ -686,15 +684,15 @@ interactions: ParameterSetName: - --assignee-object-id --role --scope User-Agent: - - python/3.8.3 (Windows-10-10.0.19041-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.25.0 + - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-06-16T03:31:33.9113901Z","updatedOn":"2021-06-16T03:31:34.7914031Z","createdBy":null,"updatedBy":"21cd756e-e290-4a26-9547-93e8cc1a8923","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-12T03:01:53.6928451Z","updatedOn":"2021-10-12T03:01:54.1616213Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -703,7 +701,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:39 GMT + - Tue, 12 Oct 2021 03:01:59 GMT expires: - '-1' pragma: @@ -715,13 +713,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created - request: - body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": - ["10.0.0.0/16"]}, "dhcpOptions": {}}}' + body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": + {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}}}' headers: Accept: - application/json @@ -732,22 +730,22 @@ interactions: Connection: - keep-alive Content-Length: - - '123' + - '128' Content-Type: - application/json ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"0d75cbab-521f-4767-b30b-c2d11e9df127\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"000f2d94-24e5-4362-a645-b3ef91f9b0e6\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\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\": @@ -756,15 +754,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9b96a6e6-546b-488d-98fd-e786117f8904?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5eeddf7c-0bda-435d-81d0-111a8896be8f?api-version=2021-02-01 cache-control: - no-cache content-length: - - '683' + - '688' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:47 GMT + - Tue, 12 Oct 2021 03:02:08 GMT expires: - '-1' pragma: @@ -777,7 +775,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 363fcfbf-ac3c-487d-a6ce-15e4c6ecaeca + - 47e8f407-6d2c-43bd-bdcb-9bc3150097a5 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -797,9 +795,9 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/9b96a6e6-546b-488d-98fd-e786117f8904?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5eeddf7c-0bda-435d-81d0-111a8896be8f?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -811,7 +809,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:51 GMT + - Tue, 12 Oct 2021 03:02:11 GMT expires: - '-1' pragma: @@ -828,7 +826,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - a95c3a84-a20e-444f-9577-4c010ae7be26 + - ef9a08b0-43f8-476f-8980-3199caeca941 status: code: 200 message: OK @@ -846,16 +844,16 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"a23e3034-8e41-4eea-b4b2-90be6b3f4050\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"de0c3e62-25ae-41af-9d8d-d437a5b141ab\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\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\": @@ -864,13 +862,13 @@ interactions: cache-control: - no-cache content-length: - - '684' + - '689' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:52 GMT + - Tue, 12 Oct 2021 03:02:11 GMT etag: - - W/"a23e3034-8e41-4eea-b4b2-90be6b3f4050" + - W/"de0c3e62-25ae-41af-9d8d-d437a5b141ab" expires: - '-1' pragma: @@ -887,7 +885,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cd14fb5a-d51d-42f3-b7c1-649a99375b25 + - 34991e25-2911-4a18-b358-84d835162028 status: code: 200 message: OK @@ -905,16 +903,16 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"a23e3034-8e41-4eea-b4b2-90be6b3f4050\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"de0c3e62-25ae-41af-9d8d-d437a5b141ab\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\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\": @@ -923,13 +921,13 @@ interactions: cache-control: - no-cache content-length: - - '684' + - '689' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:54 GMT + - Tue, 12 Oct 2021 03:02:12 GMT etag: - - W/"a23e3034-8e41-4eea-b4b2-90be6b3f4050" + - W/"de0c3e62-25ae-41af-9d8d-d437a5b141ab" expires: - '-1' pragma: @@ -946,13 +944,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2aed7e27-fe2c-4fa7-bc97-9267f833ff0d + - 6aa58586-ce9a-4865-8315-00cb05a42911 status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004", - "location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"name": "subnet000005", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.StoragePool/diskPools"}}], "privateEndpointNetworkPolicies": @@ -968,32 +966,32 @@ interactions: Connection: - keep-alive Content-Length: - - '624' + - '629' Content-Type: - application/json ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"676c2cd3-68a3-4fa3-ac0a-3bc89195d9c2\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"edade983-3011-4eb7-996b-e298bb398547\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"676c2cd3-68a3-4fa3-ac0a-3bc89195d9c2\\\"\",\r\n + \ \"etag\": \"W/\\\"edade983-3011-4eb7-996b-e298bb398547\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"676c2cd3-68a3-4fa3-ac0a-3bc89195d9c2\\\"\",\r\n + \ \"etag\": \"W/\\\"edade983-3011-4eb7-996b-e298bb398547\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1004,16 +1002,18 @@ interactions: \ }\r\n ],\r\n \"virtualNetworkPeerings\": [],\r\n \"enableDdosProtection\": false\r\n }\r\n}" headers: + azure-asyncnotification: + - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cd99ea88-6b25-4d59-8b1b-1dd0dc6be659?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/98c7a868-63f2-4632-b495-0c9c996781b3?api-version=2021-02-01 cache-control: - no-cache content-length: - - '1996' + - '2001' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:55 GMT + - Tue, 12 Oct 2021 03:02:12 GMT expires: - '-1' pragma: @@ -1030,9 +1030,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - cfb52276-120b-4fdb-b678-6c7d1d5ae8a1 + - 4da0439e-2e26-4e62-9cb4-64c488ed9279 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1050,9 +1050,9 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/cd99ea88-6b25-4d59-8b1b-1dd0dc6be659?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/98c7a868-63f2-4632-b495-0c9c996781b3?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1064,7 +1064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:58 GMT + - Tue, 12 Oct 2021 03:02:16 GMT expires: - '-1' pragma: @@ -1081,7 +1081,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8437e71e-2966-482a-87cb-bdef6161fa91 + - 1f0f0672-abcb-48cb-9421-a2c037bbb879 status: code: 200 message: OK @@ -1099,26 +1099,26 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.25.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"5490f5a3-66b7-4fba-b6e5-408d26f3f36f\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n + \ \"etag\": \"W/\\\"6af7869d-a51f-458f-b772-04d87429fc21\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"5490f5a3-66b7-4fba-b6e5-408d26f3f36f\\\"\",\r\n + \ \"etag\": \"W/\\\"6af7869d-a51f-458f-b772-04d87429fc21\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"5490f5a3-66b7-4fba-b6e5-408d26f3f36f\\\"\",\r\n + \ \"etag\": \"W/\\\"6af7869d-a51f-458f-b772-04d87429fc21\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1132,13 +1132,13 @@ interactions: cache-control: - no-cache content-length: - - '1998' + - '2003' content-type: - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 03:31:59 GMT + - Tue, 12 Oct 2021 03:02:16 GMT etag: - - W/"5490f5a3-66b7-4fba-b6e5-408d26f3f36f" + - W/"6af7869d-a51f-458f-b772-04d87429fc21" expires: - '-1' pragma: @@ -1155,12 +1155,12 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - b665d639-cba2-44c3-8b5e-bf734e4845aa + - 60ec0c31-bafc-440e-9a70-856964d9498b status: code: 200 message: OK - request: - body: '{"sku": {"name": "Standard", "tier": "Standard"}, "location": "eastus", + body: '{"sku": {"name": "Standard_S1", "tier": "Standard"}, "location": "eastus2euap", "properties": {"availabilityZones": ["3"], "disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005"}}' headers: @@ -1173,32 +1173,36 @@ interactions: Connection: - keep-alive Content-Length: - - '439' + - '447' Content-Type: - application/json ParameterSetName: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T03:32:03.9430937Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 cache-control: - no-cache content-length: - - '927' + - '949' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:32:08 GMT + - Tue, 12 Oct 2021 03:02:26 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -1208,7 +1212,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1197' x-ms-return-client-request-id: - 'true' status: @@ -1229,21 +1233,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:32:18 GMT + - Tue, 12 Oct 2021 03:02:37 GMT expires: - '-1' pragma: @@ -1276,21 +1282,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:32:48 GMT + - Tue, 12 Oct 2021 03:03:07 GMT expires: - '-1' pragma: @@ -1323,21 +1331,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:33:19 GMT + - Tue, 12 Oct 2021 03:03:38 GMT expires: - '-1' pragma: @@ -1370,21 +1380,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:33:49 GMT + - Tue, 12 Oct 2021 03:04:09 GMT expires: - '-1' pragma: @@ -1417,21 +1429,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:34:20 GMT + - Tue, 12 Oct 2021 03:04:39 GMT expires: - '-1' pragma: @@ -1464,21 +1478,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:34:51 GMT + - Tue, 12 Oct 2021 03:05:09 GMT expires: - '-1' pragma: @@ -1511,21 +1527,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:35:21 GMT + - Tue, 12 Oct 2021 03:05:40 GMT expires: - '-1' pragma: @@ -1558,21 +1576,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:35:52 GMT + - Tue, 12 Oct 2021 03:06:11 GMT expires: - '-1' pragma: @@ -1605,21 +1625,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:36:22 GMT + - Tue, 12 Oct 2021 03:06:41 GMT expires: - '-1' pragma: @@ -1652,21 +1674,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:36:53 GMT + - Tue, 12 Oct 2021 03:07:12 GMT expires: - '-1' pragma: @@ -1699,21 +1723,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:37:24 GMT + - Tue, 12 Oct 2021 03:07:44 GMT expires: - '-1' pragma: @@ -1746,21 +1772,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:37:54 GMT + - Tue, 12 Oct 2021 03:08:14 GMT expires: - '-1' pragma: @@ -1793,21 +1821,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:38:24 GMT + - Tue, 12 Oct 2021 03:08:44 GMT expires: - '-1' pragma: @@ -1840,21 +1870,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:38:55 GMT + - Tue, 12 Oct 2021 03:09:14 GMT expires: - '-1' pragma: @@ -1887,21 +1919,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Succeeded","startTime":"2021-10-12T03:02:25Z","endTime":"2021-10-12T03:09:22Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '243' + - '1235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:39:26 GMT + - Tue, 12 Oct 2021 03:09:46 GMT expires: - '-1' pragma: @@ -1934,21 +1968,23 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '243' + - '951' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:39:56 GMT + - Tue, 12 Oct 2021 03:09:46 GMT expires: - '-1' pragma: @@ -1970,32 +2006,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool show Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '243' + - '951' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:40:26 GMT + - Tue, 12 Oct 2021 03:09:48 GMT expires: - '-1' pragma: @@ -2017,32 +2054,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool list Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '243' + - '979' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:40:57 GMT + - Tue, 12 Oct 2021 03:09:49 GMT expires: - '-1' pragma: @@ -2064,32 +2102,37 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool list-outbound-network-dependency-endpoint Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/outboundNetworkDependenciesEndpoints?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"value":[{"category":"Microsoft Event Hub","endpoints":[{"domainName":"evhns-rp-prod-eus2euap.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft + Service Bus","endpoints":[{"domainName":"sb-rp-prod-eus2euap.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft + Service Bus (data plane)","endpoints":[{"domainName":"sb-rp-prod-eus2euap.servicebus.windows.net","endpointDetails":[{"port":5671}]}]},{"category":"Microsoft + Storage","endpoints":[{"domainName":"strpprodeus2euap.blob.core.windows.net","endpointDetails":[{"port":443}]},{"domainName":"stbsprodeus2euap.blob.core.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft + Apt Mirror","endpoints":[{"domainName":"azure.archive.ubuntu.com","endpointDetails":[{"port":443}]}]}]}' headers: cache-control: - no-cache content-length: - - '243' + - '808' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:41:28 GMT + - Tue, 12 Oct 2021 03:09:50 GMT expires: - '-1' pragma: @@ -2108,52 +2151,62 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"aclMode": "Dynamic", "luns": [{"name": "lun0", "managedDiskAzureResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}]}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive + Content-Length: + - '228' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Pending","status":"Unknown"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 cache-control: - no-cache content-length: - - '243' + - '863' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:41:58 GMT + - Tue, 12 Oct 2021 03:09:52 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1196' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -2162,28 +2215,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/07451fdb-88fb-435f-8a5f-e606c28c473c","name":"07451fdb-88fb-435f-8a5f-e606c28c473c","status":"Running","startTime":"2021-10-12T03:09:52Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:42:29 GMT + - Tue, 12 Oct 2021 03:10:02 GMT expires: - '-1' pragma: @@ -2209,28 +2263,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/07451fdb-88fb-435f-8a5f-e606c28c473c","name":"07451fdb-88fb-435f-8a5f-e606c28c473c","status":"Succeeded","startTime":"2021-10-12T03:09:52Z","endTime":"2021-10-12T03:10:07Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache content-length: - - '243' + - '1149' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:42:59 GMT + - Tue, 12 Oct 2021 03:10:33 GMT expires: - '-1' pragma: @@ -2256,28 +2311,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '243' + - '865' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:43:30 GMT + - Tue, 12 Oct 2021 03:10:33 GMT expires: - '-1' pragma: @@ -2299,32 +2355,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target show Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '243' + - '865' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:44:01 GMT + - Tue, 12 Oct 2021 03:10:35 GMT expires: - '-1' pragma: @@ -2346,32 +2403,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target list Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --disk-pool-name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '243' + - '893' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:44:31 GMT + - Tue, 12 Oct 2021 03:10:36 GMT expires: - '-1' pragma: @@ -2390,52 +2448,62 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 cache-control: - no-cache content-length: - - '243' + - '2' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:45:02 GMT + - Tue, 12 Oct 2021 03:10:39 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2444,28 +2512,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:45:33 GMT + - Tue, 12 Oct 2021 03:10:50 GMT expires: - '-1' pragma: @@ -2491,28 +2560,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:46:03 GMT + - Tue, 12 Oct 2021 03:11:21 GMT expires: - '-1' pragma: @@ -2538,28 +2608,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:46:34 GMT + - Tue, 12 Oct 2021 03:11:51 GMT expires: - '-1' pragma: @@ -2585,28 +2656,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:47:05 GMT + - Tue, 12 Oct 2021 03:12:21 GMT expires: - '-1' pragma: @@ -2632,28 +2704,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:47:35 GMT + - Tue, 12 Oct 2021 03:12:52 GMT expires: - '-1' pragma: @@ -2679,28 +2752,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:48:05 GMT + - Tue, 12 Oct 2021 03:13:23 GMT expires: - '-1' pragma: @@ -2726,28 +2800,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:48:36 GMT + - Tue, 12 Oct 2021 03:13:53 GMT expires: - '-1' pragma: @@ -2773,28 +2848,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:49:07 GMT + - Tue, 12 Oct 2021 03:14:24 GMT expires: - '-1' pragma: @@ -2820,28 +2896,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:49:37 GMT + - Tue, 12 Oct 2021 03:14:54 GMT expires: - '-1' pragma: @@ -2867,28 +2944,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Succeeded","startTime":"2021-10-12T03:10:40Z","endTime":"2021-10-12T03:14:57Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '243' + - '1372' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:50:07 GMT + - Tue, 12 Oct 2021 03:15:25 GMT expires: - '-1' pragma: @@ -2914,28 +2992,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group --disks User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '243' + - '1088' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:50:38 GMT + - Tue, 12 Oct 2021 03:15:26 GMT expires: - '-1' pragma: @@ -2954,52 +3033,63 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"luns": [{"name": "lun0", "managedDiskAzureResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, + {"name": "lun1", "managedDiskAzureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 cache-control: - no-cache content-length: - - '243' + - '2' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:51:09 GMT + - Tue, 12 Oct 2021 03:15:27 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -3008,28 +3098,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:51:39 GMT + - Tue, 12 Oct 2021 03:15:39 GMT expires: - '-1' pragma: @@ -3055,28 +3146,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:52:10 GMT + - Tue, 12 Oct 2021 03:16:09 GMT expires: - '-1' pragma: @@ -3102,28 +3194,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:52:41 GMT + - Tue, 12 Oct 2021 03:16:40 GMT expires: - '-1' pragma: @@ -3149,28 +3242,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:53:12 GMT + - Tue, 12 Oct 2021 03:17:10 GMT expires: - '-1' pragma: @@ -3196,28 +3290,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:53:42 GMT + - Tue, 12 Oct 2021 03:17:40 GMT expires: - '-1' pragma: @@ -3243,28 +3338,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:54:12 GMT + - Tue, 12 Oct 2021 03:18:12 GMT expires: - '-1' pragma: @@ -3290,28 +3386,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:54:44 GMT + - Tue, 12 Oct 2021 03:18:42 GMT expires: - '-1' pragma: @@ -3337,28 +3434,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' headers: cache-control: - no-cache content-length: - - '243' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:55:14 GMT + - Tue, 12 Oct 2021 03:19:12 GMT expires: - '-1' pragma: @@ -3384,28 +3482,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Succeeded","startTime":"2021-10-12T03:15:28Z","endTime":"2021-10-12T03:19:19Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:15:27.2295539Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache content-length: - - '243' + - '1333' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:55:44 GMT + - Tue, 12 Oct 2021 03:19:43 GMT expires: - '-1' pragma: @@ -3431,28 +3530,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:15:27.2295539Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '243' + - '1049' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:56:14 GMT + - Tue, 12 Oct 2021 03:19:43 GMT expires: - '-1' pragma: @@ -3474,49 +3574,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool stop Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/deallocate?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 cache-control: - no-cache content-length: - - '243' + - '0' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:56:46 GMT + - Tue, 12 Oct 2021 03:19:45 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -3525,28 +3632,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:57:16 GMT + - Tue, 12 Oct 2021 03:19:55 GMT expires: - '-1' pragma: @@ -3572,28 +3680,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:57:46 GMT + - Tue, 12 Oct 2021 03:20:27 GMT expires: - '-1' pragma: @@ -3619,28 +3728,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Running","startTime":"2021-06-16T03:32:06Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:58:17 GMT + - Tue, 12 Oct 2021 03:20:57 GMT expires: - '-1' pragma: @@ -3666,28 +3776,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/8e81a7aa-0639-4b65-9342-40464c550ea7?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/8e81a7aa-0639-4b65-9342-40464c550ea7","name":"8e81a7aa-0639-4b65-9342-40464c550ea7","status":"Succeeded","startTime":"2021-06-16T03:32:06Z","endTime":"2021-06-16T03:58:21Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T03:32:03.9430937Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1208' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:58:48 GMT + - Tue, 12 Oct 2021 03:21:27 GMT expires: - '-1' pragma: @@ -3713,28 +3824,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T03:32:03.9430937Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '929' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 03:58:49 GMT + - Tue, 12 Oct 2021 03:21:59 GMT expires: - '-1' pragma: @@ -3756,31 +3868,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool show + - disk-pool stop Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T03:32:03.9430937Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '929' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:50:21 GMT + - Tue, 12 Oct 2021 03:22:29 GMT expires: - '-1' pragma: @@ -3802,31 +3916,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool list + - disk-pool stop Connection: - keep-alive ParameterSetName: - - --resource-group + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T03:32:03.9430937Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}],"nextLink":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '957' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:50:24 GMT + - Tue, 12 Oct 2021 03:22:59 GMT expires: - '-1' pragma: @@ -3848,34 +3964,34 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool list-outbound-network-dependency-endpoint + - disk-pool stop Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/outboundNetworkDependenciesEndpoints?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 response: body: - string: '{"value":[{"category":"Microsoft Event Hub","endpoints":[{"domainName":"evhns-rp-prod-eus.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft - Service Bus","endpoints":[{"domainName":"sb-rp-prod-eus.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft - Storage","endpoints":[{"domainName":"strpprodeastus.blob.core.windows.net","endpointDetails":[{"port":443}]},{"domainName":"stbsprodeeastus.blob.core.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft - Apt Mirror","endpoints":[{"domainName":"azure.archive.ubuntu.com","endpointDetails":[{"port":443}]}]}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Succeeded","startTime":"2021-10-12T03:19:45Z","endTime":"2021-10-12T03:23:19Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped + (deallocated)"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '637' + - '1386' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:50:25 GMT + - Tue, 12 Oct 2021 03:23:29 GMT expires: - '-1' pragma: @@ -3893,88 +4009,38 @@ interactions: status: code: 200 message: OK -- request: - body: '{"properties": {"aclMode": "Dynamic", "luns": [{"name": "lun0", "managedDiskAzureResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target create - Connection: - - keep-alive - Content-Length: - - '228' - Content-Type: - - application/json - ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T04:50:27.1571342Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Pending","status":"Unknown"}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87?api-version=2021-04-01-preview - cache-control: - - no-cache - content-length: - - '849' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 04:50:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-return-client-request-id: - - 'true' - status: - code: 201 - message: Created - request: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool show Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87","name":"72fbed46-0eb4-4e29-b533-8d607d1c1a87","status":"Running","startTime":"2021-06-16T04:50:27Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped + (deallocated)"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '230' + - '1102' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:50:37 GMT + - Tue, 12 Oct 2021 03:23:31 GMT expires: - '-1' pragma: @@ -3996,48 +4062,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool start Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/start?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87","name":"72fbed46-0eb4-4e29-b533-8d607d1c1a87","status":"Running","startTime":"2021-06-16T04:50:27Z"}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 cache-control: - no-cache content-length: - - '230' + - '0' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:51:08 GMT + - Tue, 12 Oct 2021 03:23:33 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -4046,27 +4120,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87","name":"72fbed46-0eb4-4e29-b533-8d607d1c1a87","status":"Running","startTime":"2021-06-16T04:50:27Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '230' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:51:38 GMT + - Tue, 12 Oct 2021 03:23:44 GMT expires: - '-1' pragma: @@ -4092,27 +4168,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/72fbed46-0eb4-4e29-b533-8d607d1c1a87","name":"72fbed46-0eb4-4e29-b533-8d607d1c1a87","status":"Succeeded","startTime":"2021-06-16T04:50:27Z","endTime":"2021-06-16T04:52:04Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T04:50:27.1571342Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1130' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:52:10 GMT + - Tue, 12 Oct 2021 03:24:14 GMT expires: - '-1' pragma: @@ -4138,27 +4216,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T04:50:27.1571342Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '851' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 04:52:10 GMT + - Tue, 12 Oct 2021 03:24:45 GMT expires: - '-1' pragma: @@ -4180,31 +4260,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target show + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T04:50:27.1571342Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '851' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:26:57 GMT + - Tue, 12 Oct 2021 03:25:16 GMT expires: - '-1' pragma: @@ -4226,753 +4308,50 @@ interactions: body: null headers: Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target list - Connection: - - keep-alive - ParameterSetName: - - --disk-pool-name --resource-group - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-04-01-preview - response: - body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T04:50:27.1571342Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '879' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:27:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - Content-Length: - - '307' - Content-Type: - - application/json - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - cache-control: - - no-cache - content-length: - - '0' - date: - - Wed, 16 Jun 2021 06:27:16 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:27:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:27:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:28:28 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:28:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:29:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:30:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:30:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:31:01 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:31:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:32:02 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Running","startTime":"2021-06-16T06:27:17Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '243' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:32:32 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/09693714-9411-4fec-bc88-43ea10b9c57e?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/09693714-9411-4fec-bc88-43ea10b9c57e","name":"09693714-9411-4fec-bc88-43ea10b9c57e","status":"Succeeded","startTime":"2021-06-16T06:27:17Z","endTime":"2021-06-16T06:33:00Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:27:15.6381309Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}}' - headers: - cache-control: - - no-cache - content-length: - - '1346' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:33:04 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:27:15.6381309Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '1067' - content-type: - - application/json - date: - - Wed, 16 Jun 2021 06:33:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: '{"properties": {"luns": [{"name": "lun0", "managedDiskAzureResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, - {"name": "lun1", "managedDiskAzureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' - headers: - Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool start Connection: - keep-alive - Content-Length: - - '386' - Content-Type: - - application/json ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/d5226da4-68af-4502-a2cb-0bc58307266f?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '0' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:35:16 GMT + - Tue, 12 Oct 2021 03:25:46 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/d5226da4-68af-4502-a2cb-0bc58307266f?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-ms-return-client-request-id: - 'true' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -4981,27 +4360,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/d5226da4-68af-4502-a2cb-0bc58307266f?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/d5226da4-68af-4502-a2cb-0bc58307266f","name":"d5226da4-68af-4502-a2cb-0bc58307266f","status":"Running","startTime":"2021-06-16T06:35:16Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '230' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:35:26 GMT + - Tue, 12 Oct 2021 03:26:16 GMT expires: - '-1' pragma: @@ -5027,27 +4408,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/d5226da4-68af-4502-a2cb-0bc58307266f?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/d5226da4-68af-4502-a2cb-0bc58307266f","name":"d5226da4-68af-4502-a2cb-0bc58307266f","status":"Succeeded","startTime":"2021-06-16T06:35:16Z","endTime":"2021-06-16T06:35:33Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:35:14.9113001Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1314' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:35:57 GMT + - Tue, 12 Oct 2021 03:26:47 GMT expires: - '-1' pragma: @@ -5073,27 +4456,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool start Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T04:50:27.1571342Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:35:14.9113001Z"},"properties":{"targetIqn":"iqn.2021-06.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.5:3260","10.0.0.4:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1035' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:35:57 GMT + - Tue, 12 Oct 2021 03:27:18 GMT expires: - '-1' pragma: @@ -5115,52 +4500,50 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/deallocate?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '0' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:35:58 GMT + - Tue, 12 Oct 2021 03:27:48 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-ms-return-client-request-id: - 'true' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -5169,27 +4552,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:36:09 GMT + - Tue, 12 Oct 2021 03:28:18 GMT expires: - '-1' pragma: @@ -5215,27 +4600,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:36:39 GMT + - Tue, 12 Oct 2021 03:28:50 GMT expires: - '-1' pragma: @@ -5261,27 +4648,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:37:10 GMT + - Tue, 12 Oct 2021 03:29:20 GMT expires: - '-1' pragma: @@ -5307,27 +4696,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:37:41 GMT + - Tue, 12 Oct 2021 03:29:50 GMT expires: - '-1' pragma: @@ -5353,27 +4744,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:38:11 GMT + - Tue, 12 Oct 2021 03:30:21 GMT expires: - '-1' pragma: @@ -5399,27 +4792,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:38:42 GMT + - Tue, 12 Oct 2021 03:30:53 GMT expires: - '-1' pragma: @@ -5445,27 +4840,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:39:12 GMT + - Tue, 12 Oct 2021 03:31:23 GMT expires: - '-1' pragma: @@ -5491,27 +4888,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:39:43 GMT + - Tue, 12 Oct 2021 03:31:53 GMT expires: - '-1' pragma: @@ -5537,27 +4936,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:40:14 GMT + - Tue, 12 Oct 2021 03:32:24 GMT expires: - '-1' pragma: @@ -5583,27 +4984,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:40:44 GMT + - Tue, 12 Oct 2021 03:32:54 GMT expires: - '-1' pragma: @@ -5629,27 +5032,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:41:14 GMT + - Tue, 12 Oct 2021 03:33:26 GMT expires: - '-1' pragma: @@ -5675,27 +5080,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Running","startTime":"2021-06-16T06:35:59Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:41:45 GMT + - Tue, 12 Oct 2021 03:33:56 GMT expires: - '-1' pragma: @@ -5721,28 +5128,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool stop + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/3e61ab2f-523b-4454-9610-d0cad1cabb0a","name":"3e61ab2f-523b-4454-9610-d0cad1cabb0a","status":"Succeeded","startTime":"2021-06-16T06:35:59Z","endTime":"2021-06-16T06:42:09Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:27:15.6381309Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped - (deallocated)"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1360' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:42:17 GMT + - Tue, 12 Oct 2021 03:34:26 GMT expires: - '-1' pragma: @@ -5764,32 +5172,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool show + - disk-pool start Connection: - keep-alive ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:27:15.6381309Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped - (deallocated)"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1081' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:42:19 GMT + - Tue, 12 Oct 2021 03:34:56 GMT expires: - '-1' pragma: @@ -5811,52 +5220,50 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - disk-pool start Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/start?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '0' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:42:21 GMT + - Tue, 12 Oct 2021 03:35:28 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' x-ms-return-client-request-id: - 'true' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -5871,21 +5278,23 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a","name":"b922af2d-e06a-46fc-a4c7-3d96ae8af24a","status":"Running","startTime":"2021-06-16T06:42:21Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:42:32 GMT + - Tue, 12 Oct 2021 03:35:58 GMT expires: - '-1' pragma: @@ -5917,21 +5326,23 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a","name":"b922af2d-e06a-46fc-a4c7-3d96ae8af24a","status":"Running","startTime":"2021-06-16T06:42:21Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:43:02 GMT + - Tue, 12 Oct 2021 03:36:28 GMT expires: - '-1' pragma: @@ -5963,21 +5374,23 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a","name":"b922af2d-e06a-46fc-a4c7-3d96ae8af24a","status":"Running","startTime":"2021-06-16T06:42:21Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:43:33 GMT + - Tue, 12 Oct 2021 03:36:59 GMT expires: - '-1' pragma: @@ -6009,21 +5422,23 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a","name":"b922af2d-e06a-46fc-a4c7-3d96ae8af24a","status":"Running","startTime":"2021-06-16T06:42:21Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:44:03 GMT + - Tue, 12 Oct 2021 03:37:30 GMT expires: - '-1' pragma: @@ -6055,21 +5470,23 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b922af2d-e06a-46fc-a4c7-3d96ae8af24a","name":"b922af2d-e06a-46fc-a4c7-3d96ae8af24a","status":"Succeeded","startTime":"2021-06-16T06:42:21Z","endTime":"2021-06-16T06:44:21Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:27:15.6381309Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Succeeded","startTime":"2021-10-12T03:23:34Z","endTime":"2021-10-12T03:37:35Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '1346' + - '1372' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:44:34 GMT + - Tue, 12 Oct 2021 03:38:00 GMT expires: - '-1' pragma: @@ -6101,21 +5518,23 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus","tags":{},"systemData":{"createdBy":"zuh@microsoft.com","createdByType":"User","createdAt":"2021-06-16T03:32:03.9430937Z","lastModifiedBy":"zuh@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-06-16T06:27:15.6381309Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '1067' + - '1088' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:44:37 GMT + - Tue, 12 Oct 2021 03:38:01 GMT expires: - '-1' pragma: @@ -6149,25 +5568,29 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 cache-control: - no-cache content-length: - '0' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:44:39 GMT + - Tue, 12 Oct 2021 03:38:03 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -6197,21 +5620,23 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/eb01e89c-4af4-4f78-a619-118827dbdb86","name":"eb01e89c-4af4-4f78-a619-118827dbdb86","status":"Running","startTime":"2021-06-16T06:44:39Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/80848d07-4baa-4168-b8fb-dc60afad5493","name":"80848d07-4baa-4168-b8fb-dc60afad5493","status":"Running","startTime":"2021-10-12T03:38:03Z"}' headers: cache-control: - no-cache content-length: - - '230' + - '235' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:44:49 GMT + - Tue, 12 Oct 2021 03:38:14 GMT expires: - '-1' pragma: @@ -6243,21 +5668,23 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/eb01e89c-4af4-4f78-a619-118827dbdb86","name":"eb01e89c-4af4-4f78-a619-118827dbdb86","status":"Running","startTime":"2021-06-16T06:44:39Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/80848d07-4baa-4168-b8fb-dc60afad5493","name":"80848d07-4baa-4168-b8fb-dc60afad5493","status":"Succeeded","startTime":"2021-10-12T03:38:03Z"}' headers: cache-control: - no-cache content-length: - - '230' + - '237' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:45:20 GMT + - Tue, 12 Oct 2021 03:38:44 GMT expires: - '-1' pragma: @@ -6279,31 +5706,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target delete + - disk-pool iscsi-target list Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group -y + - --disk-pool-name --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/eb01e89c-4af4-4f78-a619-118827dbdb86","name":"eb01e89c-4af4-4f78-a619-118827dbdb86","status":"Running","startTime":"2021-06-16T06:44:39Z"}' + string: '{"value":[],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '230' + - '28' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:45:50 GMT + - Tue, 12 Oct 2021 03:38:45 GMT expires: - '-1' pragma: @@ -6321,6 +5750,60 @@ interactions: status: code: 200 message: OK +- request: + body: null + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool delete + Connection: + - keep-alive + Content-Length: + - '0' + ParameterSetName: + - --name --resource-group -y + User-Agent: + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 + response: + body: + string: '' + headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 + cache-control: + - no-cache + content-length: + - '0' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 + date: + - Tue, 12 Oct 2021 03:38:48 GMT + expires: + - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + x-content-type-options: + - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' + x-ms-return-client-request-id: + - 'true' + status: + code: 202 + message: Accepted - request: body: null headers: @@ -6329,27 +5812,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target delete + - disk-pool delete Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group -y + - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/eb01e89c-4af4-4f78-a619-118827dbdb86","name":"eb01e89c-4af4-4f78-a619-118827dbdb86","status":"Succeeded","startTime":"2021-06-16T06:44:39Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '232' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:46:21 GMT + - Tue, 12 Oct 2021 03:38:58 GMT expires: - '-1' pragma: @@ -6371,31 +5856,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target list + - disk-pool delete Connection: - keep-alive ParameterSetName: - - --disk-pool-name --resource-group + - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"value":[],"nextLink":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '28' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:46:23 GMT + - Tue, 12 Oct 2021 03:39:29 GMT expires: - '-1' pragma: @@ -6417,52 +5904,50 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - disk-pool delete Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-04-01-preview + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview cache-control: - no-cache content-length: - - '0' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:46:25 GMT + - Tue, 12 Oct 2021 03:39:59 GMT expires: - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationresults/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding x-content-type-options: - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' x-ms-return-client-request-id: - 'true' status: - code: 202 - message: Accepted + code: 200 + message: OK - request: body: null headers: @@ -6477,21 +5962,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:46:35 GMT + - Tue, 12 Oct 2021 03:40:29 GMT expires: - '-1' pragma: @@ -6523,21 +6010,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:47:06 GMT + - Tue, 12 Oct 2021 03:41:00 GMT expires: - '-1' pragma: @@ -6569,21 +6058,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:47:36 GMT + - Tue, 12 Oct 2021 03:41:32 GMT expires: - '-1' pragma: @@ -6615,21 +6106,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:48:08 GMT + - Tue, 12 Oct 2021 03:42:03 GMT expires: - '-1' pragma: @@ -6661,21 +6154,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:48:38 GMT + - Tue, 12 Oct 2021 03:42:33 GMT expires: - '-1' pragma: @@ -6707,21 +6202,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:49:08 GMT + - Tue, 12 Oct 2021 03:43:03 GMT expires: - '-1' pragma: @@ -6753,21 +6250,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:49:39 GMT + - Tue, 12 Oct 2021 03:43:35 GMT expires: - '-1' pragma: @@ -6799,21 +6298,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:50:09 GMT + - Tue, 12 Oct 2021 03:44:05 GMT expires: - '-1' pragma: @@ -6845,21 +6346,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:50:40 GMT + - Tue, 12 Oct 2021 03:44:35 GMT expires: - '-1' pragma: @@ -6891,21 +6394,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '243' + - '248' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:51:11 GMT + - Tue, 12 Oct 2021 03:45:06 GMT expires: - '-1' pragma: @@ -6937,21 +6442,23 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus/operationStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Succeeded","startTime":"2021-06-16T06:46:25Z","endTime":"2021-06-16T06:51:36Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Succeeded","startTime":"2021-10-12T03:38:48Z","endTime":"2021-10-12T03:45:27Z"}' headers: cache-control: - no-cache content-length: - - '265' + - '270' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: - - application/json + - application/json; charset=UTF-8 date: - - Wed, 16 Jun 2021 06:51:42 GMT + - Tue, 12 Oct 2021 03:45:37 GMT expires: - '-1' pragma: @@ -6983,35 +6490,31 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.25.0 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 response: body: - string: '{"value":[],"nextLink":null}' + string: '{"value":[]}' headers: cache-control: - no-cache content-length: - - '28' + - '12' content-type: - - application/json + - application/json; charset=utf-8 date: - - Wed, 16 Jun 2021 06:51:44 GMT + - Tue, 12 Oct 2021 03:45:38 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-return-client-request-id: - - 'true' status: code: 200 message: OK diff --git a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py index 83fb88405ff..2a1a3e5916e 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py @@ -13,7 +13,7 @@ class DiskpoolScenarioTest(ScenarioTest): - @ResourceGroupPreparer(name_prefix='clitest', location='eastus', random_name_length=16) + @ResourceGroupPreparer(name_prefix='clitest', location='eastus2euap', random_name_length=16) def test_diskpool_scenario_manual(self, resource_group): self.kwargs.update({ 'rg': resource_group, @@ -24,7 +24,7 @@ def test_diskpool_scenario_manual(self, resource_group): 'subnetPrefix': '10.0.0.0/24', 'zone': "3", 'diskPoolName': self.create_random_name(prefix='diskpool', length=16), - 'location': 'eastus', + 'location': 'eastus2euap', 'targetName': self.create_random_name(prefix='iscsi', length=10), 'storagePoolObjectId': '09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad' }) @@ -46,7 +46,7 @@ def test_diskpool_scenario_manual(self, resource_group): # Create a Disk Pool self.cmd('disk-pool create --name {diskPoolName} --resource-group {rg} --location {location} ' - '--availability-zones {zone} --subnet-id {subnetId} --sku name="Standard" tier="Standard" ' + '--availability-zones {zone} --subnet-id {subnetId} --sku name="Standard_S1" tier="Standard" ' '--disks {diskId}', checks=[self.check('name', '{diskPoolName}'), self.check('availabilityZones[0]', '{zone}'), self.check('disks[0].id', '{diskId}'), @@ -58,11 +58,12 @@ def test_diskpool_scenario_manual(self, resource_group): self.check('disks[0].id', '{diskId}'), self.check('subnetId', '{subnetId}'), self.check('tier', 'Standard')]) + # self.cmd('disk-pool upgrade --name {diskPoolName} --resource-group {rg}', checks=[self.check('tier', 'Premium')]) self.cmd('disk-pool list --resource-group {rg}', checks=[self.check('length(@)', 1)]) self.cmd('disk-pool list-outbound-network-dependency-endpoint --name {diskPoolName} --resource-group {rg}', - checks=[self.check('length(@)', 4)]) + checks=[self.check('length(@)', 5)]) # Create an ISCSI target self.cmd('disk-pool iscsi-target create --name {targetName} --disk-pool-name {diskPoolName} ' @@ -111,5 +112,5 @@ def test_diskpool_scenario_manual(self, resource_group): checks=[self.check('length(@)', 0)]) def test_diskpool_list_sku_scenario_manual(self): - result = self.cmd('disk-pool list-skus -l eastus ').get_output_in_json() + result = self.cmd('disk-pool list-skus -l eastus2euap ').get_output_in_json() self.assertIsNotNone(result) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py new file mode 100644 index 00000000000..62a64993aa9 --- /dev/null +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -0,0 +1,196 @@ +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for +# license information. +# +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is +# regenerated. +# -------------------------------------------------------------------------- + +import os +from azure.cli.testsdk import ScenarioTest +from azure.cli.testsdk import ResourceGroupPreparer +from .preparers import VirtualNetworkPreparer +from .preparers import SubnetPreparer +from .preparers import SubnetPreparer +from .example_steps import step_create +from .example_steps import step_show +from .example_steps import step_list_outbound_network_dependency_endpoint +from .example_steps import step_list +from .example_steps import step_list2 +from .example_steps import step_update +from .example_steps import step_stop +from .example_steps import step_start +from .example_steps import step_upgrade +from .example_steps import step_upgrade +from .example_steps import step_delete +from .example_steps import step_list_skus +from .example_steps import step_list_zones +from .example_steps import step_list_zones +from .example_steps import step_iscsi_target_create +from .example_steps import step_iscsi_target_show +from .example_steps import step_iscsi_target_list +from .example_steps import step_iscsi_target_update +from .example_steps import step_iscsi_target_delete +from .. import ( + try_manual, + raise_if, + calc_coverage +) + + +TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) + + +# Env setup_scenario +@try_manual +def setup_scenario(test): + pass + + +# Env cleanup_scenario +@try_manual +def cleanup_scenario(test): + pass + + +# Testcase: Scenario +@try_manual +def call_scenario(test): + setup_scenario(test) + step_create(test, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + ]) + step_show(test, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), + test.check("sku.name", "Basic_V1", case_sensitive=False), + test.check("sku.tier", "Basic", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + ]) + step_list_outbound_network_dependency_endpoint(test, checks=[]) + step_list(test, checks=[ + test.check('length(@)', 1), + ]) + step_list2(test, checks=[ + test.check('length(@)', 1), + ]) + step_update(test, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + ]) + step_stop(test, checks=[]) + step_start(test, checks=[]) + step_upgrade(test, checks=[]) + step_delete(test, checks=[]) + step_list_skus(test, checks=[]) + step_list_zones(test, checks=[]) + step_iscsi_target_create(test, checks=[ + test.check("aclMode", "Dynamic", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_show(test, checks=[ + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_list(test, checks=[ + test.check('length(@)', 1), + ]) + step_iscsi_target_update(test, checks=[ + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_delete(test, checks=[]) + cleanup_scenario(test) + + + setup_scenario(test) + step_create(test, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + ]) + step_show(test, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), + test.check("sku.name", "Basic_V1", case_sensitive=False), + test.check("sku.tier", "Basic", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + ]) + step_list_outbound_network_dependency_endpoint(test, checks=[]) + step_list(test, checks=[ + test.check('length(@)', 1), + ]) + step_list2(test, checks=[ + test.check('length(@)', 1), + ]) + step_update(test, checks=[ + test.check("availabilityZones[0]", "1", case_sensitive=False), + test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" + "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), + test.check("name", "{myDiskPool}", case_sensitive=False), + ]) + step_stop(test, checks=[]) + step_start(test, checks=[]) + step_upgrade(test, checks=[]) + step_delete(test, checks=[]) + step_list_skus(test, checks=[]) + step_list_zones(test, checks=[]) + step_iscsi_target_create(test, checks=[ + test.check("aclMode", "Dynamic", case_sensitive=False), + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_show(test, checks=[ + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_list(test, checks=[ + test.check('length(@)', 1), + ]) + step_iscsi_target_update(test, checks=[ + test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), + test.check("name", "{myIscsiTarget}", case_sensitive=False), + ]) + step_iscsi_target_delete(test, checks=[]) + cleanup_scenario(test) + + +# Test class for Scenario +@try_manual +class DiskpoolScenarioTest(ScenarioTest): + def __init__(self, *args, **kwargs): + super(DiskpoolScenarioTest, self).__init__(*args, **kwargs) + self.kwargs.update({ + 'subscription_id': self.get_subscription_id() + }) + + self.kwargs.update({ + 'myDiskPool': 'myDiskPool', + 'myDiskPool2': 'SampleAse', + 'myIscsiTarget': 'myIscsiTarget', + }) + + @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') + @ResourceGroupPreparer(name_prefix='clitestdiskpool_Sample-WestUSResourceGroup'[:7], key='rg_2', + parameter_name='rg_2') + @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') + @SubnetPreparer(name_prefix='clitestdiskpool_mysubnet'[:7], key='subnets', virtual_network_key='vn', + resource_group_key='rg') + @SubnetPreparer(name_prefix='clitestdiskpool_mysubnet'[:7], key='subnets', virtual_network_key='vn', + resource_group_key='rg') + def test_diskpool_Scenario(self, rg, rg_2): + call_scenario(self) + call_scenario(self) + calc_coverage(__file__) + raise_if() diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py index 40013efe44d..1524ba479e9 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/__init__.py @@ -7,6 +7,9 @@ # -------------------------------------------------------------------------- from ._storage_pool_management import StoragePoolManagement +from ._version import VERSION + +__version__ = VERSION __all__ = ['StoragePoolManagement'] try: diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py index 24c1d0a6d8c..0ca8280f0a6 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_configuration.py @@ -12,13 +12,14 @@ from azure.core.pipeline import policies from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from ._version import VERSION + if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from typing import Any from azure.core.credentials import TokenCredential -VERSION = "unknown" class StoragePoolManagementConfiguration(Configuration): """Configuration for StoragePoolManagement. @@ -47,9 +48,9 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-01-preview" + self.api_version = "2021-08-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + kwargs.setdefault('sdk_moniker', 'mgmt-storagepool/{}'.format(VERSION)) self._configure(**kwargs) def _configure( diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py index d59edd58b34..75d5ea4abfb 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_storage_pool_management.py @@ -21,6 +21,7 @@ from .operations import Operations from .operations import DiskPoolsOperations from .operations import DiskPoolZonesOperations +from .operations import ResourceSkusOperations from .operations import IscsiTargetsOperations from . import models @@ -34,6 +35,8 @@ class StoragePoolManagement(object): :vartype disk_pools: storage_pool_management.operations.DiskPoolsOperations :ivar disk_pool_zones: DiskPoolZonesOperations operations :vartype disk_pool_zones: storage_pool_management.operations.DiskPoolZonesOperations + :ivar resource_skus: ResourceSkusOperations operations + :vartype resource_skus: storage_pool_management.operations.ResourceSkusOperations :ivar iscsi_targets: IscsiTargetsOperations operations :vartype iscsi_targets: storage_pool_management.operations.IscsiTargetsOperations :param credential: Credential needed for the client to connect to Azure. @@ -68,6 +71,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.disk_pool_zones = DiskPoolZonesOperations( self._client, self._config, self._serialize, self._deserialize) + self.resource_skus = ResourceSkusOperations( + self._client, self._config, self._serialize, self._deserialize) self.iscsi_targets = IscsiTargetsOperations( self._client, self._config, self._serialize, self._deserialize) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_version.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_version.py new file mode 100644 index 00000000000..e5754a47ce6 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/_version.py @@ -0,0 +1,9 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- + +VERSION = "1.0.0b1" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py index 9ee88b6831b..dfefbba0bbc 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_configuration.py @@ -12,11 +12,12 @@ from azure.core.pipeline import policies from azure.mgmt.core.policies import ARMHttpLoggingPolicy +from .._version import VERSION + if TYPE_CHECKING: # pylint: disable=unused-import,ungrouped-imports from azure.core.credentials_async import AsyncTokenCredential -VERSION = "unknown" class StoragePoolManagementConfiguration(Configuration): """Configuration for StoragePoolManagement. @@ -44,9 +45,9 @@ def __init__( self.credential = credential self.subscription_id = subscription_id - self.api_version = "2021-04-01-preview" + self.api_version = "2021-08-01" self.credential_scopes = kwargs.pop('credential_scopes', ['https://management.azure.com/.default']) - kwargs.setdefault('sdk_moniker', 'storagepoolmanagement/{}'.format(VERSION)) + kwargs.setdefault('sdk_moniker', 'mgmt-storagepool/{}'.format(VERSION)) self._configure(**kwargs) def _configure( diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py index e4888cf676b..8b757e377ff 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/_storage_pool_management.py @@ -19,6 +19,7 @@ from .operations import Operations from .operations import DiskPoolsOperations from .operations import DiskPoolZonesOperations +from .operations import ResourceSkusOperations from .operations import IscsiTargetsOperations from .. import models @@ -32,6 +33,8 @@ class StoragePoolManagement(object): :vartype disk_pools: storage_pool_management.aio.operations.DiskPoolsOperations :ivar disk_pool_zones: DiskPoolZonesOperations operations :vartype disk_pool_zones: storage_pool_management.aio.operations.DiskPoolZonesOperations + :ivar resource_skus: ResourceSkusOperations operations + :vartype resource_skus: storage_pool_management.aio.operations.ResourceSkusOperations :ivar iscsi_targets: IscsiTargetsOperations operations :vartype iscsi_targets: storage_pool_management.aio.operations.IscsiTargetsOperations :param credential: Credential needed for the client to connect to Azure. @@ -65,6 +68,8 @@ def __init__( self._client, self._config, self._serialize, self._deserialize) self.disk_pool_zones = DiskPoolZonesOperations( self._client, self._config, self._serialize, self._deserialize) + self.resource_skus = ResourceSkusOperations( + self._client, self._config, self._serialize, self._deserialize) self.iscsi_targets = IscsiTargetsOperations( self._client, self._config, self._serialize, self._deserialize) diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py index 1620075f15e..5f769185377 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/__init__.py @@ -9,11 +9,13 @@ from ._operations import Operations from ._disk_pools_operations import DiskPoolsOperations from ._disk_pool_zones_operations import DiskPoolZonesOperations +from ._resource_skus_operations import ResourceSkusOperations from ._iscsi_targets_operations import IscsiTargetsOperations __all__ = [ 'Operations', 'DiskPoolsOperations', 'DiskPoolZonesOperations', + 'ResourceSkusOperations', 'IscsiTargetsOperations', ] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_zones_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_zones_operations.py index 971aede2b68..ebb0b0b88d0 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_zones_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pool_zones_operations.py @@ -60,7 +60,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py index 31704317e0b..8a483b5fcc1 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_disk_pools_operations.py @@ -59,7 +59,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -129,7 +129,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -193,7 +193,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -246,7 +246,8 @@ async def begin_create_or_update( disk_pool_create_payload: "models.DiskPoolCreate", **kwargs ) -> AsyncLROPoller["models.DiskPool"]: - """Create or Update Disk pool. + """Create or Update Disk pool. This create or update operation can take 15 minutes to complete. + This is expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -322,7 +323,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -448,7 +449,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -488,7 +489,8 @@ async def begin_delete( disk_pool_name: str, **kwargs ) -> AsyncLROPoller[None]: - """Delete a Disk pool. + """Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes + to complete. This is expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -568,7 +570,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -627,7 +629,7 @@ def list_outbound_network_dependencies_endpoints( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -691,7 +693,7 @@ async def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -731,7 +733,8 @@ async def begin_start( disk_pool_name: str, **kwargs ) -> AsyncLROPoller[None]: - """The operation to start a Disk Pool. + """The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This + is expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -800,7 +803,7 @@ async def _deallocate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -841,7 +844,8 @@ async def begin_deallocate( **kwargs ) -> AsyncLROPoller[None]: """Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute - resources that this Disk Pool uses. + resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is + expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -898,3 +902,113 @@ def get_long_running_output(pipeline_response): else: return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_deallocate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate'} # type: ignore + + async def _upgrade_initial( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> None: + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-08-01" + accept = "application/json" + + # Construct URL + url = self._upgrade_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._]*[0-9A-Za-z]$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _upgrade_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/upgrade'} # type: ignore + + async def begin_upgrade( + self, + resource_group_name: str, + disk_pool_name: str, + **kwargs + ) -> AsyncLROPoller[None]: + """Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take + 10-15 minutes to complete. This is expected service behavior. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param disk_pool_name: The name of the Disk Pool. + :type disk_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.AsyncPollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of AsyncLROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.AsyncLROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, AsyncPollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = await self._upgrade_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._]*[0-9A-Za-z]$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), + } + + if polling is True: polling_method = AsyncARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = AsyncNoPolling() + else: polling_method = polling + if cont_token: + return AsyncLROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return AsyncLROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_upgrade.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/upgrade'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py index 13d1e5d351d..3c269c8e0d4 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_iscsi_targets_operations.py @@ -65,7 +65,7 @@ def list_by_disk_pool( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -131,7 +131,7 @@ async def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -267,7 +267,7 @@ async def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -400,7 +400,7 @@ async def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -529,7 +529,7 @@ async def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py index bf3351fb5c4..b68590c50d3 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_operations.py @@ -57,7 +57,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_resource_skus_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_resource_skus_operations.py new file mode 100644 index 00000000000..7d1d3aced6a --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/aio/operations/_resource_skus_operations.py @@ -0,0 +1,113 @@ +# 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 typing import Any, AsyncIterable, Callable, Dict, Generic, Optional, TypeVar +import warnings + +from azure.core.async_paging import AsyncItemPaged, AsyncList +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import AsyncHttpResponse, HttpRequest +from azure.mgmt.core.exceptions import ARMErrorFormat + +from ... import models + +T = TypeVar('T') +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + +class ResourceSkusOperations: + """ResourceSkusOperations async operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~storage_pool_management.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer) -> None: + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location: str, + **kwargs + ) -> AsyncIterable["models.ResourceSkuListResult"]: + """Lists available StoragePool resources and skus in an Azure location. + + :param location: The location of the resource. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ResourceSkuListResult or the result of cls(response) + :rtype: ~azure.core.async_paging.AsyncItemPaged[~storage_pool_management.models.ResourceSkuListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceSkuListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-08-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + async def extract_data(pipeline_response): + deserialized = self._deserialize('ResourceSkuListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = await self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return AsyncItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/skus'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py index 93abf141c3e..7bc42b5147d 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/__init__.py @@ -29,6 +29,13 @@ from ._models_py3 import OutboundEnvironmentEndpointList from ._models_py3 import ProxyResource from ._models_py3 import Resource + from ._models_py3 import ResourceSkuCapability + from ._models_py3 import ResourceSkuInfo + from ._models_py3 import ResourceSkuListResult + from ._models_py3 import ResourceSkuLocationInfo + from ._models_py3 import ResourceSkuRestrictionInfo + from ._models_py3 import ResourceSkuRestrictions + from ._models_py3 import ResourceSkuZoneDetails from ._models_py3 import Sku from ._models_py3 import StoragePoolOperationDisplay from ._models_py3 import StoragePoolOperationListResult @@ -58,6 +65,13 @@ from ._models import OutboundEnvironmentEndpointList # type: ignore from ._models import ProxyResource # type: ignore from ._models import Resource # type: ignore + from ._models import ResourceSkuCapability # type: ignore + from ._models import ResourceSkuInfo # type: ignore + from ._models import ResourceSkuListResult # type: ignore + from ._models import ResourceSkuLocationInfo # type: ignore + from ._models import ResourceSkuRestrictionInfo # type: ignore + from ._models import ResourceSkuRestrictions # type: ignore + from ._models import ResourceSkuZoneDetails # type: ignore from ._models import Sku # type: ignore from ._models import StoragePoolOperationDisplay # type: ignore from ._models import StoragePoolOperationListResult # type: ignore @@ -71,6 +85,8 @@ IscsiTargetAclMode, OperationalStatus, ProvisioningStates, + ResourceSkuRestrictionsReasonCode, + ResourceSkuRestrictionsType, ) __all__ = [ @@ -96,6 +112,13 @@ 'OutboundEnvironmentEndpointList', 'ProxyResource', 'Resource', + 'ResourceSkuCapability', + 'ResourceSkuInfo', + 'ResourceSkuListResult', + 'ResourceSkuLocationInfo', + 'ResourceSkuRestrictionInfo', + 'ResourceSkuRestrictions', + 'ResourceSkuZoneDetails', 'Sku', 'StoragePoolOperationDisplay', 'StoragePoolOperationListResult', @@ -107,4 +130,6 @@ 'IscsiTargetAclMode', 'OperationalStatus', 'ProvisioningStates', + 'ResourceSkuRestrictionsReasonCode', + 'ResourceSkuRestrictionsType', ] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py index f6b154078c6..9732bd983ee 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models.py @@ -167,6 +167,11 @@ class DiskPool(TrackedResource): :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str + :ivar managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :vartype managed_by: str + :ivar managed_by_extended: List of Azure resource ids that manage this resource. + :vartype managed_by_extended: list[str] :ivar system_data: Resource metadata required by ARM RPC. :vartype system_data: ~storage_pool_management.models.SystemMetadata :ivar provisioning_state: Required. State of the operation on the resource. Possible values @@ -196,6 +201,8 @@ class DiskPool(TrackedResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'managed_by': {'readonly': True}, + 'managed_by_extended': {'readonly': True}, 'system_data': {'readonly': True}, 'provisioning_state': {'required': True, 'readonly': True}, 'availability_zones': {'required': True}, @@ -209,6 +216,8 @@ class DiskPool(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, @@ -225,6 +234,8 @@ def __init__( **kwargs ): super(DiskPool, self).__init__(**kwargs) + self.managed_by = None + self.managed_by_extended = None self.system_data = None self.provisioning_state = None self.availability_zones = kwargs['availability_zones'] @@ -257,6 +268,11 @@ class DiskPoolCreate(msrest.serialization.Model): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] :param availability_zones: Logical zone for Disk Pool resource; example: ["1"]. :type availability_zones: list[str] :param disks: List of Azure Managed Disks to attach to a Disk Pool. @@ -283,6 +299,8 @@ class DiskPoolCreate(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, @@ -300,6 +318,8 @@ def __init__( self.id = None self.name = None self.type = None + self.managed_by = kwargs.get('managed_by', None) + self.managed_by_extended = kwargs.get('managed_by_extended', None) self.availability_zones = kwargs.get('availability_zones', None) self.disks = kwargs.get('disks', None) self.subnet_id = kwargs['subnet_id'] @@ -341,6 +361,13 @@ def __init__( class DiskPoolUpdate(msrest.serialization.Model): """Request payload for Update Disk Pool request. + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] + :param sku: Determines the SKU of the Disk Pool. + :type sku: ~storage_pool_management.models.Sku :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param disks: List of Azure Managed Disks to attach to a Disk Pool. @@ -348,6 +375,9 @@ class DiskPoolUpdate(msrest.serialization.Model): """ _attribute_map = { + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, } @@ -357,21 +387,32 @@ def __init__( **kwargs ): super(DiskPoolUpdate, self).__init__(**kwargs) + self.managed_by = kwargs.get('managed_by', None) + self.managed_by_extended = kwargs.get('managed_by_extended', None) + self.sku = kwargs.get('sku', None) self.tags = kwargs.get('tags', None) self.disks = kwargs.get('disks', None) class DiskPoolZoneInfo(msrest.serialization.Model): - """Disk Pool Sku Details. + """Disk Pool SKU Details. - :param availability_zones: Logical zone for Disk Pool resource; example: ["1"]. - :type availability_zones: list[str] - :param additional_capabilities: List of additional capabilities for Disk Pool. - :type additional_capabilities: list[str] - :param sku: Determines the SKU of VM deployed for Disk Pool. - :type sku: ~storage_pool_management.models.Sku + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar availability_zones: Logical zone for Disk Pool resource; example: ["1"]. + :vartype availability_zones: list[str] + :ivar additional_capabilities: List of additional capabilities for Disk Pool. + :vartype additional_capabilities: list[str] + :ivar sku: Determines the SKU of VM deployed for Disk Pool. + :vartype sku: ~storage_pool_management.models.Sku """ + _validation = { + 'availability_zones': {'readonly': True}, + 'additional_capabilities': {'readonly': True}, + 'sku': {'readonly': True}, + } + _attribute_map = { 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, 'additional_capabilities': {'key': 'additionalCapabilities', 'type': '[str]'}, @@ -383,20 +424,27 @@ def __init__( **kwargs ): super(DiskPoolZoneInfo, self).__init__(**kwargs) - self.availability_zones = kwargs.get('availability_zones', None) - self.additional_capabilities = kwargs.get('additional_capabilities', None) - self.sku = kwargs.get('sku', None) + self.availability_zones = None + self.additional_capabilities = None + self.sku = None class DiskPoolZoneListResult(msrest.serialization.Model): """List Disk Pool skus operation response. - :param value: The list of Disk Pool Skus. - :type value: list[~storage_pool_management.models.DiskPoolZoneInfo] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Disk Pool Skus. + :vartype value: list[~storage_pool_management.models.DiskPoolZoneInfo] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str """ + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + _attribute_map = { 'value': {'key': 'value', 'type': '[DiskPoolZoneInfo]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, @@ -407,8 +455,8 @@ def __init__( **kwargs ): super(DiskPoolZoneListResult, self).__init__(**kwargs) - self.value = kwargs.get('value', None) - self.next_link = kwargs.get('next_link', None) + self.value = None + self.next_link = None class EndpointDependency(msrest.serialization.Model): @@ -615,6 +663,11 @@ class IscsiTarget(Resource): :vartype type: str :ivar system_data: Resource metadata required by ARM RPC. :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :vartype managed_by: str + :ivar managed_by_extended: List of Azure resource ids that manage this resource. + :vartype managed_by_extended: list[str] :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", "Static". :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode @@ -637,6 +690,8 @@ class IscsiTarget(Resource): :type endpoints: list[str] :param port: The port used by iSCSI Target portal group. :type port: int + :ivar sessions: List of identifiers for active sessions on the iSCSI target. + :vartype sessions: list[str] """ _validation = { @@ -644,10 +699,13 @@ class IscsiTarget(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'system_data': {'readonly': True}, + 'managed_by': {'readonly': True}, + 'managed_by_extended': {'readonly': True}, 'acl_mode': {'required': True}, 'target_iqn': {'required': True}, 'provisioning_state': {'required': True, 'readonly': True}, 'status': {'required': True}, + 'sessions': {'readonly': True}, } _attribute_map = { @@ -655,6 +713,8 @@ class IscsiTarget(Resource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, @@ -663,6 +723,7 @@ class IscsiTarget(Resource): 'status': {'key': 'properties.status', 'type': 'str'}, 'endpoints': {'key': 'properties.endpoints', 'type': '[str]'}, 'port': {'key': 'properties.port', 'type': 'int'}, + 'sessions': {'key': 'properties.sessions', 'type': '[str]'}, } def __init__( @@ -671,6 +732,8 @@ def __init__( ): super(IscsiTarget, self).__init__(**kwargs) self.system_data = None + self.managed_by = None + self.managed_by_extended = None self.acl_mode = kwargs['acl_mode'] self.static_acls = kwargs.get('static_acls', None) self.luns = kwargs.get('luns', None) @@ -679,6 +742,7 @@ def __init__( self.status = kwargs['status'] self.endpoints = kwargs.get('endpoints', None) self.port = kwargs.get('port', None) + self.sessions = None class IscsiTargetCreate(Resource): @@ -696,6 +760,11 @@ class IscsiTargetCreate(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", "Static". :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode @@ -719,6 +788,8 @@ class IscsiTargetCreate(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, @@ -730,6 +801,8 @@ def __init__( **kwargs ): super(IscsiTargetCreate, self).__init__(**kwargs) + self.managed_by = kwargs.get('managed_by', None) + self.managed_by_extended = kwargs.get('managed_by_extended', None) self.acl_mode = kwargs['acl_mode'] self.target_iqn = kwargs.get('target_iqn', None) self.static_acls = kwargs.get('static_acls', None) @@ -781,6 +854,11 @@ class IscsiTargetUpdate(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] :param static_acls: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. :type static_acls: list[~storage_pool_management.models.Acl] :param luns: List of LUNs to be exposed through iSCSI Target. @@ -797,6 +875,8 @@ class IscsiTargetUpdate(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, } @@ -806,6 +886,8 @@ def __init__( **kwargs ): super(IscsiTargetUpdate, self).__init__(**kwargs) + self.managed_by = kwargs.get('managed_by', None) + self.managed_by_extended = kwargs.get('managed_by_extended', None) self.static_acls = kwargs.get('static_acls', None) self.luns = kwargs.get('luns', None) @@ -900,6 +982,253 @@ def __init__( super(ProxyResource, self).__init__(**kwargs) +class ResourceSkuCapability(msrest.serialization.Model): + """Capability a resource SKU has. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Capability name. + :vartype name: str + :ivar value: Capability value. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuCapability, self).__init__(**kwargs) + self.name = None + self.value = None + + +class ResourceSkuInfo(msrest.serialization.Model): + """Resource SKU Details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar api_version: StoragePool RP API version. + :vartype api_version: str + :ivar resource_type: StoragePool resource type. + :vartype resource_type: str + :ivar capabilities: List of additional capabilities for StoragePool resource. + :vartype capabilities: list[~storage_pool_management.models.ResourceSkuCapability] + :ivar location_info: Zones and zone capabilities in those locations where the SKU is available. + :vartype location_info: ~storage_pool_management.models.ResourceSkuLocationInfo + :ivar name: Sku name. + :vartype name: str + :ivar tier: Sku tier. + :vartype tier: str + :ivar restrictions: The restrictions because of which SKU cannot be used. This is empty if + there are no restrictions. + :vartype restrictions: list[~storage_pool_management.models.ResourceSkuRestrictions] + """ + + _validation = { + 'api_version': {'readonly': True}, + 'resource_type': {'readonly': True}, + 'capabilities': {'readonly': True}, + 'location_info': {'readonly': True}, + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'restrictions': {'readonly': True}, + } + + _attribute_map = { + 'api_version': {'key': 'apiVersion', 'type': 'str'}, + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'capabilities': {'key': 'capabilities', 'type': '[ResourceSkuCapability]'}, + 'location_info': {'key': 'locationInfo', 'type': 'ResourceSkuLocationInfo'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'restrictions': {'key': 'restrictions', 'type': '[ResourceSkuRestrictions]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuInfo, self).__init__(**kwargs) + self.api_version = None + self.resource_type = None + self.capabilities = None + self.location_info = None + self.name = None + self.tier = None + self.restrictions = None + + +class ResourceSkuListResult(msrest.serialization.Model): + """List Disk Pool skus operation response. + + :param value: The list of StoragePool resource skus. + :type value: list[~storage_pool_management.models.ResourceSkuInfo] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceSkuInfo]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuListResult, self).__init__(**kwargs) + self.value = kwargs.get('value', None) + self.next_link = kwargs.get('next_link', None) + + +class ResourceSkuLocationInfo(msrest.serialization.Model): + """Zone and capability info for resource sku. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: Location of the SKU. + :vartype location: str + :ivar zones: List of availability zones where the SKU is supported. + :vartype zones: list[str] + :ivar zone_details: Details of capabilities available to a SKU in specific zones. + :vartype zone_details: list[~storage_pool_management.models.ResourceSkuZoneDetails] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'zone_details': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'zone_details': {'key': 'zoneDetails', 'type': '[ResourceSkuZoneDetails]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.zone_details = None + + +class ResourceSkuRestrictionInfo(msrest.serialization.Model): + """Describes an available Compute SKU Restriction Information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar locations: Locations where the SKU is restricted. + :vartype locations: list[str] + :ivar zones: List of availability zones where the SKU is restricted. + :vartype zones: list[str] + """ + + _validation = { + 'locations': {'readonly': True}, + 'zones': {'readonly': True}, + } + + _attribute_map = { + 'locations': {'key': 'locations', 'type': '[str]'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuRestrictionInfo, self).__init__(**kwargs) + self.locations = None + self.zones = None + + +class ResourceSkuRestrictions(msrest.serialization.Model): + """Describes scaling information of a SKU. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The type of restrictions. Possible values include: "Location", "Zone". + :vartype type: str or ~storage_pool_management.models.ResourceSkuRestrictionsType + :ivar values: The value of restrictions. If the restriction type is set to location. This would + be different locations where the SKU is restricted. + :vartype values: list[str] + :ivar restriction_info: The information about the restriction where the SKU cannot be used. + :vartype restriction_info: ~storage_pool_management.models.ResourceSkuRestrictionInfo + :ivar reason_code: The reason for restriction. Possible values include: "QuotaId", + "NotAvailableForSubscription". + :vartype reason_code: str or ~storage_pool_management.models.ResourceSkuRestrictionsReasonCode + """ + + _validation = { + 'type': {'readonly': True}, + 'values': {'readonly': True}, + 'restriction_info': {'readonly': True}, + 'reason_code': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'values': {'key': 'values', 'type': '[str]'}, + 'restriction_info': {'key': 'restrictionInfo', 'type': 'ResourceSkuRestrictionInfo'}, + 'reason_code': {'key': 'reasonCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuRestrictions, self).__init__(**kwargs) + self.type = None + self.values = None + self.restriction_info = None + self.reason_code = None + + +class ResourceSkuZoneDetails(msrest.serialization.Model): + """Describes The zonal capabilities of a SKU. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The set of zones that the SKU is available in with the specified capabilities. + :vartype name: list[str] + :ivar capabilities: A list of capabilities that are available for the SKU in the specified list + of zones. + :vartype capabilities: list[~storage_pool_management.models.ResourceSkuCapability] + """ + + _validation = { + 'name': {'readonly': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[ResourceSkuCapability]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuZoneDetails, self).__init__(**kwargs) + self.name = None + self.capabilities = None + + class Sku(msrest.serialization.Model): """Sku for ARM resource. diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py index 7c8c983c456..4b908cb4e6e 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_models_py3.py @@ -180,6 +180,11 @@ class DiskPool(TrackedResource): :type tags: dict[str, str] :param location: Required. The geo-location where the resource lives. :type location: str + :ivar managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :vartype managed_by: str + :ivar managed_by_extended: List of Azure resource ids that manage this resource. + :vartype managed_by_extended: list[str] :ivar system_data: Resource metadata required by ARM RPC. :vartype system_data: ~storage_pool_management.models.SystemMetadata :ivar provisioning_state: Required. State of the operation on the resource. Possible values @@ -209,6 +214,8 @@ class DiskPool(TrackedResource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'location': {'required': True}, + 'managed_by': {'readonly': True}, + 'managed_by_extended': {'readonly': True}, 'system_data': {'readonly': True}, 'provisioning_state': {'required': True, 'readonly': True}, 'availability_zones': {'required': True}, @@ -222,6 +229,8 @@ class DiskPool(TrackedResource): 'type': {'key': 'type', 'type': 'str'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'location': {'key': 'location', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, @@ -248,6 +257,8 @@ def __init__( **kwargs ): super(DiskPool, self).__init__(tags=tags, location=location, **kwargs) + self.managed_by = None + self.managed_by_extended = None self.system_data = None self.provisioning_state = None self.availability_zones = availability_zones @@ -280,6 +291,11 @@ class DiskPoolCreate(msrest.serialization.Model): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] :param availability_zones: Logical zone for Disk Pool resource; example: ["1"]. :type availability_zones: list[str] :param disks: List of Azure Managed Disks to attach to a Disk Pool. @@ -306,6 +322,8 @@ class DiskPoolCreate(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'availability_zones': {'key': 'properties.availabilityZones', 'type': '[str]'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, 'subnet_id': {'key': 'properties.subnetId', 'type': 'str'}, @@ -319,6 +337,8 @@ def __init__( location: str, subnet_id: str, tags: Optional[Dict[str, str]] = None, + managed_by: Optional[str] = None, + managed_by_extended: Optional[List[str]] = None, availability_zones: Optional[List[str]] = None, disks: Optional[List["Disk"]] = None, additional_capabilities: Optional[List[str]] = None, @@ -331,6 +351,8 @@ def __init__( self.id = None self.name = None self.type = None + self.managed_by = managed_by + self.managed_by_extended = managed_by_extended self.availability_zones = availability_zones self.disks = disks self.subnet_id = subnet_id @@ -374,6 +396,13 @@ def __init__( class DiskPoolUpdate(msrest.serialization.Model): """Request payload for Update Disk Pool request. + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] + :param sku: Determines the SKU of the Disk Pool. + :type sku: ~storage_pool_management.models.Sku :param tags: A set of tags. Resource tags. :type tags: dict[str, str] :param disks: List of Azure Managed Disks to attach to a Disk Pool. @@ -381,6 +410,9 @@ class DiskPoolUpdate(msrest.serialization.Model): """ _attribute_map = { + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, + 'sku': {'key': 'sku', 'type': 'Sku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'disks': {'key': 'properties.disks', 'type': '[Disk]'}, } @@ -388,26 +420,40 @@ class DiskPoolUpdate(msrest.serialization.Model): def __init__( self, *, + managed_by: Optional[str] = None, + managed_by_extended: Optional[List[str]] = None, + sku: Optional["Sku"] = None, tags: Optional[Dict[str, str]] = None, disks: Optional[List["Disk"]] = None, **kwargs ): super(DiskPoolUpdate, self).__init__(**kwargs) + self.managed_by = managed_by + self.managed_by_extended = managed_by_extended + self.sku = sku self.tags = tags self.disks = disks class DiskPoolZoneInfo(msrest.serialization.Model): - """Disk Pool Sku Details. + """Disk Pool SKU Details. - :param availability_zones: Logical zone for Disk Pool resource; example: ["1"]. - :type availability_zones: list[str] - :param additional_capabilities: List of additional capabilities for Disk Pool. - :type additional_capabilities: list[str] - :param sku: Determines the SKU of VM deployed for Disk Pool. - :type sku: ~storage_pool_management.models.Sku + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar availability_zones: Logical zone for Disk Pool resource; example: ["1"]. + :vartype availability_zones: list[str] + :ivar additional_capabilities: List of additional capabilities for Disk Pool. + :vartype additional_capabilities: list[str] + :ivar sku: Determines the SKU of VM deployed for Disk Pool. + :vartype sku: ~storage_pool_management.models.Sku """ + _validation = { + 'availability_zones': {'readonly': True}, + 'additional_capabilities': {'readonly': True}, + 'sku': {'readonly': True}, + } + _attribute_map = { 'availability_zones': {'key': 'availabilityZones', 'type': '[str]'}, 'additional_capabilities': {'key': 'additionalCapabilities', 'type': '[str]'}, @@ -416,27 +462,30 @@ class DiskPoolZoneInfo(msrest.serialization.Model): def __init__( self, - *, - availability_zones: Optional[List[str]] = None, - additional_capabilities: Optional[List[str]] = None, - sku: Optional["Sku"] = None, **kwargs ): super(DiskPoolZoneInfo, self).__init__(**kwargs) - self.availability_zones = availability_zones - self.additional_capabilities = additional_capabilities - self.sku = sku + self.availability_zones = None + self.additional_capabilities = None + self.sku = None class DiskPoolZoneListResult(msrest.serialization.Model): """List Disk Pool skus operation response. - :param value: The list of Disk Pool Skus. - :type value: list[~storage_pool_management.models.DiskPoolZoneInfo] - :param next_link: URI to fetch the next section of the paginated response. - :type next_link: str + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar value: The list of Disk Pool Skus. + :vartype value: list[~storage_pool_management.models.DiskPoolZoneInfo] + :ivar next_link: URI to fetch the next section of the paginated response. + :vartype next_link: str """ + _validation = { + 'value': {'readonly': True}, + 'next_link': {'readonly': True}, + } + _attribute_map = { 'value': {'key': 'value', 'type': '[DiskPoolZoneInfo]'}, 'next_link': {'key': 'nextLink', 'type': 'str'}, @@ -444,14 +493,11 @@ class DiskPoolZoneListResult(msrest.serialization.Model): def __init__( self, - *, - value: Optional[List["DiskPoolZoneInfo"]] = None, - next_link: Optional[str] = None, **kwargs ): super(DiskPoolZoneListResult, self).__init__(**kwargs) - self.value = value - self.next_link = next_link + self.value = None + self.next_link = None class EndpointDependency(msrest.serialization.Model): @@ -671,6 +717,11 @@ class IscsiTarget(Resource): :vartype type: str :ivar system_data: Resource metadata required by ARM RPC. :vartype system_data: ~storage_pool_management.models.SystemMetadata + :ivar managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :vartype managed_by: str + :ivar managed_by_extended: List of Azure resource ids that manage this resource. + :vartype managed_by_extended: list[str] :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", "Static". :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode @@ -693,6 +744,8 @@ class IscsiTarget(Resource): :type endpoints: list[str] :param port: The port used by iSCSI Target portal group. :type port: int + :ivar sessions: List of identifiers for active sessions on the iSCSI target. + :vartype sessions: list[str] """ _validation = { @@ -700,10 +753,13 @@ class IscsiTarget(Resource): 'name': {'readonly': True}, 'type': {'readonly': True}, 'system_data': {'readonly': True}, + 'managed_by': {'readonly': True}, + 'managed_by_extended': {'readonly': True}, 'acl_mode': {'required': True}, 'target_iqn': {'required': True}, 'provisioning_state': {'required': True, 'readonly': True}, 'status': {'required': True}, + 'sessions': {'readonly': True}, } _attribute_map = { @@ -711,6 +767,8 @@ class IscsiTarget(Resource): 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'system_data': {'key': 'systemData', 'type': 'SystemMetadata'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, @@ -719,6 +777,7 @@ class IscsiTarget(Resource): 'status': {'key': 'properties.status', 'type': 'str'}, 'endpoints': {'key': 'properties.endpoints', 'type': '[str]'}, 'port': {'key': 'properties.port', 'type': 'int'}, + 'sessions': {'key': 'properties.sessions', 'type': '[str]'}, } def __init__( @@ -735,6 +794,8 @@ def __init__( ): super(IscsiTarget, self).__init__(**kwargs) self.system_data = None + self.managed_by = None + self.managed_by_extended = None self.acl_mode = acl_mode self.static_acls = static_acls self.luns = luns @@ -743,6 +804,7 @@ def __init__( self.status = status self.endpoints = endpoints self.port = port + self.sessions = None class IscsiTargetCreate(Resource): @@ -760,6 +822,11 @@ class IscsiTargetCreate(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] :param acl_mode: Required. Mode for Target connectivity. Possible values include: "Dynamic", "Static". :type acl_mode: str or ~storage_pool_management.models.IscsiTargetAclMode @@ -783,6 +850,8 @@ class IscsiTargetCreate(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'acl_mode': {'key': 'properties.aclMode', 'type': 'str'}, 'target_iqn': {'key': 'properties.targetIqn', 'type': 'str'}, 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, @@ -793,12 +862,16 @@ def __init__( self, *, acl_mode: Union[str, "IscsiTargetAclMode"], + managed_by: Optional[str] = None, + managed_by_extended: Optional[List[str]] = None, target_iqn: Optional[str] = None, static_acls: Optional[List["Acl"]] = None, luns: Optional[List["IscsiLun"]] = None, **kwargs ): super(IscsiTargetCreate, self).__init__(**kwargs) + self.managed_by = managed_by + self.managed_by_extended = managed_by_extended self.acl_mode = acl_mode self.target_iqn = target_iqn self.static_acls = static_acls @@ -852,6 +925,11 @@ class IscsiTargetUpdate(Resource): :ivar type: The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. :vartype type: str + :param managed_by: Azure resource id. Indicates if this resource is managed by another Azure + resource. + :type managed_by: str + :param managed_by_extended: List of Azure resource ids that manage this resource. + :type managed_by_extended: list[str] :param static_acls: Access Control List (ACL) for an iSCSI Target; defines LUN masking policy. :type static_acls: list[~storage_pool_management.models.Acl] :param luns: List of LUNs to be exposed through iSCSI Target. @@ -868,6 +946,8 @@ class IscsiTargetUpdate(Resource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, + 'managed_by': {'key': 'managedBy', 'type': 'str'}, + 'managed_by_extended': {'key': 'managedByExtended', 'type': '[str]'}, 'static_acls': {'key': 'properties.staticAcls', 'type': '[Acl]'}, 'luns': {'key': 'properties.luns', 'type': '[IscsiLun]'}, } @@ -875,11 +955,15 @@ class IscsiTargetUpdate(Resource): def __init__( self, *, + managed_by: Optional[str] = None, + managed_by_extended: Optional[List[str]] = None, static_acls: Optional[List["Acl"]] = None, luns: Optional[List["IscsiLun"]] = None, **kwargs ): super(IscsiTargetUpdate, self).__init__(**kwargs) + self.managed_by = managed_by + self.managed_by_extended = managed_by_extended self.static_acls = static_acls self.luns = luns @@ -979,6 +1063,256 @@ def __init__( super(ProxyResource, self).__init__(**kwargs) +class ResourceSkuCapability(msrest.serialization.Model): + """Capability a resource SKU has. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: Capability name. + :vartype name: str + :ivar value: Capability value. + :vartype value: str + """ + + _validation = { + 'name': {'readonly': True}, + 'value': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': 'str'}, + 'value': {'key': 'value', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuCapability, self).__init__(**kwargs) + self.name = None + self.value = None + + +class ResourceSkuInfo(msrest.serialization.Model): + """Resource SKU Details. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar api_version: StoragePool RP API version. + :vartype api_version: str + :ivar resource_type: StoragePool resource type. + :vartype resource_type: str + :ivar capabilities: List of additional capabilities for StoragePool resource. + :vartype capabilities: list[~storage_pool_management.models.ResourceSkuCapability] + :ivar location_info: Zones and zone capabilities in those locations where the SKU is available. + :vartype location_info: ~storage_pool_management.models.ResourceSkuLocationInfo + :ivar name: Sku name. + :vartype name: str + :ivar tier: Sku tier. + :vartype tier: str + :ivar restrictions: The restrictions because of which SKU cannot be used. This is empty if + there are no restrictions. + :vartype restrictions: list[~storage_pool_management.models.ResourceSkuRestrictions] + """ + + _validation = { + 'api_version': {'readonly': True}, + 'resource_type': {'readonly': True}, + 'capabilities': {'readonly': True}, + 'location_info': {'readonly': True}, + 'name': {'readonly': True}, + 'tier': {'readonly': True}, + 'restrictions': {'readonly': True}, + } + + _attribute_map = { + 'api_version': {'key': 'apiVersion', 'type': 'str'}, + 'resource_type': {'key': 'resourceType', 'type': 'str'}, + 'capabilities': {'key': 'capabilities', 'type': '[ResourceSkuCapability]'}, + 'location_info': {'key': 'locationInfo', 'type': 'ResourceSkuLocationInfo'}, + 'name': {'key': 'name', 'type': 'str'}, + 'tier': {'key': 'tier', 'type': 'str'}, + 'restrictions': {'key': 'restrictions', 'type': '[ResourceSkuRestrictions]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuInfo, self).__init__(**kwargs) + self.api_version = None + self.resource_type = None + self.capabilities = None + self.location_info = None + self.name = None + self.tier = None + self.restrictions = None + + +class ResourceSkuListResult(msrest.serialization.Model): + """List Disk Pool skus operation response. + + :param value: The list of StoragePool resource skus. + :type value: list[~storage_pool_management.models.ResourceSkuInfo] + :param next_link: URI to fetch the next section of the paginated response. + :type next_link: str + """ + + _attribute_map = { + 'value': {'key': 'value', 'type': '[ResourceSkuInfo]'}, + 'next_link': {'key': 'nextLink', 'type': 'str'}, + } + + def __init__( + self, + *, + value: Optional[List["ResourceSkuInfo"]] = None, + next_link: Optional[str] = None, + **kwargs + ): + super(ResourceSkuListResult, self).__init__(**kwargs) + self.value = value + self.next_link = next_link + + +class ResourceSkuLocationInfo(msrest.serialization.Model): + """Zone and capability info for resource sku. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar location: Location of the SKU. + :vartype location: str + :ivar zones: List of availability zones where the SKU is supported. + :vartype zones: list[str] + :ivar zone_details: Details of capabilities available to a SKU in specific zones. + :vartype zone_details: list[~storage_pool_management.models.ResourceSkuZoneDetails] + """ + + _validation = { + 'location': {'readonly': True}, + 'zones': {'readonly': True}, + 'zone_details': {'readonly': True}, + } + + _attribute_map = { + 'location': {'key': 'location', 'type': 'str'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + 'zone_details': {'key': 'zoneDetails', 'type': '[ResourceSkuZoneDetails]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuLocationInfo, self).__init__(**kwargs) + self.location = None + self.zones = None + self.zone_details = None + + +class ResourceSkuRestrictionInfo(msrest.serialization.Model): + """Describes an available Compute SKU Restriction Information. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar locations: Locations where the SKU is restricted. + :vartype locations: list[str] + :ivar zones: List of availability zones where the SKU is restricted. + :vartype zones: list[str] + """ + + _validation = { + 'locations': {'readonly': True}, + 'zones': {'readonly': True}, + } + + _attribute_map = { + 'locations': {'key': 'locations', 'type': '[str]'}, + 'zones': {'key': 'zones', 'type': '[str]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuRestrictionInfo, self).__init__(**kwargs) + self.locations = None + self.zones = None + + +class ResourceSkuRestrictions(msrest.serialization.Model): + """Describes scaling information of a SKU. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar type: The type of restrictions. Possible values include: "Location", "Zone". + :vartype type: str or ~storage_pool_management.models.ResourceSkuRestrictionsType + :ivar values: The value of restrictions. If the restriction type is set to location. This would + be different locations where the SKU is restricted. + :vartype values: list[str] + :ivar restriction_info: The information about the restriction where the SKU cannot be used. + :vartype restriction_info: ~storage_pool_management.models.ResourceSkuRestrictionInfo + :ivar reason_code: The reason for restriction. Possible values include: "QuotaId", + "NotAvailableForSubscription". + :vartype reason_code: str or ~storage_pool_management.models.ResourceSkuRestrictionsReasonCode + """ + + _validation = { + 'type': {'readonly': True}, + 'values': {'readonly': True}, + 'restriction_info': {'readonly': True}, + 'reason_code': {'readonly': True}, + } + + _attribute_map = { + 'type': {'key': 'type', 'type': 'str'}, + 'values': {'key': 'values', 'type': '[str]'}, + 'restriction_info': {'key': 'restrictionInfo', 'type': 'ResourceSkuRestrictionInfo'}, + 'reason_code': {'key': 'reasonCode', 'type': 'str'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuRestrictions, self).__init__(**kwargs) + self.type = None + self.values = None + self.restriction_info = None + self.reason_code = None + + +class ResourceSkuZoneDetails(msrest.serialization.Model): + """Describes The zonal capabilities of a SKU. + + Variables are only populated by the server, and will be ignored when sending a request. + + :ivar name: The set of zones that the SKU is available in with the specified capabilities. + :vartype name: list[str] + :ivar capabilities: A list of capabilities that are available for the SKU in the specified list + of zones. + :vartype capabilities: list[~storage_pool_management.models.ResourceSkuCapability] + """ + + _validation = { + 'name': {'readonly': True}, + 'capabilities': {'readonly': True}, + } + + _attribute_map = { + 'name': {'key': 'name', 'type': '[str]'}, + 'capabilities': {'key': 'capabilities', 'type': '[ResourceSkuCapability]'}, + } + + def __init__( + self, + **kwargs + ): + super(ResourceSkuZoneDetails, self).__init__(**kwargs) + self.name = None + self.capabilities = None + + class Sku(msrest.serialization.Model): """Sku for ARM resource. diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py index 061cbd1e41d..eb2b02bfc04 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/models/_storage_pool_management_enums.py @@ -75,3 +75,17 @@ class ProvisioningStates(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" + +class ResourceSkuRestrictionsReasonCode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The reason for restriction. + """ + + QUOTA_ID = "QuotaId" + NOT_AVAILABLE_FOR_SUBSCRIPTION = "NotAvailableForSubscription" + +class ResourceSkuRestrictionsType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """The type of restrictions. + """ + + LOCATION = "Location" + ZONE = "Zone" diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py index 1620075f15e..5f769185377 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/__init__.py @@ -9,11 +9,13 @@ from ._operations import Operations from ._disk_pools_operations import DiskPoolsOperations from ._disk_pool_zones_operations import DiskPoolZonesOperations +from ._resource_skus_operations import ResourceSkusOperations from ._iscsi_targets_operations import IscsiTargetsOperations __all__ = [ 'Operations', 'DiskPoolsOperations', 'DiskPoolZonesOperations', + 'ResourceSkusOperations', 'IscsiTargetsOperations', ] diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_zones_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_zones_operations.py index f3ca01df3c1..2d3bb905494 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_zones_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pool_zones_operations.py @@ -65,7 +65,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py index 04bc8ff1a46..3cd79b8df9c 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_disk_pools_operations.py @@ -64,7 +64,7 @@ def list_by_subscription( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -135,7 +135,7 @@ def list_by_resource_group( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -200,7 +200,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -254,7 +254,8 @@ def begin_create_or_update( **kwargs # type: Any ): # type: (...) -> LROPoller["models.DiskPool"] - """Create or Update Disk pool. + """Create or Update Disk pool. This create or update operation can take 15 minutes to complete. + This is expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -331,7 +332,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -459,7 +460,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -500,7 +501,8 @@ def begin_delete( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """Delete a Disk pool. + """Delete a Disk pool; attached disks are not affected. This delete operation can take 10 minutes + to complete. This is expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -581,7 +583,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -641,7 +643,7 @@ def list_outbound_network_dependencies_endpoints( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -706,7 +708,7 @@ def _start_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -747,7 +749,8 @@ def begin_start( **kwargs # type: Any ): # type: (...) -> LROPoller[None] - """The operation to start a Disk Pool. + """The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This + is expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -817,7 +820,7 @@ def _deallocate_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -859,7 +862,8 @@ def begin_deallocate( ): # type: (...) -> LROPoller[None] """Shuts down the Disk Pool and releases the compute resources. You are not billed for the compute - resources that this Disk Pool uses. + resources that this Disk Pool uses. This operation can take 10 minutes to complete. This is + expected service behavior. :param resource_group_name: The name of the resource group. The name is case insensitive. :type resource_group_name: str @@ -916,3 +920,115 @@ def get_long_running_output(pipeline_response): else: return LROPoller(self._client, raw_result, get_long_running_output, polling_method) begin_deallocate.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/deallocate'} # type: ignore + + def _upgrade_initial( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> None + cls = kwargs.pop('cls', None) # type: ClsType[None] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-08-01" + accept = "application/json" + + # Construct URL + url = self._upgrade_initial.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._]*[0-9A-Za-z]$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + request = self._client.post(url, query_parameters, header_parameters) + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200, 202]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + error = self._deserialize(models.Error, response) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + if cls: + return cls(pipeline_response, None, {}) + + _upgrade_initial.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/upgrade'} # type: ignore + + def begin_upgrade( + self, + resource_group_name, # type: str + disk_pool_name, # type: str + **kwargs # type: Any + ): + # type: (...) -> LROPoller[None] + """Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take + 10-15 minutes to complete. This is expected service behavior. + + :param resource_group_name: The name of the resource group. The name is case insensitive. + :type resource_group_name: str + :param disk_pool_name: The name of the Disk Pool. + :type disk_pool_name: str + :keyword callable cls: A custom type or function that will be passed the direct response + :keyword str continuation_token: A continuation token to restart a poller from a saved state. + :keyword polling: True for ARMPolling, False for no polling, or a + polling object for personal polling strategy + :paramtype polling: bool or ~azure.core.polling.PollingMethod + :keyword int polling_interval: Default waiting time between two polls for LRO operations if no Retry-After header is present. + :return: An instance of LROPoller that returns either None or the result of cls(response) + :rtype: ~azure.core.polling.LROPoller[None] + :raises ~azure.core.exceptions.HttpResponseError: + """ + polling = kwargs.pop('polling', True) # type: Union[bool, PollingMethod] + cls = kwargs.pop('cls', None) # type: ClsType[None] + lro_delay = kwargs.pop( + 'polling_interval', + self._config.polling_interval + ) + cont_token = kwargs.pop('continuation_token', None) # type: Optional[str] + if cont_token is None: + raw_result = self._upgrade_initial( + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name, + cls=lambda x,y,z: x, + **kwargs + ) + + kwargs.pop('error_map', None) + kwargs.pop('content_type', None) + + def get_long_running_output(pipeline_response): + if cls: + return cls(pipeline_response, None, {}) + + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str', max_length=90, min_length=1, pattern=r'^[-\w\._]*[0-9A-Za-z]$'), + 'diskPoolName': self._serialize.url("disk_pool_name", disk_pool_name, 'str'), + } + + if polling is True: polling_method = ARMPolling(lro_delay, lro_options={'final-state-via': 'azure-async-operation'}, path_format_arguments=path_format_arguments, **kwargs) + elif polling is False: polling_method = NoPolling() + else: polling_method = polling + if cont_token: + return LROPoller.from_continuation_token( + polling_method=polling_method, + continuation_token=cont_token, + client=self._client, + deserialization_callback=get_long_running_output + ) + else: + return LROPoller(self._client, raw_result, get_long_running_output, polling_method) + begin_upgrade.metadata = {'url': '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}/upgrade'} # type: ignore diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py index 82cd68141b2..b4672d9b846 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_iscsi_targets_operations.py @@ -70,7 +70,7 @@ def list_by_disk_pool( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): @@ -137,7 +137,7 @@ def _create_or_update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -275,7 +275,7 @@ def _update_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" content_type = kwargs.pop("content_type", "application/json") accept = "application/json" @@ -410,7 +410,7 @@ def _delete_initial( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL @@ -541,7 +541,7 @@ def get( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" # Construct URL diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py index 71f13daded2..a0e2b4a94c1 100644 --- a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_operations.py @@ -62,7 +62,7 @@ def list( 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError } error_map.update(kwargs.pop('error_map', {})) - api_version = "2021-04-01-preview" + api_version = "2021-08-01" accept = "application/json" def prepare_request(next_link=None): diff --git a/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_resource_skus_operations.py b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_resource_skus_operations.py new file mode 100644 index 00000000000..5d5f9d5bc55 --- /dev/null +++ b/src/diskpool/azext_diskpool/vendored_sdks/storagepool/operations/_resource_skus_operations.py @@ -0,0 +1,118 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Microsoft (R) AutoRest Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +from typing import TYPE_CHECKING +import warnings + +from azure.core.exceptions import ClientAuthenticationError, HttpResponseError, ResourceExistsError, ResourceNotFoundError, map_error +from azure.core.paging import ItemPaged +from azure.core.pipeline import PipelineResponse +from azure.core.pipeline.transport import HttpRequest, HttpResponse +from azure.mgmt.core.exceptions import ARMErrorFormat + +from .. import models + +if TYPE_CHECKING: + # pylint: disable=unused-import,ungrouped-imports + from typing import Any, Callable, Dict, Generic, Iterable, Optional, TypeVar + + T = TypeVar('T') + ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +class ResourceSkusOperations(object): + """ResourceSkusOperations operations. + + You should not instantiate this class directly. Instead, you should create a Client instance that + instantiates it for you and attaches it as an attribute. + + :ivar models: Alias to model classes used in this operation group. + :type models: ~storage_pool_management.models + :param client: Client for service requests. + :param config: Configuration of service client. + :param serializer: An object model serializer. + :param deserializer: An object model deserializer. + """ + + models = models + + def __init__(self, client, config, serializer, deserializer): + self._client = client + self._serialize = serializer + self._deserialize = deserializer + self._config = config + + def list( + self, + location, # type: str + **kwargs # type: Any + ): + # type: (...) -> Iterable["models.ResourceSkuListResult"] + """Lists available StoragePool resources and skus in an Azure location. + + :param location: The location of the resource. + :type location: str + :keyword callable cls: A custom type or function that will be passed the direct response + :return: An iterator like instance of either ResourceSkuListResult or the result of cls(response) + :rtype: ~azure.core.paging.ItemPaged[~storage_pool_management.models.ResourceSkuListResult] + :raises: ~azure.core.exceptions.HttpResponseError + """ + cls = kwargs.pop('cls', None) # type: ClsType["models.ResourceSkuListResult"] + error_map = { + 401: ClientAuthenticationError, 404: ResourceNotFoundError, 409: ResourceExistsError + } + error_map.update(kwargs.pop('error_map', {})) + api_version = "2021-08-01" + accept = "application/json" + + def prepare_request(next_link=None): + # Construct headers + header_parameters = {} # type: Dict[str, Any] + header_parameters['Accept'] = self._serialize.header("accept", accept, 'str') + + if not next_link: + # Construct URL + url = self.list.metadata['url'] # type: ignore + path_format_arguments = { + 'subscriptionId': self._serialize.url("self._config.subscription_id", self._config.subscription_id, 'str', min_length=1), + 'location': self._serialize.url("location", location, 'str'), + } + url = self._client.format_url(url, **path_format_arguments) + # Construct parameters + query_parameters = {} # type: Dict[str, Any] + query_parameters['api-version'] = self._serialize.query("api_version", api_version, 'str') + + request = self._client.get(url, query_parameters, header_parameters) + else: + url = next_link + query_parameters = {} # type: Dict[str, Any] + request = self._client.get(url, query_parameters, header_parameters) + return request + + def extract_data(pipeline_response): + deserialized = self._deserialize('ResourceSkuListResult', pipeline_response) + list_of_elem = deserialized.value + if cls: + list_of_elem = cls(list_of_elem) + return deserialized.next_link or None, iter(list_of_elem) + + def get_next(next_link=None): + request = prepare_request(next_link) + + pipeline_response = self._client._pipeline.run(request, stream=False, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + error = self._deserialize(models.Error, response) + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) + + return pipeline_response + + return ItemPaged( + get_next, extract_data + ) + list.metadata = {'url': '/subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/skus'} # type: ignore diff --git a/src/diskpool/report.md b/src/diskpool/report.md index 38f1df62cb8..a0a311b4245 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -10,6 +10,7 @@ |CLI Command Group|Group Swagger name|Commands| |---------|------------|--------| |az disk-pool|DiskPools|[commands](#CommandsInDiskPools)| +|az disk-pool|DiskPoolZones|[commands](#CommandsInDiskPoolZones)| |az disk-pool iscsi-target|IscsiTargets|[commands](#CommandsInIscsiTargets)| ## COMMANDS @@ -23,9 +24,15 @@ |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| |[az disk-pool list-outbound-network-dependency-endpoint](#DiskPoolsListOutboundNetworkDependenciesEndpoints)|ListOutboundNetworkDependenciesEndpoints|[Parameters](#ParametersDiskPoolsListOutboundNetworkDependenciesEndpoints)|[Example](#ExamplesDiskPoolsListOutboundNetworkDependenciesEndpoints)| -|[az disk-pool list-skus](#DiskPoolsList)|List|[Parameters](#ParametersDiskPoolsList)|[Example](#ExamplesDiskPoolsList)| |[az disk-pool start](#DiskPoolsStart)|Start|[Parameters](#ParametersDiskPoolsStart)|[Example](#ExamplesDiskPoolsStart)| |[az disk-pool stop](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| +|[az disk-pool upgrade](#DiskPoolsUpgrade)|Upgrade|[Parameters](#ParametersDiskPoolsUpgrade)|[Example](#ExamplesDiskPoolsUpgrade)| + +### Commands in `az disk-pool` group +|CLI Command|Operation Swagger name|Parameters|Examples| +|---------|------------|--------|-----------| +|[az disk-pool list-skus](#DiskPoolZonesList)|List|[Parameters](#ParametersDiskPoolZonesList)|[Example](#ExamplesDiskPoolZonesList)| +|[az disk-pool list-zones](#DiskPoolZonesList)|List|[Parameters](#ParametersDiskPoolZonesList)|[Example](#ExamplesDiskPoolZonesList)| ### Commands in `az disk-pool iscsi-target` group |CLI Command|Operation Swagger name|Parameters|Examples| @@ -38,7 +45,6 @@ ## COMMAND DETAILS - ### group `az disk-pool` #### Command `az disk-pool list` @@ -60,6 +66,7 @@ az disk-pool list ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| + #### Command `az disk-pool show` ##### Example @@ -80,7 +87,7 @@ az disk-pool create --location "westus" --availability-zones "1" --disks "/subsc 111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks \ "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/v\ m-name_DataDisk_1" --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/prov\ -iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Basic_V0" tier="Basic" --tags key="value" \ +iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Basic_V1" tier="Basic" --tags key="value" \ --name "myDiskPool" --resource-group "myResourceGroup" ``` ##### Parameters @@ -92,6 +99,8 @@ iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Bas |**--location**|string|The geo-location where the resource lives.|location|location| |**--subnet-id**|string|Azure Resource ID of a Subnet for the Disk Pool.|subnet_id|subnetId| |**--tags**|dictionary|Resource tags.|tags|tags| +|**--managed-by**|string|Azure resource id. Indicates if this resource is managed by another Azure resource.|managed_by|managedBy| +|**--managed-by-extended**|array|List of Azure resource ids that manage this resource.|managed_by_extended|managedByExtended| |**--availability-zones**|array|Logical zone for Disk Pool resource; example: ["1"].|availability_zones|availabilityZones| |**--disks**|array|List of Azure Managed Disks to attach to a Disk Pool.|disks|disks| |**--additional-capabilities**|array|List of additional capabilities for a Disk Pool.|additional_capabilities|additionalCapabilities| @@ -102,14 +111,17 @@ iders/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" --sku name="Bas ``` az disk-pool update --name "myDiskPool" --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myR\ esourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" --disks "/subscriptions/11111111-1111-1111-1111-1111\ -11111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --tags key="value" \ ---resource-group "myResourceGroup" +11111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --sku name="Basic_B1" \ +tier="Basic" --tags key="value" --resource-group "myResourceGroup" ``` ##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +|**--managed-by**|string|Azure resource id. Indicates if this resource is managed by another Azure resource.|managed_by|managedBy| +|**--managed-by-extended**|array|List of Azure resource ids that manage this resource.|managed_by_extended|managedByExtended| +|**--sku**|object|Determines the SKU of the Disk Pool|sku|sku| |**--tags**|dictionary|Resource tags.|tags|tags| |**--disks**|array|List of Azure Managed Disks to attach to a Disk Pool.|disks|disks| @@ -138,17 +150,6 @@ az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --reso |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool list-skus` - -##### Example -``` -az disk-pool list-skus --location "eastus" -``` -##### Parameters -|Option|Type|Description|Path (SDK)|Swagger name| -|------|----|-----------|----------|------------| -|**--location**|string|The location of the resource.|location|location| - #### Command `az disk-pool start` ##### Example @@ -173,6 +174,41 @@ az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| +#### Command `az disk-pool upgrade` + +##### Example +``` +az disk-pool upgrade --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| +|**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| + +### group `az disk-pool` +#### Command `az disk-pool list-skus` + +##### Example +``` +az disk-pool list-skus --location "eastus" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--location**|string|The location of the resource.|location|location| + +#### Command `az disk-pool list-zones` + +##### Example +``` +az disk-pool list-zones --location "eastus" +``` +##### Parameters +|Option|Type|Description|Path (SDK)|Swagger name| +|------|----|-----------|----------|------------| +|**--location**|string|The location of the resource.|location|location| + ### group `az disk-pool iscsi-target` #### Command `az disk-pool iscsi-target list` @@ -215,6 +251,8 @@ iders/Microsoft.Compute/disks/vm-name_DataDisk_1" --target-iqn "iqn.2005-03.org. |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| |**--iscsi-target-name**|string|The name of the iSCSI Target.|iscsi_target_name|iscsiTargetName| |**--acl-mode**|choice|Mode for Target connectivity.|acl_mode|aclMode| +|**--managed-by**|string|Azure resource id. Indicates if this resource is managed by another Azure resource.|managed_by|managedBy| +|**--managed-by-extended**|array|List of Azure resource ids that manage this resource.|managed_by_extended|managedByExtended| |**--target-iqn**|string|iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server".|target_iqn|targetIqn| |**--static-acls**|array|Access Control List (ACL) for an iSCSI Target; defines LUN masking policy|static_acls|staticAcls| |**--luns**|array|List of LUNs to be exposed through iSCSI Target.|luns|luns| @@ -234,6 +272,8 @@ mapped-luns="lun0" --resource-group "myResourceGroup" |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| |**--iscsi-target-name**|string|The name of the iSCSI Target.|iscsi_target_name|iscsiTargetName| +|**--managed-by**|string|Azure resource id. Indicates if this resource is managed by another Azure resource.|managed_by|managedBy| +|**--managed-by-extended**|array|List of Azure resource ids that manage this resource.|managed_by_extended|managedByExtended| |**--static-acls**|array|Access Control List (ACL) for an iSCSI Target; defines LUN masking policy|static_acls|staticAcls| |**--luns**|array|List of LUNs to be exposed through iSCSI Target.|luns|luns| diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py index a731b37c907..d63937f7c2e 100644 --- a/src/diskpool/setup.py +++ b/src/diskpool/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.1.2' +VERSION = '0.1.0' try: from azext_diskpool.manual.version import VERSION except ImportError: From 53da3764e21691878e4705b6e85bc6946b1b6527 Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Wed, 20 Oct 2021 11:12:38 +0800 Subject: [PATCH 2/7] bump version --- src/diskpool/HISTORY.rst | 5 ++++ src/diskpool/README.md | 64 +++++++++++++++++++++++++++++----------- src/diskpool/setup.py | 2 +- 3 files changed, 53 insertions(+), 18 deletions(-) diff --git a/src/diskpool/HISTORY.rst b/src/diskpool/HISTORY.rst index 2efc39a9b51..588fc9b3129 100644 --- a/src/diskpool/HISTORY.rst +++ b/src/diskpool/HISTORY.rst @@ -3,6 +3,11 @@ Release History =============== +0.2.0 +++++++ +* Add `az disk-pool list-zones` command +* Add `az disk-pool redeploy` command + 0.1.2 ++++++ * Refine table output diff --git a/src/diskpool/README.md b/src/diskpool/README.md index d895aaad5cc..329d9a017ad 100644 --- a/src/diskpool/README.md +++ b/src/diskpool/README.md @@ -1,23 +1,23 @@ -# Azure CLI Extension # +# Azure CLI diskpool Extension # This is the extension for diskpool ### How to use ### Install this extension using the below CLI command ``` -az extension add -s https://zuhdefault.blob.core.windows.net/cliext/diskpool-0.2.0-py3-none-any.whl +az extension add --name diskpool ``` ### Included Features ### #### disk-pool #### ##### Create ##### ``` -az disk-pool create --name "myDiskPool" --location "westus" --availability-zones "1" \ - --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" \ - --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" \ +az disk-pool create --location "westus" --availability-zones "1" \ + --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" \ + --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" \ --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" \ - --sku name="Standard_ABC" --tags key="value" --resource-group "myResourceGroup" + --sku name="Basic_V1" tier="Basic" --tags key="value" --name "myDiskPool" --resource-group "myResourceGroup" -az disk-pool wait --created --name "myDiskPool" --resource-group "myResourceGroup" +az disk-pool wait --created --name "{myDiskPool}" --resource-group "{rg}" ``` ##### Show ##### ``` @@ -29,25 +29,49 @@ az disk-pool list --resource-group "myResourceGroup" ``` ##### Update ##### ``` -az disk-pool update --name "myDiskPool" --location "westus" --availability-zones "1" \ - --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" \ - --disks id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" \ - --subnet-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myvnet/subnets/mysubnet" \ - --tags key="value" --resource-group "myResourceGroup" +az disk-pool update --name "myDiskPool" \ + --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_0" \ + --disks "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" \ + --sku name="Basic_B1" tier="Basic" --tags key="value" --resource-group "myResourceGroup" +``` +##### List-outbound-network-dependency-endpoint ##### +``` +az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --resource-group "Sample-WestUSResourceGroup" +``` +##### Start ##### +``` +az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Stop ##### +``` +az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" +``` +##### Upgrade ##### +``` +az disk-pool upgrade --name "myDiskPool" --resource-group "myResourceGroup" ``` ##### Delete ##### ``` az disk-pool delete --name "myDiskPool" --resource-group "myResourceGroup" ``` +#### disk-pool #### +##### List-skus ##### +``` +az disk-pool list-skus --location "eastus" +``` +##### List-zones ##### +``` +az disk-pool list-zones --location "eastus" +``` #### disk-pool iscsi-target #### ##### Create ##### ``` -az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ - --target-iqn "iqn.2005-03.org.iscsi:server1" \ - --tpgs "[{\\"acls\\":[{\\"credentials\\":{\\"password\\":\\"some_pa$$word\\",\\"username\\":\\"some_username\\"},\\"initiatorIqn\\":\\"iqn.2005-03.org.iscsi:client\\",\\"mappedLuns\\":[\\"lun0\\"]}],\\"attributes\\":{\\"authentication\\":true,\\"prodModeWriteProtect\\":false},\\"luns\\":[{\\"name\\":\\"lun0\\",\\"managedDiskAzureResourceId\\":\\"/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1\\"}]}]" \ - --resource-group "myResourceGroup" +az disk-pool iscsi-target create --disk-pool-name "myDiskPool" --acl-mode "Dynamic" \ + --luns name="lun0" managed-disk-azure-resource-id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" \ + --target-iqn "iqn.2005-03.org.iscsi:server1" --name "myIscsiTarget" --resource-group "myResourceGroup" -az disk-pool iscsi-target wait --created --name "myIscsiTarget" --resource-group "myResourceGroup" +az disk-pool iscsi-target wait --created --disk-pool-name "{myDiskPool}" --name "{myIscsiTarget}" \ + --resource-group "{rg}" ``` ##### Show ##### ``` @@ -57,6 +81,12 @@ az disk-pool iscsi-target show --disk-pool-name "myDiskPool" --name "myIscsiTarg ``` az disk-pool iscsi-target list --disk-pool-name "myDiskPool" --resource-group "myResourceGroup" ``` +##### Update ##### +``` +az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ + --luns name="lun0" managed-disk-azure-resource-id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" \ + --static-acls initiator-iqn="iqn.2005-03.org.iscsi:client" mapped-luns="lun0" --resource-group "myResourceGroup" +``` ##### Delete ##### ``` az disk-pool iscsi-target delete --disk-pool-name "myDiskPool" --name "myIscsiTarget" \ diff --git a/src/diskpool/setup.py b/src/diskpool/setup.py index d63937f7c2e..06bc4ea3613 100644 --- a/src/diskpool/setup.py +++ b/src/diskpool/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '0.1.0' +VERSION = '0.2.0' try: from azext_diskpool.manual.version import VERSION except ImportError: From c786f99282be99987ef4ec016335438c7db116a8 Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Thu, 21 Oct 2021 11:54:16 +0800 Subject: [PATCH 3/7] change upgrade to redeploy --- .../azext_diskpool/generated/_help.py | 20 +- .../azext_diskpool/generated/_params.py | 6 +- .../azext_diskpool/generated/commands.py | 2 +- .../azext_diskpool/generated/custom.py | 20 +- .../tests/latest/example_steps.py | 39 +- .../test_diskpool_scenario_manual.yaml | 3983 ++--------------- .../tests/latest/test_disk_scenario_manual.py | 8 +- .../tests/latest/test_diskpool_scenario.py | 64 +- src/diskpool/report.md | 26 +- 9 files changed, 430 insertions(+), 3738 deletions(-) diff --git a/src/diskpool/azext_diskpool/generated/_help.py b/src/diskpool/azext_diskpool/generated/_help.py index e405033fcda..94c9b6bf029 100644 --- a/src/diskpool/azext_diskpool/generated/_help.py +++ b/src/diskpool/azext_diskpool/generated/_help.py @@ -122,6 +122,16 @@ "Sample-WestUSResourceGroup" """ +helps['disk-pool redeploy'] = """ + type: command + short-summary: "Redeploy replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 \ +minutes to complete. This is expected service behavior." + examples: + - name: Redeploy Disk Pool + text: |- + az disk-pool redeploy --name "myDiskPool" --resource-group "myResourceGroup" +""" + helps['disk-pool start'] = """ type: command short-summary: "The operation to start a Disk Pool. This start operation can take 10 minutes to complete. This is \ @@ -143,16 +153,6 @@ az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" """ -helps['disk-pool upgrade'] = """ - type: command - short-summary: "Upgrade replaces the underlying virtual machine hosts one at a time. This operation can take 10-15 \ -minutes to complete. This is expected service behavior." - examples: - - name: Upgrade Disk Pool - text: |- - az disk-pool upgrade --name "myDiskPool" --resource-group "myResourceGroup" -""" - helps['disk-pool wait'] = """ type: command short-summary: Place the CLI in a waiting state until a condition of the disk-pool is met. diff --git a/src/diskpool/azext_diskpool/generated/_params.py b/src/diskpool/azext_diskpool/generated/_params.py index 4740998403e..805ae5c05ea 100644 --- a/src/diskpool/azext_diskpool/generated/_params.py +++ b/src/diskpool/azext_diskpool/generated/_params.py @@ -78,17 +78,17 @@ def load_arguments(self, _): c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.') - with self.argument_context('disk-pool start') as c: + with self.argument_context('disk-pool redeploy') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') - with self.argument_context('disk-pool stop') as c: + with self.argument_context('disk-pool start') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') - with self.argument_context('disk-pool upgrade') as c: + with self.argument_context('disk-pool stop') as c: c.argument('resource_group_name', resource_group_name_type) c.argument('disk_pool_name', options_list=['--name', '-n', '--disk-pool-name'], type=str, help='The name of ' 'the Disk Pool.', id_part='name') diff --git a/src/diskpool/azext_diskpool/generated/commands.py b/src/diskpool/azext_diskpool/generated/commands.py index 2f20f0a81a1..f79eb3dcf56 100644 --- a/src/diskpool/azext_diskpool/generated/commands.py +++ b/src/diskpool/azext_diskpool/generated/commands.py @@ -49,9 +49,9 @@ def load_command_table(self, _): g.custom_command( 'list-outbound-network-dependency-endpoint', 'disk_pool_list_outbound_network_dependency_endpoint' ) + g.custom_command('redeploy', 'disk_pool_redeploy', supports_no_wait=True) g.custom_command('start', 'disk_pool_start', supports_no_wait=True) g.custom_command('stop', 'disk_pool_stop', supports_no_wait=True) - g.custom_command('upgrade', 'disk_pool_upgrade', supports_no_wait=True) g.custom_wait_command('wait', 'disk_pool_show') with self.command_group('disk-pool', diskpool_disk_pool_zone, client_factory=cf_disk_pool_zone) as g: diff --git a/src/diskpool/azext_diskpool/generated/custom.py b/src/diskpool/azext_diskpool/generated/custom.py index 11c91961285..40f7cf4c663 100644 --- a/src/diskpool/azext_diskpool/generated/custom.py +++ b/src/diskpool/azext_diskpool/generated/custom.py @@ -106,6 +106,16 @@ def disk_pool_list_outbound_network_dependency_endpoint(client, disk_pool_name=disk_pool_name) +def disk_pool_redeploy(client, + resource_group_name, + disk_pool_name, + no_wait=False): + return sdk_no_wait(no_wait, + client.begin_upgrade, + resource_group_name=resource_group_name, + disk_pool_name=disk_pool_name) + + def disk_pool_start(client, resource_group_name, disk_pool_name, @@ -126,16 +136,6 @@ def disk_pool_stop(client, disk_pool_name=disk_pool_name) -def disk_pool_upgrade(client, - resource_group_name, - disk_pool_name, - no_wait=False): - return sdk_no_wait(no_wait, - client.begin_upgrade, - resource_group_name=resource_group_name, - disk_pool_name=disk_pool_name) - - def disk_pool_list_skus(client, location): return client.list(location=location) diff --git a/src/diskpool/azext_diskpool/tests/latest/example_steps.py b/src/diskpool/azext_diskpool/tests/latest/example_steps.py index ca9125b414b..df38e01a4ea 100644 --- a/src/diskpool/azext_diskpool/tests/latest/example_steps.py +++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py @@ -27,8 +27,6 @@ def step_create(test, checks=None): '--subnet-id "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetw' 'orks/{vn}/subnets/{subnets}" ' '--sku name="Basic_V1" tier="Basic" ' - 'orks/{vn}/subnets/{subnets}" ' - '--sku name="Basic_V1" tier="Basic" ' '--tags key="value" ' '--name "{myDiskPool}" ' '--resource-group "{rg}"', @@ -93,7 +91,6 @@ def step_update(test, checks=None): '--disks "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Compute/disks/vm-name_D' 'ataDisk_1" ' '--sku name="Basic_B1" tier="Basic" ' - '--sku name="Basic_B1" tier="Basic" ' '--tags key="value" ' '--resource-group "{rg}"', checks=checks) @@ -123,21 +120,10 @@ def step_start(test, checks=None): # EXAMPLE: /DiskPools/post/Upgrade Disk Pool @try_manual -def step_upgrade(test, checks=None): +def step_redeploy(test, checks=None): if checks is None: checks = [] - test.cmd('az disk-pool upgrade ' - '--name "{myDiskPool}" ' - '--resource-group "{rg}"', - checks=checks) - - -# EXAMPLE: /DiskPools/post/Upgrade Disk Pool -@try_manual -def step_upgrade(test, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool upgrade ' + test.cmd('az disk-pool redeploy ' '--name "{myDiskPool}" ' '--resource-group "{rg}"', checks=checks) @@ -174,26 +160,6 @@ def step_list_zones(test, checks=None): checks=checks) -# EXAMPLE: /DiskPoolZones/get/List Disk Pool Skus -@try_manual -def step_list_skus(test, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool list-skus ' - '--location "eastus"', - checks=checks) - - -# EXAMPLE: /DiskPoolZones/get/List Disk Pool Zones -@try_manual -def step_list_zones(test, checks=None): - if checks is None: - checks = [] - test.cmd('az disk-pool list-zones ' - '--location "eastus"', - checks=checks) - - # EXAMPLE: /IscsiTargets/put/Create or Update iSCSI Target @try_manual def step_iscsi_target_create(test, checks=None): @@ -209,7 +175,6 @@ def step_iscsi_target_create(test, checks=None): '--resource-group "{rg}"', checks=[]) test.cmd('az disk-pool iscsi-target wait --created ' - '--disk-pool-name "{myDiskPool}" ' '--disk-pool-name "{myDiskPool}" ' '--name "{myIscsiTarget}" ' '--resource-group "{rg}"', diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml index 7eda136ea4d..78d1d7d95fc 100644 --- a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml @@ -1,7 +1,7 @@ interactions: - request: - body: '{"location": "eastus2euap", "tags": {}, "sku": {"name": "Premium_LRS"}, - "zones": ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": + body: '{"location": "westeurope", "tags": {}, "sku": {"name": "Premium_LRS"}, + "zones": ["1"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "Empty"}, "diskSizeGB": 1024, "maxShares": 2}}' headers: Accept: @@ -13,7 +13,7 @@ interactions: Connection: - keep-alive Content-Length: - - '208' + - '207' Content-Type: - application/json ParameterSetName: @@ -24,27 +24,27 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: body: - string: "{\r\n \"name\": \"disk000002\",\r\n \"location\": \"eastus2euap\",\r\n - \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n + string: "{\r\n \"name\": \"disk000002\",\r\n \"location\": \"westeurope\",\r\n + \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n \ },\r\n \"diskSizeGB\": 1024,\r\n \"maxShares\": 2,\r\n \"provisioningState\": \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/04bfc31e-3ecb-4e17-af56-01c0dc7f2287?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6572a7af-e80d-4acd-9ff3-354f4d822749?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 cache-control: - no-cache content-length: - - '376' + - '375' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:30 GMT + - Thu, 21 Oct 2021 02:35:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/04bfc31e-3ecb-4e17-af56-01c0dc7f2287?p=88376d82-510f-4098-9fed-60d0fb8eb079&monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6572a7af-e80d-4acd-9ff3-354f4d822749?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -77,33 +77,33 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/04bfc31e-3ecb-4e17-af56-01c0dc7f2287?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6572a7af-e80d-4acd-9ff3-354f4d822749?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-10-12T03:01:30.3189281+00:00\",\r\n \"endTime\": - \"2021-10-12T03:01:30.4439781+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-10-21T02:35:48.6413623+00:00\",\r\n \"endTime\": + \"2021-10-21T02:35:48.7351216+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000002\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n - \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n + \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:30.3189281+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:48.6569885+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"70448667-670e-46f8-bc8a-bf8232795843\",\r\n - \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"04bfc31e-3ecb-4e17-af56-01c0dc7f2287\"\r\n}" + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"7d2bb115-590b-4140-9f1b-3e38b9c4a3f7\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"6572a7af-e80d-4acd-9ff3-354f4d822749\"\r\n}" headers: cache-control: - no-cache content-length: - - '1161' + - '1160' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:32 GMT + - Thu, 21 Oct 2021 02:35:50 GMT expires: - '-1' pragma: @@ -120,7 +120,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399995 + - Microsoft.Compute/GetOperation3Min;49999,Microsoft.Compute/GetOperation30Min;399999 status: code: 200 message: OK @@ -144,26 +144,26 @@ interactions: response: body: string: "{\r\n \"name\": \"disk000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n - \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n + \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:30.3189281+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:48.6569885+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"70448667-670e-46f8-bc8a-bf8232795843\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"7d2bb115-590b-4140-9f1b-3e38b9c4a3f7\",\r\n \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '936' + - '935' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:33 GMT + - Thu, 21 Oct 2021 02:35:50 GMT expires: - '-1' pragma: @@ -180,13 +180,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14998,Microsoft.Compute/LowCostGet30Min;119977 + - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39979 status: code: 200 message: OK - request: - body: '{"location": "eastus2euap", "tags": {}, "sku": {"name": "Premium_LRS"}, - "zones": ["3"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": + body: '{"location": "westeurope", "tags": {}, "sku": {"name": "Premium_LRS"}, + "zones": ["1"], "properties": {"hyperVGeneration": "V1", "creationData": {"createOption": "Empty"}, "diskSizeGB": 1024, "maxShares": 2}}' headers: Accept: @@ -198,7 +198,7 @@ interactions: Connection: - keep-alive Content-Length: - - '208' + - '207' Content-Type: - application/json ParameterSetName: @@ -209,27 +209,27 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: body: - string: "{\r\n \"name\": \"disk000003\",\r\n \"location\": \"eastus2euap\",\r\n - \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n + string: "{\r\n \"name\": \"disk000003\",\r\n \"location\": \"westeurope\",\r\n + \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n \ },\r\n \"diskSizeGB\": 1024,\r\n \"maxShares\": 2,\r\n \"provisioningState\": \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/9a576f77-b8c4-42da-b8ab-7344223fe826?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/7bc70ca1-1a27-4c47-b7bd-af67872b0f44?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 cache-control: - no-cache content-length: - - '376' + - '375' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:41 GMT + - Thu, 21 Oct 2021 02:35:53 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/9a576f77-b8c4-42da-b8ab-7344223fe826?p=88376d82-510f-4098-9fed-60d0fb8eb079&monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/7bc70ca1-1a27-4c47-b7bd-af67872b0f44?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -262,33 +262,33 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/eastus2euap/DiskOperations/9a576f77-b8c4-42da-b8ab-7344223fe826?p=88376d82-510f-4098-9fed-60d0fb8eb079&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/7bc70ca1-1a27-4c47-b7bd-af67872b0f44?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-10-12T03:01:41.8662376+00:00\",\r\n \"endTime\": - \"2021-10-12T03:01:41.9912403+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-10-21T02:35:53.8444999+00:00\",\r\n \"endTime\": + \"2021-10-21T02:35:53.9226183+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n - \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n + \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:41.8662376+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:53.8444999+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"4239473b-d20d-4948-8bf5-7500b7de8ba4\",\r\n - \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"9a576f77-b8c4-42da-b8ab-7344223fe826\"\r\n}" + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"2ccca8e8-862f-46c4-bef3-68b05d4783b0\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"7bc70ca1-1a27-4c47-b7bd-af67872b0f44\"\r\n}" headers: cache-control: - no-cache content-length: - - '1161' + - '1160' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:44 GMT + - Thu, 21 Oct 2021 02:35:55 GMT expires: - '-1' pragma: @@ -305,7 +305,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399993 + - Microsoft.Compute/GetOperation3Min;49997,Microsoft.Compute/GetOperation30Min;399997 status: code: 200 message: OK @@ -329,26 +329,26 @@ interactions: response: body: string: "{\r\n \"name\": \"disk000003\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003\",\r\n - \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"eastus2euap\",\r\n - \ \"tags\": {},\r\n \"zones\": [\r\n \"3\"\r\n ],\r\n \"sku\": {\r\n + \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n + \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": {\r\n \"hyperVGeneration\": \"V1\",\r\n \"creationData\": {\r\n \"createOption\": \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-12T03:01:41.8662376+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:53.8444999+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"4239473b-d20d-4948-8bf5-7500b7de8ba4\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"2ccca8e8-862f-46c4-bef3-68b05d4783b0\",\r\n \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: - no-cache content-length: - - '936' + - '935' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:44 GMT + - Thu, 21 Oct 2021 02:35:56 GMT expires: - '-1' pragma: @@ -365,7 +365,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;14995,Microsoft.Compute/LowCostGet30Min;119974 + - Microsoft.Compute/LowCostGet3Min;4996,Microsoft.Compute/LowCostGet30Min;39976 status: code: 200 message: OK @@ -412,19 +412,19 @@ interactions: dataserviceversion: - 3.0; date: - - Tue, 12 Oct 2021 03:01:45 GMT + - Thu, 21 Oct 2021 02:35:58 GMT duration: - - '2765207' + - '2905674' expires: - '-1' ocp-aad-diagnostics-server-name: - - xVkh8BmpzPWIrx0oh+GgBk0xsaxS60I+U9+RKBuOePg= + - cz+YJ123xzhXAi1A3LKDHn4471wBoAt7SWdi/84kHqk= ocp-aad-session-key: - - hAUPuf2sHBCFVjhSH6nUUgQqDDQGZC1KdYmn8IxRE_dVlldgN214PIa5FPJKQk1VPPU9TyjyeRiSuZYHzgSOCcQVnJ8nXWZ_y7603IJsmEzchRVeri22LO8MQOxQdOUX.nwM2BKjW87UUPviqGDnMQDhr3kn_CGyVznMyuxG-sPE + - YO9xbYqZlH0IO5IXEmZmUrw_13dtqIxIs-kIwVe87LxPXlkhHuzRW0t7_dIpcn2B21fRietwIl0UetXyt0T8LiG4jMxCw_6_XQt6op7G2nFGA3vCvztxPNQ5S8_PXMV5.FcrdMV5zSQZbGoZSzbyeKScLV55HTQXRAMqSLRI_8LA pragma: - no-cache request-id: - - 06ab97e9-a3e9-41d2-b4f6-eb134bf3a0b8 + - ac775a49-eb64-4b30-9358-b1f38f8dab8d strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -471,7 +471,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:46 GMT + - Thu, 21 Oct 2021 02:35:59 GMT expires: - '-1' pragma: @@ -518,7 +518,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-12T03:01:46.5160193Z","updatedOn":"2021-10-12T03:01:46.9691958Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-21T02:35:59.9687612Z","updatedOn":"2021-10-21T02:36:00.4218719Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -527,7 +527,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:51 GMT + - Thu, 21 Oct 2021 02:36:06 GMT expires: - '-1' pragma: @@ -539,7 +539,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -586,19 +586,19 @@ interactions: dataserviceversion: - 3.0; date: - - Tue, 12 Oct 2021 03:01:52 GMT + - Thu, 21 Oct 2021 02:36:06 GMT duration: - - '2549530' + - '2539522' expires: - '-1' ocp-aad-diagnostics-server-name: - - 0E1Vnw4IHQF+Fmtqi9z6ForXg7MH2gV4krm6hoFfccs= + - BTpOjxc8UdmQJg7qoqFO/UMA0oCRp7sF32ij09NWQIc= ocp-aad-session-key: - - htwlg8_Q_oEwBswTB5NAA7ayJdSspPxTz6CDZjjU23MJd2YoSAx2HLE-ogzkBWGPkD-l3HG2b1-0xw4M3SJVw3uQ5YWBVIihbihZ-tnMNYv0PgH75IZaphqrS7CCLnYp.Ye9hqbCcixyypf8uV6EXNgZg3J-0uXC4QD9DF6OvHTM + - vL-ODqgb0LsPRuIAkKXR8nRfBPvKjL7ypTmJLotoAbslBVrmJ905FbhB_I-GUUSJinhdXoZYFl1HvTStaYnTLogXBV7n8NvRC-Y-dlm6Uxuj8Gpg_-NY9kVY2W_0e3KE.VgO6sG2NmGR8wtg6enzwVK49PimYQKCq4k49D_xriPw pragma: - no-cache request-id: - - f27bd550-3e86-4973-aa63-de0ac29bdc74 + - 56335281-3a8d-4e50-ab09-efb4514ff766 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -645,7 +645,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:53 GMT + - Thu, 21 Oct 2021 02:36:07 GMT expires: - '-1' pragma: @@ -692,7 +692,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-12T03:01:53.6928451Z","updatedOn":"2021-10-12T03:01:54.1616213Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-21T02:36:07.9976770Z","updatedOn":"2021-10-21T02:36:08.3882926Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -701,7 +701,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:01:59 GMT + - Thu, 21 Oct 2021 02:36:14 GMT expires: - '-1' pragma: @@ -713,13 +713,13 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created - request: - body: '{"location": "eastus2euap", "tags": {}, "properties": {"addressSpace": - {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {}}}' + body: '{"location": "westeurope", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + ["10.0.0.0/16"]}, "dhcpOptions": {}}}' headers: Accept: - application/json @@ -730,7 +730,7 @@ interactions: Connection: - keep-alive Content-Length: - - '128' + - '127' Content-Type: - application/json ParameterSetName: @@ -742,10 +742,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"000f2d94-24e5-4362-a645-b3ef91f9b0e6\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"etag\": \"W/\\\"c52d2621-8358-406e-a390-a54bdb3b3b21\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\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\": @@ -754,15 +754,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5eeddf7c-0bda-435d-81d0-111a8896be8f?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5208bbd7-e0f0-46f8-ae8b-c27440df6cef?api-version=2021-02-01 cache-control: - no-cache content-length: - - '688' + - '687' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:08 GMT + - Thu, 21 Oct 2021 02:36:21 GMT expires: - '-1' pragma: @@ -775,7 +775,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 47e8f407-6d2c-43bd-bdcb-9bc3150097a5 + - 5b09f7f0-a2cd-4209-95a7-72cc9f65d372 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -797,7 +797,7 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/5eeddf7c-0bda-435d-81d0-111a8896be8f?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5208bbd7-e0f0-46f8-ae8b-c27440df6cef?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -809,7 +809,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:11 GMT + - Thu, 21 Oct 2021 02:36:25 GMT expires: - '-1' pragma: @@ -826,7 +826,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ef9a08b0-43f8-476f-8980-3199caeca941 + - 8983c251-11fb-4a5b-b06b-46e7e5319906 status: code: 200 message: OK @@ -850,10 +850,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"de0c3e62-25ae-41af-9d8d-d437a5b141ab\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"etag\": \"W/\\\"d7fded27-91c4-4762-9662-cbb982e50a55\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\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\": @@ -862,13 +862,13 @@ interactions: cache-control: - no-cache content-length: - - '689' + - '688' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:11 GMT + - Thu, 21 Oct 2021 02:36:25 GMT etag: - - W/"de0c3e62-25ae-41af-9d8d-d437a5b141ab" + - W/"d7fded27-91c4-4762-9662-cbb982e50a55" expires: - '-1' pragma: @@ -885,7 +885,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 34991e25-2911-4a18-b358-84d835162028 + - 4a5e27ef-faff-4a9f-ab1e-f706f77095f8 status: code: 200 message: OK @@ -909,10 +909,10 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"de0c3e62-25ae-41af-9d8d-d437a5b141ab\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"etag\": \"W/\\\"d7fded27-91c4-4762-9662-cbb982e50a55\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\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\": @@ -921,13 +921,13 @@ interactions: cache-control: - no-cache content-length: - - '689' + - '688' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:12 GMT + - Thu, 21 Oct 2021 02:36:26 GMT etag: - - W/"de0c3e62-25ae-41af-9d8d-d437a5b141ab" + - W/"d7fded27-91c4-4762-9662-cbb982e50a55" expires: - '-1' pragma: @@ -944,13 +944,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 6aa58586-ce9a-4865-8315-00cb05a42911 + - e952f59f-53fc-48a1-bb67-0e5636737cc5 status: code: 200 message: OK - request: body: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004", - "location": "eastus2euap", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": + "location": "westeurope", "tags": {}, "properties": {"addressSpace": {"addressPrefixes": ["10.0.0.0/16"]}, "dhcpOptions": {"dnsServers": []}, "subnets": [{"name": "subnet000005", "properties": {"addressPrefix": "10.0.0.0/24", "delegations": [{"name": "0", "properties": {"serviceName": "Microsoft.StoragePool/diskPools"}}], "privateEndpointNetworkPolicies": @@ -966,7 +966,7 @@ interactions: Connection: - keep-alive Content-Length: - - '629' + - '628' Content-Type: - application/json ParameterSetName: @@ -978,20 +978,20 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"edade983-3011-4eb7-996b-e298bb398547\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"etag\": \"W/\\\"fa025b55-dcb1-48a9-b58c-2d3633763d5d\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"edade983-3011-4eb7-996b-e298bb398547\\\"\",\r\n + \ \"etag\": \"W/\\\"fa025b55-dcb1-48a9-b58c-2d3633763d5d\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"edade983-3011-4eb7-996b-e298bb398547\\\"\",\r\n + \ \"etag\": \"W/\\\"fa025b55-dcb1-48a9-b58c-2d3633763d5d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1005,15 +1005,15 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/98c7a868-63f2-4632-b495-0c9c996781b3?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/2da35295-b576-467b-9ca7-df8136393bd9?api-version=2021-02-01 cache-control: - no-cache content-length: - - '2001' + - '2000' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:12 GMT + - Thu, 21 Oct 2021 02:36:28 GMT expires: - '-1' pragma: @@ -1030,9 +1030,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4da0439e-2e26-4e62-9cb4-64c488ed9279 + - 5af5bb41-be18-4be6-9b0b-3e8759781e22 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1052,7 +1052,7 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operations/98c7a868-63f2-4632-b495-0c9c996781b3?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/2da35295-b576-467b-9ca7-df8136393bd9?api-version=2021-02-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1064,7 +1064,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:16 GMT + - Thu, 21 Oct 2021 02:36:31 GMT expires: - '-1' pragma: @@ -1081,7 +1081,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1f0f0672-abcb-48cb-9421-a2c037bbb879 + - 69821e7b-6fe1-46f1-bd48-d20ecf08752f status: code: 200 message: OK @@ -1105,20 +1105,20 @@ interactions: response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"6af7869d-a51f-458f-b772-04d87429fc21\\\"\",\r\n \"type\": - \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus2euap\",\r\n + \ \"etag\": \"W/\\\"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e\\\"\",\r\n \"type\": + \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"ca4f9429-9065-4dae-834e-9e8c657392bc\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"6af7869d-a51f-458f-b772-04d87429fc21\\\"\",\r\n + \ \"etag\": \"W/\\\"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"6af7869d-a51f-458f-b772-04d87429fc21\\\"\",\r\n + \ \"etag\": \"W/\\\"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1132,13 +1132,13 @@ interactions: cache-control: - no-cache content-length: - - '2003' + - '2002' content-type: - application/json; charset=utf-8 date: - - Tue, 12 Oct 2021 03:02:16 GMT + - Thu, 21 Oct 2021 02:36:32 GMT etag: - - W/"6af7869d-a51f-458f-b772-04d87429fc21" + - W/"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e" expires: - '-1' pragma: @@ -1155,13 +1155,13 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 60ec0c31-bafc-440e-9a70-856964d9498b + - 2f670111-219b-4b24-b992-0a42a77d1fb0 status: code: 200 message: OK - request: - body: '{"sku": {"name": "Standard_S1", "tier": "Standard"}, "location": "eastus2euap", - "properties": {"availabilityZones": ["3"], "disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}], + body: '{"sku": {"name": "Standard_S1", "tier": "Standard"}, "location": "westeurope", + "properties": {"availabilityZones": ["1"], "disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}], "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005"}}' headers: Accept: @@ -1173,7 +1173,7 @@ interactions: Connection: - keep-alive Content-Length: - - '447' + - '446' Content-Type: - application/json ParameterSetName: @@ -1185,24 +1185,24 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 cache-control: - no-cache content-length: - - '949' + - '948' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:02:26 GMT + - Thu, 21 Oct 2021 02:36:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -1212,7 +1212,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-writes: - - '1197' + - '1199' x-ms-return-client-request-id: - 'true' status: @@ -1235,21 +1235,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:02:37 GMT + - Thu, 21 Oct 2021 02:36:53 GMT expires: - '-1' pragma: @@ -1284,21 +1284,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:03:07 GMT + - Thu, 21 Oct 2021 02:37:24 GMT expires: - '-1' pragma: @@ -1333,21 +1333,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:03:38 GMT + - Thu, 21 Oct 2021 02:37:54 GMT expires: - '-1' pragma: @@ -1382,21 +1382,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:04:09 GMT + - Thu, 21 Oct 2021 02:38:25 GMT expires: - '-1' pragma: @@ -1431,21 +1431,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:04:39 GMT + - Thu, 21 Oct 2021 02:38:55 GMT expires: - '-1' pragma: @@ -1480,21 +1480,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:05:09 GMT + - Thu, 21 Oct 2021 02:39:26 GMT expires: - '-1' pragma: @@ -1529,21 +1529,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:05:40 GMT + - Thu, 21 Oct 2021 02:39:56 GMT expires: - '-1' pragma: @@ -1578,21 +1578,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:06:11 GMT + - Thu, 21 Oct 2021 02:40:26 GMT expires: - '-1' pragma: @@ -1627,21 +1627,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:06:41 GMT + - Thu, 21 Oct 2021 02:40:57 GMT expires: - '-1' pragma: @@ -1676,21 +1676,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:07:12 GMT + - Thu, 21 Oct 2021 02:41:28 GMT expires: - '-1' pragma: @@ -1725,21 +1725,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:07:44 GMT + - Thu, 21 Oct 2021 02:41:59 GMT expires: - '-1' pragma: @@ -1774,21 +1774,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Succeeded","startTime":"2021-10-21T02:36:42Z","endTime":"2021-10-21T02:42:13Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '248' + - '1233' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:08:14 GMT + - Thu, 21 Oct 2021 02:42:29 GMT expires: - '-1' pragma: @@ -1823,21 +1823,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '248' + - '950' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:08:44 GMT + - Thu, 21 Oct 2021 02:42:29 GMT expires: - '-1' pragma: @@ -1859,34 +1859,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool show Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Running","startTime":"2021-10-12T03:02:25Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '248' + - '950' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:09:14 GMT + - Thu, 21 Oct 2021 02:42:31 GMT expires: - '-1' pragma: @@ -1908,51 +1907,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool redeploy Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/8e923e5b-04c6-4dee-8734-a197b62231a1?api-version=2021-08-01 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/upgrade?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/8e923e5b-04c6-4dee-8734-a197b62231a1","name":"8e923e5b-04c6-4dee-8734-a197b62231a1","status":"Succeeded","startTime":"2021-10-12T03:02:25Z","endTime":"2021-10-12T03:09:22Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 cache-control: - no-cache content-length: - - '1235' + - '0' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:09:46 GMT + - Thu, 21 Oct 2021 02:42:32 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1198' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1961,30 +1965,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '951' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:09:46 GMT + - Thu, 21 Oct 2021 02:42:43 GMT expires: - '-1' pragma: @@ -2006,11 +2009,11 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool show + - disk-pool redeploy Connection: - keep-alive ParameterSetName: @@ -2018,21 +2021,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '951' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:09:48 GMT + - Thu, 21 Oct 2021 02:43:13 GMT expires: - '-1' pragma: @@ -2054,33 +2057,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool list + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --resource-group + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:02:23.8647271Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}],"nextLink":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '979' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:09:49 GMT + - Thu, 21 Oct 2021 02:43:43 GMT expires: - '-1' pragma: @@ -2102,11 +2105,11 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool list-outbound-network-dependency-endpoint + - disk-pool redeploy Connection: - keep-alive ParameterSetName: @@ -2114,25 +2117,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/outboundNetworkDependenciesEndpoints?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"value":[{"category":"Microsoft Event Hub","endpoints":[{"domainName":"evhns-rp-prod-eus2euap.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft - Service Bus","endpoints":[{"domainName":"sb-rp-prod-eus2euap.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft - Service Bus (data plane)","endpoints":[{"domainName":"sb-rp-prod-eus2euap.servicebus.windows.net","endpointDetails":[{"port":5671}]}]},{"category":"Microsoft - Storage","endpoints":[{"domainName":"strpprodeus2euap.blob.core.windows.net","endpointDetails":[{"port":443}]},{"domainName":"stbsprodeus2euap.blob.core.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft - Apt Mirror","endpoints":[{"domainName":"azure.archive.ubuntu.com","endpointDetails":[{"port":443}]}]}]}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '808' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:09:50 GMT + - Thu, 21 Oct 2021 02:44:14 GMT expires: - '-1' pragma: @@ -2150,63 +2149,6 @@ interactions: status: code: 200 message: OK -- request: - body: '{"properties": {"aclMode": "Dynamic", "luns": [{"name": "lun0", "managedDiskAzureResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target create - Connection: - - keep-alive - Content-Length: - - '228' - Content-Type: - - application/json - ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Pending","status":"Unknown"}}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '863' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:09:52 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1196' - x-ms-return-client-request-id: - - 'true' - status: - code: 201 - message: Created - request: body: null headers: @@ -2215,29 +2157,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/07451fdb-88fb-435f-8a5f-e606c28c473c","name":"07451fdb-88fb-435f-8a5f-e606c28c473c","status":"Running","startTime":"2021-10-12T03:09:52Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:10:02 GMT + - Thu, 21 Oct 2021 02:44:45 GMT expires: - '-1' pragma: @@ -2263,29 +2205,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/07451fdb-88fb-435f-8a5f-e606c28c473c?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/07451fdb-88fb-435f-8a5f-e606c28c473c","name":"07451fdb-88fb-435f-8a5f-e606c28c473c","status":"Succeeded","startTime":"2021-10-12T03:09:52Z","endTime":"2021-10-12T03:10:07Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1149' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:10:33 GMT + - Thu, 21 Oct 2021 02:45:15 GMT expires: - '-1' pragma: @@ -2311,29 +2253,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target create + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --acl-mode --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '865' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:10:33 GMT + - Thu, 21 Oct 2021 02:45:45 GMT expires: - '-1' pragma: @@ -2355,33 +2297,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target show + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '865' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:10:35 GMT + - Thu, 21 Oct 2021 02:46:16 GMT expires: - '-1' pragma: @@ -2403,33 +2345,33 @@ interactions: body: null headers: Accept: - - application/json + - '*/*' Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target list + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --disk-pool-name --resource-group + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:09:51.9722447Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '893' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:10:36 GMT + - Thu, 21 Oct 2021 02:46:47 GMT expires: - '-1' pragma: @@ -2447,63 +2389,6 @@ interactions: status: code: 200 message: OK -- request: - body: '{"properties": {"disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, - {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool update - Connection: - - keep-alive - Content-Length: - - '307' - Content-Type: - - application/json - ParameterSetName: - - --name --resource-group --disks - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 - response: - body: - string: '{}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '2' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:10:39 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted - request: body: null headers: @@ -2512,29 +2397,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:10:50 GMT + - Thu, 21 Oct 2021 02:47:17 GMT expires: - '-1' pragma: @@ -2560,29 +2445,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:11:21 GMT + - Thu, 21 Oct 2021 02:47:47 GMT expires: - '-1' pragma: @@ -2608,29 +2493,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:11:51 GMT + - Thu, 21 Oct 2021 02:48:18 GMT expires: - '-1' pragma: @@ -2656,29 +2541,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:12:21 GMT + - Thu, 21 Oct 2021 02:48:49 GMT expires: - '-1' pragma: @@ -2704,29 +2589,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:12:52 GMT + - Thu, 21 Oct 2021 02:49:19 GMT expires: - '-1' pragma: @@ -2752,29 +2637,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:13:23 GMT + - Thu, 21 Oct 2021 02:49:49 GMT expires: - '-1' pragma: @@ -2800,29 +2685,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:13:53 GMT + - Thu, 21 Oct 2021 02:50:20 GMT expires: - '-1' pragma: @@ -2848,29 +2733,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:14:24 GMT + - Thu, 21 Oct 2021 02:50:51 GMT expires: - '-1' pragma: @@ -2896,29 +2781,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Running","startTime":"2021-10-12T03:10:40Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '248' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:14:54 GMT + - Thu, 21 Oct 2021 02:51:23 GMT expires: - '-1' pragma: @@ -2944,29 +2829,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b441f772-9d70-4c3e-b6d5-192490aff3ae","name":"b441f772-9d70-4c3e-b6d5-192490aff3ae","status":"Succeeded","startTime":"2021-10-12T03:10:40Z","endTime":"2021-10-12T03:14:57Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1372' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:15:25 GMT + - Thu, 21 Oct 2021 02:51:54 GMT expires: - '-1' pragma: @@ -2992,29 +2877,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '1088' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:15:26 GMT + - Thu, 21 Oct 2021 02:52:24 GMT expires: - '-1' pragma: @@ -3032,64 +2917,6 @@ interactions: status: code: 200 message: OK -- request: - body: '{"properties": {"luns": [{"name": "lun0", "managedDiskAzureResourceId": - "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, - {"name": "lun1", "managedDiskAzureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target update - Connection: - - keep-alive - Content-Length: - - '386' - Content-Type: - - application/json - ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: PATCH - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 - response: - body: - string: '{}' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '2' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:15:27 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted - request: body: null headers: @@ -3098,29 +2925,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:15:39 GMT + - Thu, 21 Oct 2021 02:52:55 GMT expires: - '-1' pragma: @@ -3146,29 +2973,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:16:09 GMT + - Thu, 21 Oct 2021 02:53:26 GMT expires: - '-1' pragma: @@ -3194,29 +3021,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:16:40 GMT + - Thu, 21 Oct 2021 02:53:56 GMT expires: - '-1' pragma: @@ -3242,29 +3069,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:17:10 GMT + - Thu, 21 Oct 2021 02:54:27 GMT expires: - '-1' pragma: @@ -3290,29 +3117,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:17:40 GMT + - Thu, 21 Oct 2021 02:54:57 GMT expires: - '-1' pragma: @@ -3338,29 +3165,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:18:12 GMT + - Thu, 21 Oct 2021 02:55:27 GMT expires: - '-1' pragma: @@ -3386,29 +3213,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' headers: cache-control: - no-cache content-length: - - '235' + - '247' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:18:42 GMT + - Thu, 21 Oct 2021 02:55:58 GMT expires: - '-1' pragma: @@ -3434,29 +3261,31 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool iscsi-target update + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Running","startTime":"2021-10-12T03:15:28Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Failed","startTime":"2021-10-21T02:42:32Z","endTime":"2021-10-21T02:56:16Z","error":{"code":"UnexpectedError","message":"An + unexpected error has occurred. Please try again later. (Tracking id : f21bf30a-455e-410f-819e-fb927d82572a). + https://aka.ms/diskpools-troubleshooting."}}' headers: cache-control: - no-cache content-length: - - '235' + - '467' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Tue, 12 Oct 2021 03:19:12 GMT + - Thu, 21 Oct 2021 02:56:29 GMT expires: - '-1' pragma: @@ -3474,3048 +3303,4 @@ interactions: status: code: 200 message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target update - Connection: - - keep-alive - ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/7553ad9f-747f-4866-a586-3cba8f762cbb?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/7553ad9f-747f-4866-a586-3cba8f762cbb","name":"7553ad9f-747f-4866-a586-3cba8f762cbb","status":"Succeeded","startTime":"2021-10-12T03:15:28Z","endTime":"2021-10-12T03:19:19Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:15:27.2295539Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}}' - headers: - cache-control: - - no-cache - content-length: - - '1333' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target update - Connection: - - keep-alive - ParameterSetName: - - --name --disk-pool-name --resource-group --luns --luns - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:09:51.9722447Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:15:27.2295539Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":0},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":1}],"endpoints":["10.0.0.4:3260","10.0.0.5:3260"],"provisioningState":"Succeeded","status":"Healthy"}}' - headers: - cache-control: - - no-cache - content-length: - - '1049' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:19:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/deallocate?api-version=2021-08-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '0' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:19:45 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:19:55 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:20:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:20:57 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:21:27 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:21:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:22:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Running","startTime":"2021-10-12T03:19:45Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:22:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool stop - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","name":"f5f5ca16-9fb1-40d4-a4b3-eb0bdf169066","status":"Succeeded","startTime":"2021-10-12T03:19:45Z","endTime":"2021-10-12T03:23:19Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped - (deallocated)"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' - headers: - cache-control: - - no-cache - content-length: - - '1386' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:23:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool show - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped - (deallocated)"},"sku":{"name":"Standard_S1","tier":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '1102' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:23:31 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/start?api-version=2021-08-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '0' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:23:33 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1199' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:23:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:24:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:24:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:25:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:25:46 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:26:16 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:26:47 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:27:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:27:48 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:28:18 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:28:50 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:29:20 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:29:50 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:30:21 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:30:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:31:23 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:31:53 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:32:24 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:32:54 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:33:26 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:33:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:34:26 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:34:56 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:35:28 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:35:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:36:28 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:36:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Running","startTime":"2021-10-12T03:23:34Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:37:30 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool start - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","name":"c34b4833-2cdc-4ff2-9a88-7250f0ac11bc","status":"Succeeded","startTime":"2021-10-12T03:23:34Z","endTime":"2021-10-12T03:37:35Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' - headers: - cache-control: - - no-cache - content-length: - - '1372' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool show - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"eastus2euap","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-12T03:02:23.8647271Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-12T03:10:38.024848Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["3"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' - headers: - cache-control: - - no-cache - content-length: - - '1088' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:01 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --name --disk-pool-name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '0' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:03 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target delete - Connection: - - keep-alive - ParameterSetName: - - --name --disk-pool-name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/80848d07-4baa-4168-b8fb-dc60afad5493","name":"80848d07-4baa-4168-b8fb-dc60afad5493","status":"Running","startTime":"2021-10-12T03:38:03Z"}' - headers: - cache-control: - - no-cache - content-length: - - '235' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target delete - Connection: - - keep-alive - ParameterSetName: - - --name --disk-pool-name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/80848d07-4baa-4168-b8fb-dc60afad5493?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/80848d07-4baa-4168-b8fb-dc60afad5493","name":"80848d07-4baa-4168-b8fb-dc60afad5493","status":"Succeeded","startTime":"2021-10-12T03:38:03Z"}' - headers: - cache-control: - - no-cache - content-length: - - '237' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:44 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool iscsi-target list - Connection: - - keep-alive - ParameterSetName: - - --disk-pool-name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 - response: - body: - string: '{"value":[],"nextLink":null}' - headers: - cache-control: - - no-cache - content-length: - - '28' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:45 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - Content-Length: - - '0' - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: DELETE - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '0' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:48 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationresults/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-deletes: - - '14999' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:38:58 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:39:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:39:59 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:40:29 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:41:00 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:41:32 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:42:03 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:42:33 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:43:03 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:43:35 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:44:05 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:44:35 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Running","startTime":"2021-10-12T03:38:48Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '248' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:45:06 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool delete - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group -y - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/operationsStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/eastus2euap/operationStatus/b34838b5-976d-49ec-af16-f5dbe86b12c6","name":"b34838b5-976d-49ec-af16-f5dbe86b12c6","status":"Succeeded","startTime":"2021-10-12T03:38:48Z","endTime":"2021-10-12T03:45:27Z"}' - headers: - cache-control: - - no-cache - content-length: - - '270' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Tue, 12 Oct 2021 03:45:37 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool list - Connection: - - keep-alive - ParameterSetName: - - --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 - response: - body: - string: '{"value":[]}' - headers: - cache-control: - - no-cache - content-length: - - '12' - content-type: - - application/json; charset=utf-8 - date: - - Tue, 12 Oct 2021 03:45:38 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - status: - code: 200 - message: OK version: 1 diff --git a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py index 2a1a3e5916e..986e05fd52a 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py @@ -22,9 +22,9 @@ def test_diskpool_scenario_manual(self, resource_group): 'vnet': self.create_random_name(prefix='vnet', length=10), 'subnet': self.create_random_name(prefix='subnet', length=10), 'subnetPrefix': '10.0.0.0/24', - 'zone': "3", + 'zone': "1", 'diskPoolName': self.create_random_name(prefix='diskpool', length=16), - 'location': 'eastus2euap', + 'location': 'westeurope', 'targetName': self.create_random_name(prefix='iscsi', length=10), 'storagePoolObjectId': '09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad' }) @@ -58,7 +58,7 @@ def test_diskpool_scenario_manual(self, resource_group): self.check('disks[0].id', '{diskId}'), self.check('subnetId', '{subnetId}'), self.check('tier', 'Standard')]) - # self.cmd('disk-pool upgrade --name {diskPoolName} --resource-group {rg}', checks=[self.check('tier', 'Premium')]) + self.cmd('disk-pool redeploy --name {diskPoolName} --resource-group {rg}') self.cmd('disk-pool list --resource-group {rg}', checks=[self.check('length(@)', 1)]) @@ -114,3 +114,5 @@ def test_diskpool_scenario_manual(self, resource_group): def test_diskpool_list_sku_scenario_manual(self): result = self.cmd('disk-pool list-skus -l eastus2euap ').get_output_in_json() self.assertIsNotNone(result) + result = self.cmd('disk-pool list-zones -l eastus2euap ').get_output_in_json() + self.assertIsNotNone(result) diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py index 62a64993aa9..9b904ec7684 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py @@ -13,7 +13,6 @@ from azure.cli.testsdk import ResourceGroupPreparer from .preparers import VirtualNetworkPreparer from .preparers import SubnetPreparer -from .preparers import SubnetPreparer from .example_steps import step_create from .example_steps import step_show from .example_steps import step_list_outbound_network_dependency_endpoint @@ -22,12 +21,10 @@ from .example_steps import step_update from .example_steps import step_stop from .example_steps import step_start -from .example_steps import step_upgrade -from .example_steps import step_upgrade +from .example_steps import step_redeploy from .example_steps import step_delete from .example_steps import step_list_skus from .example_steps import step_list_zones -from .example_steps import step_list_zones from .example_steps import step_iscsi_target_create from .example_steps import step_iscsi_target_show from .example_steps import step_iscsi_target_list @@ -88,61 +85,7 @@ def call_scenario(test): ]) step_stop(test, checks=[]) step_start(test, checks=[]) - step_upgrade(test, checks=[]) - step_delete(test, checks=[]) - step_list_skus(test, checks=[]) - step_list_zones(test, checks=[]) - step_iscsi_target_create(test, checks=[ - test.check("aclMode", "Dynamic", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_show(test, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_list(test, checks=[ - test.check('length(@)', 1), - ]) - step_iscsi_target_update(test, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_delete(test, checks=[]) - cleanup_scenario(test) - - - setup_scenario(test) - step_create(test, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_show(test, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), - test.check("sku.name", "Basic_V1", case_sensitive=False), - test.check("sku.tier", "Basic", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_list_outbound_network_dependency_endpoint(test, checks=[]) - step_list(test, checks=[ - test.check('length(@)', 1), - ]) - step_list2(test, checks=[ - test.check('length(@)', 1), - ]) - step_update(test, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_stop(test, checks=[]) - step_start(test, checks=[]) - step_upgrade(test, checks=[]) + step_redeploy(test, checks=[]) step_delete(test, checks=[]) step_list_skus(test, checks=[]) step_list_zones(test, checks=[]) @@ -185,12 +128,9 @@ def __init__(self, *args, **kwargs): @ResourceGroupPreparer(name_prefix='clitestdiskpool_Sample-WestUSResourceGroup'[:7], key='rg_2', parameter_name='rg_2') @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - @SubnetPreparer(name_prefix='clitestdiskpool_mysubnet'[:7], key='subnets', virtual_network_key='vn', - resource_group_key='rg') @SubnetPreparer(name_prefix='clitestdiskpool_mysubnet'[:7], key='subnets', virtual_network_key='vn', resource_group_key='rg') def test_diskpool_Scenario(self, rg, rg_2): - call_scenario(self) call_scenario(self) calc_coverage(__file__) raise_if() diff --git a/src/diskpool/report.md b/src/diskpool/report.md index a0a311b4245..584be2012cf 100644 --- a/src/diskpool/report.md +++ b/src/diskpool/report.md @@ -24,9 +24,9 @@ |[az disk-pool update](#DiskPoolsUpdate)|Update|[Parameters](#ParametersDiskPoolsUpdate)|[Example](#ExamplesDiskPoolsUpdate)| |[az disk-pool delete](#DiskPoolsDelete)|Delete|[Parameters](#ParametersDiskPoolsDelete)|[Example](#ExamplesDiskPoolsDelete)| |[az disk-pool list-outbound-network-dependency-endpoint](#DiskPoolsListOutboundNetworkDependenciesEndpoints)|ListOutboundNetworkDependenciesEndpoints|[Parameters](#ParametersDiskPoolsListOutboundNetworkDependenciesEndpoints)|[Example](#ExamplesDiskPoolsListOutboundNetworkDependenciesEndpoints)| +|[az disk-pool redeploy](#DiskPoolsUpgrade)|Upgrade|[Parameters](#ParametersDiskPoolsUpgrade)|[Example](#ExamplesDiskPoolsUpgrade)| |[az disk-pool start](#DiskPoolsStart)|Start|[Parameters](#ParametersDiskPoolsStart)|[Example](#ExamplesDiskPoolsStart)| |[az disk-pool stop](#DiskPoolsDeallocate)|Deallocate|[Parameters](#ParametersDiskPoolsDeallocate)|[Example](#ExamplesDiskPoolsDeallocate)| -|[az disk-pool upgrade](#DiskPoolsUpgrade)|Upgrade|[Parameters](#ParametersDiskPoolsUpgrade)|[Example](#ExamplesDiskPoolsUpgrade)| ### Commands in `az disk-pool` group |CLI Command|Operation Swagger name|Parameters|Examples| @@ -150,37 +150,37 @@ az disk-pool list-outbound-network-dependency-endpoint --name "SampleAse" --reso |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool start` +#### Command `az disk-pool redeploy` -##### Example +##### Example ``` -az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" +az disk-pool redeploy --name "myDiskPool" --resource-group "myResourceGroup" ``` -##### Parameters +##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool stop` +#### Command `az disk-pool start` -##### Example +##### Example ``` -az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" +az disk-pool start --name "myDiskPool" --resource-group "myResourceGroup" ``` -##### Parameters +##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| |**--disk-pool-name**|string|The name of the Disk Pool.|disk_pool_name|diskPoolName| -#### Command `az disk-pool upgrade` +#### Command `az disk-pool stop` -##### Example +##### Example ``` -az disk-pool upgrade --name "myDiskPool" --resource-group "myResourceGroup" +az disk-pool stop --name "myDiskPool" --resource-group "myResourceGroup" ``` -##### Parameters +##### Parameters |Option|Type|Description|Path (SDK)|Swagger name| |------|----|-----------|----------|------------| |**--resource-group-name**|string|The name of the resource group. The name is case insensitive.|resource_group_name|resourceGroupName| From b21e0ca10565c12f873380c26d58f31f4d234222 Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Fri, 22 Oct 2021 09:57:15 +0800 Subject: [PATCH 4/7] service issue, additional parameter to skip infra deployment for now. --- .../test_diskpool_scenario_manual.yaml | 1086 +++++++---------- .../tests/latest/test_disk_scenario_manual.py | 12 +- 2 files changed, 474 insertions(+), 624 deletions(-) diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml index 78d1d7d95fc..d228f61330f 100644 --- a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml @@ -19,7 +19,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: @@ -32,7 +32,7 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6572a7af-e80d-4acd-9ff3-354f4d822749?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/1e7baab0-9acc-4683-90df-c3f67e7f5291?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 cache-control: - no-cache content-length: @@ -40,11 +40,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:48 GMT + - Fri, 22 Oct 2021 01:25:48 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6572a7af-e80d-4acd-9ff3-354f4d822749?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/1e7baab0-9acc-4683-90df-c3f67e7f5291?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -75,15 +75,14 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6572a7af-e80d-4acd-9ff3-354f4d822749?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/1e7baab0-9acc-4683-90df-c3f67e7f5291?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-10-21T02:35:48.6413623+00:00\",\r\n \"endTime\": - \"2021-10-21T02:35:48.7351216+00:00\",\r\n \"status\": \"Succeeded\",\r\n - \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000002\",\r\n - \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n + string: "{\r\n \"startTime\": \"2021-10-22T01:25:48.8243911+00:00\",\r\n \"endTime\": + \"2021-10-22T01:25:48.91816+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"properties\": + {\r\n \"output\": {\r\n \"name\": \"disk000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": @@ -91,19 +90,19 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:48.6569885+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:48.8243911+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"7d2bb115-590b-4140-9f1b-3e38b9c4a3f7\",\r\n - \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"6572a7af-e80d-4acd-9ff3-354f4d822749\"\r\n}" + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"dbc2de86-90ef-431a-bcad-763c1499aca9\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"1e7baab0-9acc-4683-90df-c3f67e7f5291\"\r\n}" headers: cache-control: - no-cache content-length: - - '1160' + - '1158' content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:50 GMT + - Fri, 22 Oct 2021 01:25:51 GMT expires: - '-1' pragma: @@ -138,7 +137,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: @@ -151,9 +150,9 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:48.6569885+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:48.8243911+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"7d2bb115-590b-4140-9f1b-3e38b9c4a3f7\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"dbc2de86-90ef-431a-bcad-763c1499aca9\",\r\n \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: @@ -163,7 +162,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:50 GMT + - Fri, 22 Oct 2021 01:25:51 GMT expires: - '-1' pragma: @@ -180,7 +179,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39979 + - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39999 status: code: 200 message: OK @@ -204,7 +203,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: @@ -217,7 +216,7 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/7bc70ca1-1a27-4c47-b7bd-af67872b0f44?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/a5f7744a-b518-4c2c-ab1f-69ab305a3efe?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 cache-control: - no-cache content-length: @@ -225,11 +224,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:53 GMT + - Fri, 22 Oct 2021 01:25:55 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/7bc70ca1-1a27-4c47-b7bd-af67872b0f44?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/a5f7744a-b518-4c2c-ab1f-69ab305a3efe?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -260,13 +259,13 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/7bc70ca1-1a27-4c47-b7bd-af67872b0f44?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/a5f7744a-b518-4c2c-ab1f-69ab305a3efe?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-10-21T02:35:53.8444999+00:00\",\r\n \"endTime\": - \"2021-10-21T02:35:53.9226183+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-10-22T01:25:56.3400735+00:00\",\r\n \"endTime\": + \"2021-10-22T01:25:56.4338288+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n @@ -276,10 +275,10 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:53.8444999+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:56.3400735+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"2ccca8e8-862f-46c4-bef3-68b05d4783b0\",\r\n - \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"7bc70ca1-1a27-4c47-b7bd-af67872b0f44\"\r\n}" + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"d2c0ac44-d115-4c9a-b775-22b5619ded1e\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"a5f7744a-b518-4c2c-ab1f-69ab305a3efe\"\r\n}" headers: cache-control: - no-cache @@ -288,7 +287,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:55 GMT + - Fri, 22 Oct 2021 01:25:57 GMT expires: - '-1' pragma: @@ -323,7 +322,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: @@ -336,9 +335,9 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-21T02:35:53.8444999+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:56.3400735+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"2ccca8e8-862f-46c4-bef3-68b05d4783b0\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"d2c0ac44-d115-4c9a-b775-22b5619ded1e\",\r\n \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: @@ -348,7 +347,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:56 GMT + - Fri, 22 Oct 2021 01:25:58 GMT expires: - '-1' pragma: @@ -365,7 +364,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4996,Microsoft.Compute/LowCostGet30Min;39976 + - Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39997 status: code: 200 message: OK @@ -412,19 +411,19 @@ interactions: dataserviceversion: - 3.0; date: - - Thu, 21 Oct 2021 02:35:58 GMT + - Fri, 22 Oct 2021 01:26:04 GMT duration: - - '2905674' + - '2870644' expires: - '-1' ocp-aad-diagnostics-server-name: - - cz+YJ123xzhXAi1A3LKDHn4471wBoAt7SWdi/84kHqk= + - Snt7VP0SlVBNtUhc9mfIDXRxNr6ocdvej4oOTGRRZrE= ocp-aad-session-key: - - YO9xbYqZlH0IO5IXEmZmUrw_13dtqIxIs-kIwVe87LxPXlkhHuzRW0t7_dIpcn2B21fRietwIl0UetXyt0T8LiG4jMxCw_6_XQt6op7G2nFGA3vCvztxPNQ5S8_PXMV5.FcrdMV5zSQZbGoZSzbyeKScLV55HTQXRAMqSLRI_8LA + - TsLAdpsdD4iGuHatEwFwDD6D_SOB0-msKZ-DKAjYDvztqdl5FGXpBiKoCN-vH9E37z_RgWghOShgBrEg-867x7zry7hUdVQ4eMUBVEP_Ls2tQvoeGOQ8JrbV62BpJqpn.TF-Z8vM0Xb5UmEX4lFsf6ix2h1kL_26haHxwMu5GRuI pragma: - no-cache request-id: - - ac775a49-eb64-4b30-9358-b1f38f8dab8d + - 98aeb388-b876-48ed-9fce-cf52981f1e74 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -471,7 +470,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:35:59 GMT + - Fri, 22 Oct 2021 01:26:05 GMT expires: - '-1' pragma: @@ -518,7 +517,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-21T02:35:59.9687612Z","updatedOn":"2021-10-21T02:36:00.4218719Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-22T01:26:06.2770559Z","updatedOn":"2021-10-22T01:26:06.7770585Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -527,7 +526,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:06 GMT + - Fri, 22 Oct 2021 01:26:12 GMT expires: - '-1' pragma: @@ -539,7 +538,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 201 message: Created @@ -586,19 +585,19 @@ interactions: dataserviceversion: - 3.0; date: - - Thu, 21 Oct 2021 02:36:06 GMT + - Fri, 22 Oct 2021 01:26:13 GMT duration: - - '2539522' + - '2703406' expires: - '-1' ocp-aad-diagnostics-server-name: - - BTpOjxc8UdmQJg7qoqFO/UMA0oCRp7sF32ij09NWQIc= + - txnyzF+JOrN1XPyK+jRqYTWJjNilqVaaOHk6RgGmIao= ocp-aad-session-key: - - vL-ODqgb0LsPRuIAkKXR8nRfBPvKjL7ypTmJLotoAbslBVrmJ905FbhB_I-GUUSJinhdXoZYFl1HvTStaYnTLogXBV7n8NvRC-Y-dlm6Uxuj8Gpg_-NY9kVY2W_0e3KE.VgO6sG2NmGR8wtg6enzwVK49PimYQKCq4k49D_xriPw + - wWXiUC4m4konhrbcNSflcL5DQztjAuM_4G1q3L4RE22_-yvxXrNhk9QcKZzXHmJzlLBm5OQu8XYkEaOwsuifA1l9ic9WQTCN0o_iNmKp-W0MQ0ieGad0OghvL9wIQ5Qk.Qd0KWw5so4wxsdCjXgS0eWa1MlWqNYwxXZ9_ySrXZMk pragma: - no-cache request-id: - - 56335281-3a8d-4e50-ab09-efb4514ff766 + - b148e5f5-74b1-4208-9159-e1bf4a774058 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -645,7 +644,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:07 GMT + - Fri, 22 Oct 2021 01:26:14 GMT expires: - '-1' pragma: @@ -692,7 +691,7 @@ interactions: uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-21T02:36:07.9976770Z","updatedOn":"2021-10-21T02:36:08.3882926Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-22T01:26:15.0831592Z","updatedOn":"2021-10-22T01:26:15.5519164Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -701,7 +700,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:14 GMT + - Fri, 22 Oct 2021 01:26:21 GMT expires: - '-1' pragma: @@ -736,16 +735,16 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"c52d2621-8358-406e-a390-a54bdb3b3b21\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"2f79773e-aff7-48fd-b9ce-098482a2207a\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\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\": @@ -754,7 +753,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5208bbd7-e0f0-46f8-ae8b-c27440df6cef?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/f8c104b8-a655-4348-948b-5a4b1de3ebf2?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -762,7 +761,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:21 GMT + - Fri, 22 Oct 2021 01:26:26 GMT expires: - '-1' pragma: @@ -775,7 +774,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5b09f7f0-a2cd-4209-95a7-72cc9f65d372 + - 1971cb8a-8e3b-485f-946e-9a6ae0eff136 x-ms-ratelimit-remaining-subscription-writes: - '1199' status: @@ -795,9 +794,9 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/5208bbd7-e0f0-46f8-ae8b-c27440df6cef?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/f8c104b8-a655-4348-948b-5a4b1de3ebf2?api-version=2021-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -809,7 +808,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:25 GMT + - Fri, 22 Oct 2021 01:26:30 GMT expires: - '-1' pragma: @@ -826,7 +825,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 8983c251-11fb-4a5b-b06b-46e7e5319906 + - 89afc968-1d0f-487b-87b3-7512d6b37bc4 status: code: 200 message: OK @@ -844,16 +843,16 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"d7fded27-91c4-4762-9662-cbb982e50a55\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\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\": @@ -866,9 +865,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:25 GMT + - Fri, 22 Oct 2021 01:26:30 GMT etag: - - W/"d7fded27-91c4-4762-9662-cbb982e50a55" + - W/"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0" expires: - '-1' pragma: @@ -885,7 +884,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 4a5e27ef-faff-4a9f-ab1e-f706f77095f8 + - 437ea777-b7fc-4018-b974-4da050e9c79f status: code: 200 message: OK @@ -903,16 +902,16 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"d7fded27-91c4-4762-9662-cbb982e50a55\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\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\": @@ -925,9 +924,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:26 GMT + - Fri, 22 Oct 2021 01:26:32 GMT etag: - - W/"d7fded27-91c4-4762-9662-cbb982e50a55" + - W/"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0" expires: - '-1' pragma: @@ -944,7 +943,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - e952f59f-53fc-48a1-bb67-0e5636737cc5 + - 2a8b11e7-388e-4571-a248-068fb97de7ab status: code: 200 message: OK @@ -972,26 +971,26 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"fa025b55-dcb1-48a9-b58c-2d3633763d5d\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"435dcf00-6ea6-47ba-b4fb-23c92530fe40\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"fa025b55-dcb1-48a9-b58c-2d3633763d5d\\\"\",\r\n + \ \"etag\": \"W/\\\"435dcf00-6ea6-47ba-b4fb-23c92530fe40\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"fa025b55-dcb1-48a9-b58c-2d3633763d5d\\\"\",\r\n + \ \"etag\": \"W/\\\"435dcf00-6ea6-47ba-b4fb-23c92530fe40\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1005,7 +1004,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/2da35295-b576-467b-9ca7-df8136393bd9?api-version=2021-02-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/04b282b5-f8a9-4c1f-8687-f7a426a80bac?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -1013,7 +1012,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:28 GMT + - Fri, 22 Oct 2021 01:26:33 GMT expires: - '-1' pragma: @@ -1030,9 +1029,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 5af5bb41-be18-4be6-9b0b-3e8759781e22 + - eaebb57a-1ace-4030-a06c-0ecca1c8388f x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 200 message: OK @@ -1050,9 +1049,9 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/2da35295-b576-467b-9ca7-df8136393bd9?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/04b282b5-f8a9-4c1f-8687-f7a426a80bac?api-version=2021-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1064,7 +1063,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:31 GMT + - Fri, 22 Oct 2021 01:26:36 GMT expires: - '-1' pragma: @@ -1081,7 +1080,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 69821e7b-6fe1-46f1-bd48-d20ecf08752f + - d5bab91f-c7e8-4200-9344-b699bc2760ad status: code: 200 message: OK @@ -1099,26 +1098,26 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.0.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-02-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"fbb2057f-371e-4ab5-ba44-fd8378a940d2\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"230dd821-cfd3-400f-a60d-fb81d5db34ed\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e\\\"\",\r\n + \ \"etag\": \"W/\\\"fbb2057f-371e-4ab5-ba44-fd8378a940d2\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e\\\"\",\r\n + \ \"etag\": \"W/\\\"fbb2057f-371e-4ab5-ba44-fd8378a940d2\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1136,9 +1135,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:36:32 GMT + - Fri, 22 Oct 2021 01:26:37 GMT etag: - - W/"e73648c7-7a5e-4a8a-80cc-c8bd8ffb197e" + - W/"fbb2057f-371e-4ab5-ba44-fd8378a940d2" expires: - '-1' pragma: @@ -1155,14 +1154,15 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2f670111-219b-4b24-b992-0a42a77d1fb0 + - ea1e31df-59d4-42ed-8425-2bd2427fa478 status: code: 200 message: OK - request: body: '{"sku": {"name": "Standard_S1", "tier": "Standard"}, "location": "westeurope", "properties": {"availabilityZones": ["1"], "disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}], - "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005"}}' + "subnetId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005", + "additionalCapabilities": ["DiskPool.SkipInfrastructureDeployment"]}}' headers: Accept: - application/json @@ -1173,36 +1173,36 @@ interactions: Connection: - keep-alive Content-Length: - - '446' + - '515' Content-Type: - application/json ParameterSetName: - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + --disks --additional-capabilities User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 cache-control: - no-cache content-length: - - '948' + - '1015' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:36:43 GMT + - Fri, 22 Oct 2021 01:26:44 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -1212,7 +1212,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' x-ms-return-client-request-id: - 'true' status: @@ -1231,14 +1231,14 @@ interactions: - keep-alive ParameterSetName: - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + --disks --additional-capabilities User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","name":"3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","status":"Running","startTime":"2021-10-22T01:26:43Z","endTime":""}' headers: cache-control: - no-cache @@ -1249,7 +1249,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:36:53 GMT + - Fri, 22 Oct 2021 01:26:55 GMT expires: - '-1' pragma: @@ -1280,25 +1280,25 @@ interactions: - keep-alive ParameterSetName: - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + --disks --additional-capabilities User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","name":"3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","status":"Succeeded","startTime":"2021-10-22T01:26:43Z","endTime":"2021-10-22T01:26:59Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '247' + - '1300' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:37:24 GMT + - Fri, 22 Oct 2021 01:27:25 GMT expires: - '-1' pragma: @@ -1329,25 +1329,25 @@ interactions: - keep-alive ParameterSetName: - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + --disks --additional-capabilities User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '247' + - '1017' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:37:54 GMT + - Fri, 22 Oct 2021 01:27:25 GMT expires: - '-1' pragma: @@ -1369,34 +1369,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool show Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '247' + - '1017' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:38:25 GMT + - Fri, 22 Oct 2021 01:27:27 GMT expires: - '-1' pragma: @@ -1418,51 +1417,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool redeploy Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/upgrade?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '0' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:38:55 GMT + - Fri, 22 Oct 2021 01:27:30 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -1471,19 +1475,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe","name":"efe82d3f-41b9-4dcb-b975-691cfe4200fe","status":"Running","startTime":"2021-10-22T01:27:30Z","endTime":""}' headers: cache-control: - no-cache @@ -1494,7 +1497,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:39:26 GMT + - Fri, 22 Oct 2021 01:27:40 GMT expires: - '-1' pragma: @@ -1520,30 +1523,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool redeploy Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe","name":"efe82d3f-41b9-4dcb-b975-691cfe4200fe","status":"Succeeded","startTime":"2021-10-22T01:27:30Z","endTime":"2021-10-22T01:27:46Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '247' + - '1300' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:39:56 GMT + - Fri, 22 Oct 2021 01:28:11 GMT expires: - '-1' pragma: @@ -1565,34 +1567,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool list Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '247' + - '1045' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:40:26 GMT + - Fri, 22 Oct 2021 01:28:12 GMT expires: - '-1' pragma: @@ -1614,34 +1615,37 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool list-outbound-network-dependency-endpoint Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/outboundNetworkDependenciesEndpoints?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"value":[{"category":"Microsoft Event Hub","endpoints":[{"domainName":"evhns-rp-prod-weu.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft + Service Bus","endpoints":[{"domainName":"sb-rp-prod-weu.servicebus.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft + Service Bus (data plane)","endpoints":[{"domainName":"sb-rp-prod-weu.servicebus.windows.net","endpointDetails":[{"port":5671}]}]},{"category":"Microsoft + Storage","endpoints":[{"domainName":"strpprodweu.blob.core.windows.net","endpointDetails":[{"port":443}]},{"domainName":"stbsprodweu.blob.core.windows.net","endpointDetails":[{"port":443}]}]},{"category":"Microsoft + Apt Mirror","endpoints":[{"domainName":"azure.archive.ubuntu.com","endpointDetails":[{"port":443}]}]}]}' headers: cache-control: - no-cache content-length: - - '247' + - '783' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:40:57 GMT + - Fri, 22 Oct 2021 01:28:15 GMT expires: - '-1' pragma: @@ -1660,54 +1664,62 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"aclMode": "Dynamic", "luns": [{"name": "lun0", "managedDiskAzureResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}]}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive + Content-Length: + - '228' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + method: PUT + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Pending","status":"Unknown"}}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '835' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:41:28 GMT + - Fri, 22 Oct 2021 01:28:16 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 201 + message: Created - request: body: null headers: @@ -1716,30 +1728,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Running","startTime":"2021-10-21T02:36:42Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/e1466672-7ba0-429c-8441-8272b7ab6598","name":"e1466672-7ba0-429c-8441-8272b7ab6598","status":"Running","startTime":"2021-10-22T01:28:17Z"}' headers: cache-control: - no-cache content-length: - - '247' + - '234' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:41:59 GMT + - Fri, 22 Oct 2021 01:28:27 GMT expires: - '-1' pragma: @@ -1765,30 +1776,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3de5b482-a391-4452-b021-4572b201e4ce?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3de5b482-a391-4452-b021-4572b201e4ce","name":"3de5b482-a391-4452-b021-4572b201e4ce","status":"Succeeded","startTime":"2021-10-21T02:36:42Z","endTime":"2021-10-21T02:42:13Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/e1466672-7ba0-429c-8441-8272b7ab6598","name":"e1466672-7ba0-429c-8441-8272b7ab6598","status":"Succeeded","startTime":"2021-10-22T01:28:17Z","endTime":"2021-10-22T01:28:33Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache content-length: - - '1233' + - '1120' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:42:29 GMT + - Fri, 22 Oct 2021 01:28:57 GMT expires: - '-1' pragma: @@ -1814,30 +1824,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool create + - disk-pool iscsi-target create Connection: - keep-alive ParameterSetName: - - --name --resource-group --location --availability-zones --subnet-id --sku - --disks + - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '950' + - '837' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:42:29 GMT + - Fri, 22 Oct 2021 01:28:58 GMT expires: - '-1' pragma: @@ -1863,29 +1872,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool show + - disk-pool iscsi-target show Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-21T02:36:39.4539422Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-21T02:36:39.4539422Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running"},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '950' + - '837' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:42:31 GMT + - Fri, 22 Oct 2021 01:29:00 GMT expires: - '-1' pragma: @@ -1911,179 +1920,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target list Connection: - keep-alive - Content-Length: - - '0' ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: POST - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/upgrade?api-version=2021-08-01 - response: - body: - string: '' - headers: - azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 - cache-control: - - no-cache - content-length: - - '0' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Thu, 21 Oct 2021 02:42:32 GMT - expires: - - '-1' - location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - x-content-type-options: - - nosniff - x-ms-async-operation-timeout: - - PT1H - x-ms-ratelimit-remaining-subscription-writes: - - '1198' - x-ms-return-client-request-id: - - 'true' - status: - code: 202 - message: Accepted -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool redeploy - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '247' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Thu, 21 Oct 2021 02:42:43 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool redeploy - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '247' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Thu, 21 Oct 2021 02:43:13 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool redeploy - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group + - --disk-pool-name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '247' + - '865' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:43:43 GMT + - Fri, 22 Oct 2021 01:29:01 GMT expires: - '-1' pragma: @@ -2102,101 +1961,62 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"disks": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, + {"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' headers: Accept: - - '*/*' - Accept-Encoding: - - gzip, deflate - CommandName: - - disk-pool redeploy - Connection: - - keep-alive - ParameterSetName: - - --name --resource-group - User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 - response: - body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' - headers: - cache-control: - - no-cache - content-length: - - '247' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' - content-type: - - application/json; charset=UTF-8 - date: - - Thu, 21 Oct 2021 02:44:14 GMT - expires: - - '-1' - pragma: - - no-cache - strict-transport-security: - - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding - x-content-type-options: - - nosniff - x-ms-return-client-request-id: - - 'true' - status: - code: 200 - message: OK -- request: - body: null - headers: - Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool update Connection: - keep-alive + Content-Length: + - '307' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group + - --name --resource-group --disks User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '2' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:44:45 GMT + - Fri, 22 Oct 2021 01:29:04 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2205,18 +2025,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --resource-group --disks User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075","name":"69f453ae-d1ed-4066-b55a-9fb52e15a075","status":"Running","startTime":"2021-10-22T01:29:05Z","endTime":""}' headers: cache-control: - no-cache @@ -2227,7 +2047,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:45:15 GMT + - Fri, 22 Oct 2021 01:29:15 GMT expires: - '-1' pragma: @@ -2253,29 +2073,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --resource-group --disks User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075","name":"69f453ae-d1ed-4066-b55a-9fb52e15a075","status":"Succeeded","startTime":"2021-10-22T01:29:05Z","endTime":"2021-10-22T01:29:22Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '247' + - '1438' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:45:45 GMT + - Fri, 22 Oct 2021 01:29:46 GMT expires: - '-1' pragma: @@ -2301,29 +2121,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool update Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --resource-group --disks User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '247' + - '1155' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:46:16 GMT + - Fri, 22 Oct 2021 01:29:46 GMT expires: - '-1' pragma: @@ -2342,53 +2162,63 @@ interactions: code: 200 message: OK - request: - body: null + body: '{"properties": {"luns": [{"name": "lun0", "managedDiskAzureResourceId": + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}, + {"name": "lun1", "managedDiskAzureResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}]}}' headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target update Connection: - keep-alive + Content-Length: + - '386' + Content-Type: + - application/json ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + method: PATCH + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{}' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '2' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:46:47 GMT + - Fri, 22 Oct 2021 01:29:48 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2397,29 +2227,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0","name":"011647c0-29ba-402d-8fcf-f741e8ecf7a0","status":"Running","startTime":"2021-10-22T01:29:49Z"}' headers: cache-control: - no-cache content-length: - - '247' + - '234' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:47:17 GMT + - Fri, 22 Oct 2021 01:29:59 GMT expires: - '-1' pragma: @@ -2445,29 +2275,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0","name":"011647c0-29ba-402d-8fcf-f741e8ecf7a0","status":"Succeeded","startTime":"2021-10-22T01:29:49Z","endTime":"2021-10-22T01:30:05Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:48.1061979Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache content-length: - - '247' + - '1307' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:47:47 GMT + - Fri, 22 Oct 2021 01:30:29 GMT expires: - '-1' pragma: @@ -2493,29 +2323,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target update Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group --luns --luns User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:48.1061979Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache content-length: - - '247' + - '1024' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:48:18 GMT + - Fri, 22 Oct 2021 01:30:29 GMT expires: - '-1' pragma: @@ -2537,50 +2367,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool stop Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/deallocate?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '0' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:48:49 GMT + - Fri, 22 Oct 2021 01:30:32 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2589,7 +2425,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool stop Connection: - keep-alive ParameterSetName: @@ -2597,10 +2433,10 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b","name":"19e3f268-72a2-455f-acd8-1ea1d455d33b","status":"Running","startTime":"2021-10-22T01:30:32Z","endTime":""}' headers: cache-control: - no-cache @@ -2611,7 +2447,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:49:19 GMT + - Fri, 22 Oct 2021 01:30:42 GMT expires: - '-1' pragma: @@ -2637,7 +2473,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool stop Connection: - keep-alive ParameterSetName: @@ -2645,21 +2481,22 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b","name":"19e3f268-72a2-455f-acd8-1ea1d455d33b","status":"Succeeded","startTime":"2021-10-22T01:30:32Z","endTime":"2021-10-22T01:30:48Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped + (deallocated)","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '247' + - '1452' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:49:49 GMT + - Fri, 22 Oct 2021 01:31:12 GMT expires: - '-1' pragma: @@ -2681,11 +2518,11 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool show Connection: - keep-alive ParameterSetName: @@ -2693,21 +2530,22 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped + (deallocated)","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '247' + - '1169' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:50:20 GMT + - Fri, 22 Oct 2021 01:31:14 GMT expires: - '-1' pragma: @@ -2729,50 +2567,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool start Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - --name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + method: POST + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/start?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '0' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:50:51 GMT + - Fri, 22 Oct 2021 01:31:16 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-writes: + - '1199' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2781,7 +2625,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool start Connection: - keep-alive ParameterSetName: @@ -2789,10 +2633,10 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/abfdb90a-c172-4ae1-9d99-359baec98210","name":"abfdb90a-c172-4ae1-9d99-359baec98210","status":"Running","startTime":"2021-10-22T01:31:16Z","endTime":""}' headers: cache-control: - no-cache @@ -2803,7 +2647,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:51:23 GMT + - Fri, 22 Oct 2021 01:31:26 GMT expires: - '-1' pragma: @@ -2829,7 +2673,7 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool start Connection: - keep-alive ParameterSetName: @@ -2837,21 +2681,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/abfdb90a-c172-4ae1-9d99-359baec98210","name":"abfdb90a-c172-4ae1-9d99-359baec98210","status":"Succeeded","startTime":"2021-10-22T01:31:16Z","endTime":"2021-10-22T01:31:32Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache content-length: - - '247' + - '1438' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:51:54 GMT + - Fri, 22 Oct 2021 01:31:57 GMT expires: - '-1' pragma: @@ -2873,11 +2717,11 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool show Connection: - keep-alive ParameterSetName: @@ -2885,21 +2729,21 @@ interactions: User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache content-length: - - '247' + - '1155' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:52:24 GMT + - Fri, 22 Oct 2021 01:31:59 GMT expires: - '-1' pragma: @@ -2921,50 +2765,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group -y User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '0' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:52:55 GMT + - Fri, 22 Oct 2021 01:32:01 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -2973,29 +2823,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target delete Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group -y User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9","name":"5936e14d-8a88-45fc-b861-bc77f18ca2d9","status":"Running","startTime":"2021-10-22T01:32:02Z"}' headers: cache-control: - no-cache content-length: - - '247' + - '234' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:53:26 GMT + - Fri, 22 Oct 2021 01:32:12 GMT expires: - '-1' pragma: @@ -3021,29 +2871,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target delete Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --disk-pool-name --resource-group -y User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9","name":"5936e14d-8a88-45fc-b861-bc77f18ca2d9","status":"Succeeded","startTime":"2021-10-22T01:32:02Z"}' headers: cache-control: - no-cache content-length: - - '247' + - '236' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:53:56 GMT + - Fri, 22 Oct 2021 01:32:43 GMT expires: - '-1' pragma: @@ -3065,33 +2915,33 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool iscsi-target list Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --disk-pool-name --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"value":[],"nextLink":null}' headers: cache-control: - no-cache content-length: - - '247' + - '28' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:54:27 GMT + - Fri, 22 Oct 2021 01:32:44 GMT expires: - '-1' pragma: @@ -3113,50 +2963,56 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool delete Connection: - keep-alive + Content-Length: + - '0' ParameterSetName: - - --name --resource-group + - --name --resource-group -y User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) - method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + method: DELETE + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '' headers: + azure-asyncoperation: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 cache-control: - no-cache content-length: - - '247' + - '0' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:54:57 GMT + - Fri, 22 Oct 2021 01:32:48 GMT expires: - '-1' + location: + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff + x-ms-async-operation-timeout: + - PT1H + x-ms-ratelimit-remaining-subscription-deletes: + - '14999' x-ms-return-client-request-id: - 'true' status: - code: 200 - message: OK + code: 202 + message: Accepted - request: body: null headers: @@ -3165,18 +3021,18 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool delete Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --resource-group -y User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509","name":"22e44124-bab5-4c23-a9f2-0f0cbfdb0509","status":"Running","startTime":"2021-10-22T01:32:48Z","endTime":""}' headers: cache-control: - no-cache @@ -3187,7 +3043,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:55:27 GMT + - Fri, 22 Oct 2021 01:32:58 GMT expires: - '-1' pragma: @@ -3213,29 +3069,29 @@ interactions: Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool delete Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --name --resource-group -y User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Running","startTime":"2021-10-21T02:42:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509","name":"22e44124-bab5-4c23-a9f2-0f0cbfdb0509","status":"Succeeded","startTime":"2021-10-22T01:32:48Z","endTime":"2021-10-22T01:33:04Z"}' headers: cache-control: - no-cache content-length: - - '247' + - '269' content-security-policy: - default-src 'self'; frame-ancestors 'none' content-type: - application/json; charset=UTF-8 date: - - Thu, 21 Oct 2021 02:55:58 GMT + - Fri, 22 Oct 2021 01:33:28 GMT expires: - '-1' pragma: @@ -3257,49 +3113,41 @@ interactions: body: null headers: Accept: - - '*/*' + - application/json Accept-Encoding: - gzip, deflate CommandName: - - disk-pool redeploy + - disk-pool list Connection: - keep-alive ParameterSetName: - - --name --resource-group + - --resource-group User-Agent: - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dd66f6d6-9102-4c50-9f89-e626014413bb?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dd66f6d6-9102-4c50-9f89-e626014413bb","name":"dd66f6d6-9102-4c50-9f89-e626014413bb","status":"Failed","startTime":"2021-10-21T02:42:32Z","endTime":"2021-10-21T02:56:16Z","error":{"code":"UnexpectedError","message":"An - unexpected error has occurred. Please try again later. (Tracking id : f21bf30a-455e-410f-819e-fb927d82572a). - https://aka.ms/diskpools-troubleshooting."}}' + string: '{"value":[]}' headers: cache-control: - no-cache content-length: - - '467' - content-security-policy: - - default-src 'self'; frame-ancestors 'none' + - '12' content-type: - - application/json; charset=UTF-8 + - application/json; charset=utf-8 date: - - Thu, 21 Oct 2021 02:56:29 GMT + - Fri, 22 Oct 2021 01:33:30 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked vary: - Accept-Encoding x-content-type-options: - nosniff - x-ms-return-client-request-id: - - 'true' status: code: 200 message: OK diff --git a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py index 986e05fd52a..8980e19adeb 100644 --- a/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py +++ b/src/diskpool/azext_diskpool/tests/latest/test_disk_scenario_manual.py @@ -45,13 +45,15 @@ def test_diskpool_scenario_manual(self, resource_group): self.kwargs['subnetId'] = result['id'] # Create a Disk Pool + # TODO: remove --additional-capabilities when service is ready self.cmd('disk-pool create --name {diskPoolName} --resource-group {rg} --location {location} ' '--availability-zones {zone} --subnet-id {subnetId} --sku name="Standard_S1" tier="Standard" ' - '--disks {diskId}', checks=[self.check('name', '{diskPoolName}'), - self.check('availabilityZones[0]', '{zone}'), - self.check('disks[0].id', '{diskId}'), - self.check('subnetId', '{subnetId}'), - self.check('tier', 'Standard')]) + '--disks {diskId} --additional-capabilities DiskPool.SkipInfrastructureDeployment', + checks=[self.check('name', '{diskPoolName}'), + self.check('availabilityZones[0]', '{zone}'), + self.check('disks[0].id', '{diskId}'), + self.check('subnetId', '{subnetId}'), + self.check('tier', 'Standard')]) self.cmd('disk-pool show --name {diskPoolName} --resource-group {rg}', checks=[self.check('name', '{diskPoolName}'), self.check('availabilityZones[0]', '{zone}'), From 6b095b1c72adc3c3208990eab2de1880a7572e95 Mon Sep 17 00:00:00 2001 From: jiasli <4003950+jiasli@users.noreply.github.com> Date: Fri, 22 Oct 2021 13:48:31 +0800 Subject: [PATCH 5/7] Install azure-cli from dev --- scripts/ci/test_source.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/ci/test_source.sh b/scripts/ci/test_source.sh index 02fe04eb21f..6896e24e6e8 100755 --- a/scripts/ci/test_source.sh +++ b/scripts/ci/test_source.sh @@ -2,9 +2,11 @@ set -ex # Install CLI & CLI testsdk -echo "Installing azure-cli-testsdk and azure-cli..." -pip install --pre azure-cli --extra-index-url https://azurecliprod.blob.core.windows.net/edge -pip install "git+https://github.com/Azure/azure-cli@dev#egg=azure-cli-testsdk&subdirectory=src/azure-cli-testsdk" -q +echo "Installing azure-cli-testsdk, azure-cli-core, azure-cli from source code" +git clone https://github.com/Azure/azure-cli --depth 1 +pip install -e azure-cli/src/azure-cli-testsdk +pip install -e azure-cli/src/azure-cli-core +pip install -e azure-cli/src/azure-cli echo "Installed." python ./scripts/ci/test_source.py -v From b9ad4e33ef33b86b43d395f447e08788d035bfbb Mon Sep 17 00:00:00 2001 From: Jiashuo Li <4003950+jiasli@users.noreply.github.com> Date: Fri, 22 Oct 2021 15:22:32 +0800 Subject: [PATCH 6/7] Update test_source.sh --- scripts/ci/test_source.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ci/test_source.sh b/scripts/ci/test_source.sh index 6896e24e6e8..0179058e333 100755 --- a/scripts/ci/test_source.sh +++ b/scripts/ci/test_source.sh @@ -9,6 +9,9 @@ pip install -e azure-cli/src/azure-cli-core pip install -e azure-cli/src/azure-cli echo "Installed." +pip list -v +az --version + python ./scripts/ci/test_source.py -v echo "OK. Completed tests." From 68fef5acf91cf75585203daf7a287cfb824e7bb4 Mon Sep 17 00:00:00 2001 From: Zhiyi Huang <17182306+calvinhzy@users.noreply.github.com> Date: Fri, 22 Oct 2021 18:19:19 +0800 Subject: [PATCH 7/7] remove generated test --- ...est_diskpool_list_sku_scenario_manual.yaml | 60 +- .../test_diskpool_scenario_manual.yaml | 519 +++++++++--------- .../tests/latest/test_diskpool_scenario.py | 136 ----- 3 files changed, 307 insertions(+), 408 deletions(-) delete mode 100644 src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_list_sku_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_list_sku_scenario_manual.yaml index bb8182a4652..65ae4e5b252 100644 --- a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_list_sku_scenario_manual.yaml +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_list_sku_scenario_manual.yaml @@ -13,21 +13,71 @@ interactions: ParameterSetName: - -l User-Agent: - - AZURECLI/2.24.2 azsdk-python-storagepoolmanagement/unknown Python/3.8.3 (Windows-10-10.0.19041-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus/diskPoolZones?api-version=2021-04-01-preview + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/skus?api-version=2021-08-01 response: body: - string: '{"value":[{"availabilityZones":["3","1","2"],"sku":{"name":"Basic","tier":"Basic"}},{"availabilityZones":["3","1","2"],"sku":{"name":"Standard","tier":"Standard"}},{"availabilityZones":["3","1","2"],"sku":{"name":"Premium","tier":"Premium"}}]}' + string: '{"value":[{"apiVersion":"2021-08-01","capabilities":[{"name":"MaxNumberOfDisks","value":"32"}],"locationInfo":{"location":"EastUS2EUAP","zones":["3","2","1"]},"resourceType":"diskPools","name":"Standard_S1","tier":"Standard"},{"apiVersion":"2021-08-01","capabilities":[{"name":"MaxNumberOfDisks","value":"32"}],"locationInfo":{"location":"EastUS2EUAP","zones":["3","2","1"]},"resourceType":"diskPools","name":"Premium_P1","tier":"Premium"},{"apiVersion":"2021-08-01","capabilities":[{"name":"MaxNumberOfDisks","value":"16"}],"locationInfo":{"location":"EastUS2EUAP","zones":["3","2","1"]},"resourceType":"diskPools","name":"Basic_B1","tier":"Basic"}]}' headers: cache-control: - no-cache content-length: - - '243' + - '651' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' content-type: + - application/json; charset=UTF-8 + date: + - Fri, 22 Oct 2021 10:09:51 GMT + expires: + - '-1' + pragma: + - no-cache + strict-transport-security: + - max-age=31536000; includeSubDomains + transfer-encoding: + - chunked + vary: + - Accept-Encoding + x-content-type-options: + - nosniff + x-ms-return-client-request-id: + - 'true' + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: - application/json + Accept-Encoding: + - gzip, deflate + CommandName: + - disk-pool list-zones + Connection: + - keep-alive + ParameterSetName: + - -l + User-Agent: + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + method: GET + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/eastus2euap/diskPoolZones?api-version=2021-08-01 + response: + body: + string: '{"value":[{"availabilityZones":[],"sku":{"name":"Basic_B1","tier":"Basic"}},{"availabilityZones":[],"sku":{"name":"Standard_S1","tier":"Standard"}},{"availabilityZones":[],"sku":{"name":"Premium_P1","tier":"Premium"}}]}' + headers: + cache-control: + - no-cache + content-length: + - '219' + content-security-policy: + - default-src 'self'; frame-ancestors 'none' + content-type: + - application/json; charset=UTF-8 date: - - Thu, 10 Jun 2021 09:31:53 GMT + - Fri, 22 Oct 2021 10:09:56 GMT expires: - '-1' pragma: diff --git a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml index d228f61330f..febdb7af8dc 100644 --- a/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml +++ b/src/diskpool/azext_diskpool/tests/latest/recordings/test_diskpool_scenario_manual.yaml @@ -19,7 +19,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: @@ -32,7 +32,7 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/1e7baab0-9acc-4683-90df-c3f67e7f5291?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6a959ba4-f0d0-4265-a4d5-c0391c0acc64?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 cache-control: - no-cache content-length: @@ -40,11 +40,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:25:48 GMT + - Fri, 22 Oct 2021 10:09:59 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/1e7baab0-9acc-4683-90df-c3f67e7f5291?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6a959ba4-f0d0-4265-a4d5-c0391c0acc64?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -75,14 +75,15 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/1e7baab0-9acc-4683-90df-c3f67e7f5291?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/6a959ba4-f0d0-4265-a4d5-c0391c0acc64?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-10-22T01:25:48.8243911+00:00\",\r\n \"endTime\": - \"2021-10-22T01:25:48.91816+00:00\",\r\n \"status\": \"Succeeded\",\r\n \"properties\": - {\r\n \"output\": {\r\n \"name\": \"disk000002\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n + string: "{\r\n \"startTime\": \"2021-10-22T10:10:00.1522193+00:00\",\r\n \"endTime\": + \"2021-10-22T10:10:00.2928556+00:00\",\r\n \"status\": \"Succeeded\",\r\n + \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000002\",\r\n + \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"zones\": [\r\n \"1\"\r\n ],\r\n \"sku\": {\r\n \ \"name\": \"Premium_LRS\",\r\n \"tier\": \"Premium\"\r\n },\r\n \"properties\": @@ -90,19 +91,19 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:48.8243911+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T10:10:00.1522193+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"dbc2de86-90ef-431a-bcad-763c1499aca9\",\r\n - \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"1e7baab0-9acc-4683-90df-c3f67e7f5291\"\r\n}" + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"49dfac4e-2726-4ace-b76f-18a3bb6a0ecb\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"6a959ba4-f0d0-4265-a4d5-c0391c0acc64\"\r\n}" headers: cache-control: - no-cache content-length: - - '1158' + - '1160' content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:25:51 GMT + - Fri, 22 Oct 2021 10:10:01 GMT expires: - '-1' pragma: @@ -112,10 +113,6 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: @@ -137,7 +134,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002?api-version=2020-12-01 response: @@ -150,9 +147,9 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:48.8243911+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T10:10:00.1522193+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"dbc2de86-90ef-431a-bcad-763c1499aca9\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"49dfac4e-2726-4ace-b76f-18a3bb6a0ecb\",\r\n \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: @@ -162,7 +159,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:25:51 GMT + - Fri, 22 Oct 2021 10:10:02 GMT expires: - '-1' pragma: @@ -172,14 +169,10 @@ interactions: - Microsoft-HTTPAPI/2.0 strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39999 + - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39998 status: code: 200 message: OK @@ -203,7 +196,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: @@ -216,7 +209,7 @@ interactions: \"Updating\",\r\n \"isArmResource\": true\r\n }\r\n}" headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/a5f7744a-b518-4c2c-ab1f-69ab305a3efe?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/04543d87-6561-4b53-bcee-613c4594f9c3?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 cache-control: - no-cache content-length: @@ -224,11 +217,11 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:25:55 GMT + - Fri, 22 Oct 2021 10:10:06 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/a5f7744a-b518-4c2c-ab1f-69ab305a3efe?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/04543d87-6561-4b53-bcee-613c4594f9c3?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01 pragma: - no-cache server: @@ -241,7 +234,7 @@ interactions: x-ms-ratelimit-remaining-resource: - Microsoft.Compute/CreateUpdateDisks3Min;998,Microsoft.Compute/CreateUpdateDisks30Min;7998 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 202 message: Accepted @@ -259,13 +252,13 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/a5f7744a-b518-4c2c-ab1f-69ab305a3efe?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Compute/locations/westeurope/DiskOperations/04543d87-6561-4b53-bcee-613c4594f9c3?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01 response: body: - string: "{\r\n \"startTime\": \"2021-10-22T01:25:56.3400735+00:00\",\r\n \"endTime\": - \"2021-10-22T01:25:56.4338288+00:00\",\r\n \"status\": \"Succeeded\",\r\n + string: "{\r\n \"startTime\": \"2021-10-22T10:10:07.5272896+00:00\",\r\n \"endTime\": + \"2021-10-22T10:10:07.667915+00:00\",\r\n \"status\": \"Succeeded\",\r\n \ \"properties\": {\r\n \"output\": {\r\n \"name\": \"disk000003\",\r\n \ \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003\",\r\n \ \"type\": \"Microsoft.Compute/disks\",\r\n \"location\": \"westeurope\",\r\n @@ -275,19 +268,19 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:56.3400735+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T10:10:07.5429408+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"d2c0ac44-d115-4c9a-b775-22b5619ded1e\",\r\n - \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"a5f7744a-b518-4c2c-ab1f-69ab305a3efe\"\r\n}" + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"94906a53-e546-4e93-8085-9d7ed2e544e4\",\r\n + \ \"tier\": \"P30\"\r\n }\r\n}\r\n },\r\n \"name\": \"04543d87-6561-4b53-bcee-613c4594f9c3\"\r\n}" headers: cache-control: - no-cache content-length: - - '1160' + - '1159' content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:25:57 GMT + - Fri, 22 Oct 2021 10:10:09 GMT expires: - '-1' pragma: @@ -322,7 +315,7 @@ interactions: ParameterSetName: - --name --resource-group --zone --location --sku --max-shares --size-gb User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-compute/23.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003?api-version=2020-12-01 response: @@ -335,9 +328,9 @@ interactions: \"Empty\"\r\n },\r\n \"diskSizeGB\": 1024,\r\n \"diskIOPSReadWrite\": 5000,\r\n \"diskMBpsReadWrite\": 200,\r\n \"encryption\": {\r\n \"type\": \"EncryptionAtRestWithPlatformKey\"\r\n },\r\n \"maxShares\": 2,\r\n - \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T01:25:56.3400735+00:00\",\r\n + \ \"networkAccessPolicy\": \"AllowAll\",\r\n \"timeCreated\": \"2021-10-22T10:10:07.5429408+00:00\",\r\n \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n - \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"d2c0ac44-d115-4c9a-b775-22b5619ded1e\",\r\n + \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"94906a53-e546-4e93-8085-9d7ed2e544e4\",\r\n \ \"tier\": \"P30\"\r\n }\r\n}" headers: cache-control: @@ -347,7 +340,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:25:58 GMT + - Fri, 22 Oct 2021 10:10:09 GMT expires: - '-1' pragma: @@ -364,7 +357,7 @@ interactions: x-content-type-options: - nosniff x-ms-ratelimit-remaining-resource: - - Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39997 + - Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39996 status: code: 200 message: OK @@ -388,7 +381,7 @@ interactions: - --assignee-object-id --role --scope User-Agent: - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.29.0 + azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.29.1 accept-language: - en-US method: POST @@ -411,19 +404,19 @@ interactions: dataserviceversion: - 3.0; date: - - Fri, 22 Oct 2021 01:26:04 GMT + - Fri, 22 Oct 2021 10:10:13 GMT duration: - - '2870644' + - '2771771' expires: - '-1' ocp-aad-diagnostics-server-name: - - Snt7VP0SlVBNtUhc9mfIDXRxNr6ocdvej4oOTGRRZrE= + - Ku7q1maI/oqDAOtoM1mvopDfgP3gvlKNUV1dYIMcrdA= ocp-aad-session-key: - - TsLAdpsdD4iGuHatEwFwDD6D_SOB0-msKZ-DKAjYDvztqdl5FGXpBiKoCN-vH9E37z_RgWghOShgBrEg-867x7zry7hUdVQ4eMUBVEP_Ls2tQvoeGOQ8JrbV62BpJqpn.TF-Z8vM0Xb5UmEX4lFsf6ix2h1kL_26haHxwMu5GRuI + - n2F7NhL0fJTfaSdWE_Y1ToiYz3_fBBWIV0BooaOJGfV2H3MFMJsSQTtxV3oTSsuM53F-O-Kt8hb786ZrGgb4KBhw99Y1SXKkaXAYDPsBLQzQrN4owJHn0fIaMlvAagV8.mYF2hWnCF_MqN8lRowPVGoChuBuFYBs3IIpHotGGT7U pragma: - no-cache request-id: - - 98aeb388-b876-48ed-9fce-cf52981f1e74 + - b10858a6-bac6-4282-bb9a-527089d346e1 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -452,7 +445,7 @@ interactions: - --assignee-object-id --role --scope User-Agent: - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.1 accept-language: - en-US method: GET @@ -470,7 +463,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:05 GMT + - Fri, 22 Oct 2021 10:10:13 GMT expires: - '-1' pragma: @@ -510,14 +503,14 @@ interactions: - --assignee-object-id --role --scope User-Agent: - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-22T01:26:06.2770559Z","updatedOn":"2021-10-22T01:26:06.7770585Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","condition":null,"conditionVersion":null,"createdOn":"2021-10-22T10:10:14.4720173Z","updatedOn":"2021-10-22T10:10:14.8626451Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000001","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000001"}' headers: cache-control: - no-cache @@ -526,7 +519,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:12 GMT + - Fri, 22 Oct 2021 10:10:20 GMT expires: - '-1' pragma: @@ -562,7 +555,7 @@ interactions: - --assignee-object-id --role --scope User-Agent: - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.29.0 + azure-graphrbac/0.60.0 Azure-SDK-For-Python AZURECLI/2.29.1 accept-language: - en-US method: POST @@ -585,19 +578,19 @@ interactions: dataserviceversion: - 3.0; date: - - Fri, 22 Oct 2021 01:26:13 GMT + - Fri, 22 Oct 2021 10:10:22 GMT duration: - - '2703406' + - '2678790' expires: - '-1' ocp-aad-diagnostics-server-name: - - txnyzF+JOrN1XPyK+jRqYTWJjNilqVaaOHk6RgGmIao= + - jZ4o8jImajC9GtdnIBcKjxErTB5TTeYs/ZhZd2yXZT0= ocp-aad-session-key: - - wWXiUC4m4konhrbcNSflcL5DQztjAuM_4G1q3L4RE22_-yvxXrNhk9QcKZzXHmJzlLBm5OQu8XYkEaOwsuifA1l9ic9WQTCN0o_iNmKp-W0MQ0ieGad0OghvL9wIQ5Qk.Qd0KWw5so4wxsdCjXgS0eWa1MlWqNYwxXZ9_ySrXZMk + - p351fAInjXdSpSqA7vvQx2qOKdmJMhDjbKDquv4dgCWtyKMYcJQJ7ZHSkbOV_oETGHijAfStVmc1mJ6zjkTSezDG8MWwcPsFGjnGhjnMmc-k-r8V_2ItoynhEW43mIKg.quuSjnwPdBvxLo-Iquk1YrzX9g3BmGI2pGM9ck0PUGM pragma: - no-cache request-id: - - b148e5f5-74b1-4208-9159-e1bf4a774058 + - 50ef3451-a7f8-4da2-8c81-cacc9d50a375 strict-transport-security: - max-age=31536000; includeSubDomains x-aspnet-version: @@ -626,7 +619,7 @@ interactions: - --assignee-object-id --role --scope User-Agent: - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.1 accept-language: - en-US method: GET @@ -644,7 +637,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:14 GMT + - Fri, 22 Oct 2021 10:10:22 GMT expires: - '-1' pragma: @@ -684,14 +677,14 @@ interactions: - --assignee-object-id --role --scope User-Agent: - python/3.9.6 (Windows-10-10.0.19043-SP0) msrest/0.6.21 msrest_azure/0.6.3 - azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.0 + azure-mgmt-authorization/0.61.0 Azure-SDK-For-Python AZURECLI/2.29.1 accept-language: - en-US method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002?api-version=2020-04-01-preview response: body: - string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-22T01:26:15.0831592Z","updatedOn":"2021-10-22T01:26:15.5519164Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' + string: '{"properties":{"roleDefinitionId":"/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c","principalId":"09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad","principalType":"ServicePrincipal","scope":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","condition":null,"conditionVersion":null,"createdOn":"2021-10-22T10:10:23.7735745Z","updatedOn":"2021-10-22T10:10:24.1798276Z","createdBy":null,"updatedBy":"a7250e3a-0e5e-48e2-9a34-45f1f5e1a91e","delegatedManagedIdentityResourceId":null,"description":null},"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003/providers/Microsoft.Authorization/roleAssignments/88888888-0000-0000-0000-000000000002","type":"Microsoft.Authorization/roleAssignments","name":"88888888-0000-0000-0000-000000000002"}' headers: cache-control: - no-cache @@ -700,7 +693,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:21 GMT + - Fri, 22 Oct 2021 10:10:30 GMT expires: - '-1' pragma: @@ -735,16 +728,16 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"2f79773e-aff7-48fd-b9ce-098482a2207a\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"5accc31e-d367-4f97-a716-a869c374f21b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"5a6dd5ec-48af-4a44-a48f-b0cb1283c1a3\",\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\": @@ -753,7 +746,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/f8c104b8-a655-4348-948b-5a4b1de3ebf2?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/1389e7b5-5e24-43d0-a68e-5edb97930e3f?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -761,7 +754,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:26 GMT + - Fri, 22 Oct 2021 10:10:38 GMT expires: - '-1' pragma: @@ -774,9 +767,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 1971cb8a-8e3b-485f-946e-9a6ae0eff136 + - 6be73a39-5f0a-49f2-a8b9-3ec0e1954fa7 x-ms-ratelimit-remaining-subscription-writes: - - '1199' + - '1198' status: code: 201 message: Created @@ -794,9 +787,9 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/f8c104b8-a655-4348-948b-5a4b1de3ebf2?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/1389e7b5-5e24-43d0-a68e-5edb97930e3f?api-version=2021-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -808,7 +801,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:30 GMT + - Fri, 22 Oct 2021 10:10:41 GMT expires: - '-1' pragma: @@ -825,7 +818,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 89afc968-1d0f-487b-87b3-7512d6b37bc4 + - 7b1c5d5a-8635-4821-9dbb-6fe690663dd4 status: code: 200 message: OK @@ -843,16 +836,16 @@ interactions: ParameterSetName: - --name --resource-group --location User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"46dae171-e1d7-46d9-a3c8-50f1b18f9d5b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"5a6dd5ec-48af-4a44-a48f-b0cb1283c1a3\",\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\": @@ -865,9 +858,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:30 GMT + - Fri, 22 Oct 2021 10:10:42 GMT etag: - - W/"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0" + - W/"46dae171-e1d7-46d9-a3c8-50f1b18f9d5b" expires: - '-1' pragma: @@ -884,7 +877,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 437ea777-b7fc-4018-b974-4da050e9c79f + - 1a712597-8fa1-4c6f-811b-b536f74af8c6 status: code: 200 message: OK @@ -902,16 +895,16 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"46dae171-e1d7-46d9-a3c8-50f1b18f9d5b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"5a6dd5ec-48af-4a44-a48f-b0cb1283c1a3\",\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\": @@ -924,9 +917,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:32 GMT + - Fri, 22 Oct 2021 10:10:43 GMT etag: - - W/"ddcfc4f7-ad84-4b3f-8155-f85bba98c4c0" + - W/"46dae171-e1d7-46d9-a3c8-50f1b18f9d5b" expires: - '-1' pragma: @@ -943,7 +936,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - 2a8b11e7-388e-4571-a248-068fb97de7ab + - a4a16b5a-a630-4e8d-936d-3028e8a7a6bf status: code: 200 message: OK @@ -971,26 +964,26 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"435dcf00-6ea6-47ba-b4fb-23c92530fe40\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"8cbd34de-964f-4091-8d9a-87774954d44b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n - \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"5a6dd5ec-48af-4a44-a48f-b0cb1283c1a3\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"435dcf00-6ea6-47ba-b4fb-23c92530fe40\\\"\",\r\n + \ \"etag\": \"W/\\\"8cbd34de-964f-4091-8d9a-87774954d44b\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"435dcf00-6ea6-47ba-b4fb-23c92530fe40\\\"\",\r\n + \ \"etag\": \"W/\\\"8cbd34de-964f-4091-8d9a-87774954d44b\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1004,7 +997,7 @@ interactions: azure-asyncnotification: - Enabled azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/04b282b5-f8a9-4c1f-8687-f7a426a80bac?api-version=2021-03-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/aab6a114-100b-4181-828d-e2bad8fe7883?api-version=2021-03-01 cache-control: - no-cache content-length: @@ -1012,7 +1005,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:33 GMT + - Fri, 22 Oct 2021 10:10:44 GMT expires: - '-1' pragma: @@ -1029,9 +1022,9 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - eaebb57a-1ace-4030-a06c-0ecca1c8388f + - 1a51222e-df5f-49b4-b944-d6706641e299 x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' status: code: 200 message: OK @@ -1049,9 +1042,9 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/04b282b5-f8a9-4c1f-8687-f7a426a80bac?api-version=2021-03-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westeurope/operations/aab6a114-100b-4181-828d-e2bad8fe7883?api-version=2021-03-01 response: body: string: "{\r\n \"status\": \"Succeeded\"\r\n}" @@ -1063,7 +1056,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:36 GMT + - Fri, 22 Oct 2021 10:10:49 GMT expires: - '-1' pragma: @@ -1080,7 +1073,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - d5bab91f-c7e8-4200-9344-b699bc2760ad + - 06470ccc-8af5-4039-a557-c608db621b1c status: code: 200 message: OK @@ -1098,26 +1091,26 @@ interactions: ParameterSetName: - --name --vnet-name --resource-group --address-prefixes --delegations User-Agent: - - AZURECLI/2.29.0 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-azure-mgmt-network/19.1.0 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004?api-version=2021-03-01 response: body: string: "{\r\n \"name\": \"vnet000004\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004\",\r\n - \ \"etag\": \"W/\\\"fbb2057f-371e-4ab5-ba44-fd8378a940d2\\\"\",\r\n \"type\": + \ \"etag\": \"W/\\\"45d331b0-cd3d-47ed-8b28-06dae45bb49d\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"westeurope\",\r\n \ \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n - \ \"resourceGuid\": \"fbbb919d-bbc6-4031-9ec4-363bd944f1a4\",\r\n \"addressSpace\": + \ \"resourceGuid\": \"5a6dd5ec-48af-4a44-a48f-b0cb1283c1a3\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n \ },\r\n \"dhcpOptions\": {\r\n \"dnsServers\": []\r\n },\r\n \ \"subnets\": [\r\n {\r\n \"name\": \"subnet000005\",\r\n \"id\": \"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005\",\r\n - \ \"etag\": \"W/\\\"fbb2057f-371e-4ab5-ba44-fd8378a940d2\\\"\",\r\n + \ \"etag\": \"W/\\\"45d331b0-cd3d-47ed-8b28-06dae45bb49d\\\"\",\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/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005/delegations/0\",\r\n - \ \"etag\": \"W/\\\"fbb2057f-371e-4ab5-ba44-fd8378a940d2\\\"\",\r\n + \ \"etag\": \"W/\\\"45d331b0-cd3d-47ed-8b28-06dae45bb49d\\\"\",\r\n \ \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"serviceName\": \"Microsoft.StoragePool/diskPools\",\r\n \ \"actions\": [\r\n \"Microsoft.Network/virtualNetworks/read\"\r\n @@ -1135,9 +1128,9 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:26:37 GMT + - Fri, 22 Oct 2021 10:10:49 GMT etag: - - W/"fbb2057f-371e-4ab5-ba44-fd8378a940d2" + - W/"45d331b0-cd3d-47ed-8b28-06dae45bb49d" expires: - '-1' pragma: @@ -1154,7 +1147,7 @@ interactions: x-content-type-options: - nosniff x-ms-arm-service-request-id: - - ea1e31df-59d4-42ed-8425-2bd2427fa478 + - 0905f85b-96f5-4c28-b3e0-26f7c9a293c4 status: code: 200 message: OK @@ -1180,15 +1173,15 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks --additional-capabilities User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:10:54.9582489Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Pending","status":"Unknown","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -1198,11 +1191,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:26:44 GMT + - Fri, 22 Oct 2021 10:10:58 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -1212,7 +1205,7 @@ interactions: x-ms-async-operation-timeout: - PT1H x-ms-ratelimit-remaining-subscription-writes: - - '1198' + - '1199' x-ms-return-client-request-id: - 'true' status: @@ -1233,12 +1226,12 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks --additional-capabilities User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","name":"3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","status":"Running","startTime":"2021-10-22T01:26:43Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0","name":"d017ea98-c979-44c1-bdc6-d5d6d1c269d0","status":"Running","startTime":"2021-10-22T10:10:56Z","endTime":""}' headers: cache-control: - no-cache @@ -1249,7 +1242,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:26:55 GMT + - Fri, 22 Oct 2021 10:11:08 GMT expires: - '-1' pragma: @@ -1282,12 +1275,12 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks --additional-capabilities User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","name":"3c79fd97-44a6-47a3-a118-8c1e5f82cc8f","status":"Succeeded","startTime":"2021-10-22T01:26:43Z","endTime":"2021-10-22T01:26:59Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0","name":"d017ea98-c979-44c1-bdc6-d5d6d1c269d0","status":"Succeeded","startTime":"2021-10-22T10:10:56Z","endTime":"2021-10-22T10:11:13Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:10:54.9582489Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache @@ -1298,7 +1291,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:27:25 GMT + - Fri, 22 Oct 2021 10:11:39 GMT expires: - '-1' pragma: @@ -1331,12 +1324,12 @@ interactions: - --name --resource-group --location --availability-zones --subnet-id --sku --disks --additional-capabilities User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:10:54.9582489Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache @@ -1347,7 +1340,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:27:25 GMT + - Fri, 22 Oct 2021 10:11:39 GMT expires: - '-1' pragma: @@ -1379,12 +1372,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:10:54.9582489Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache @@ -1395,7 +1388,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:27:27 GMT + - Fri, 22 Oct 2021 10:11:41 GMT expires: - '-1' pragma: @@ -1429,7 +1422,7 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/upgrade?api-version=2021-08-01 response: @@ -1437,7 +1430,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -1447,11 +1440,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:27:30 GMT + - Fri, 22 Oct 2021 10:11:43 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/4c1ddbc4-ef81-424d-be97-0bad8dfba476?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -1481,12 +1474,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe","name":"efe82d3f-41b9-4dcb-b975-691cfe4200fe","status":"Running","startTime":"2021-10-22T01:27:30Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476","name":"4c1ddbc4-ef81-424d-be97-0bad8dfba476","status":"Running","startTime":"2021-10-22T10:11:43Z","endTime":""}' headers: cache-control: - no-cache @@ -1497,7 +1490,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:27:40 GMT + - Fri, 22 Oct 2021 10:11:53 GMT expires: - '-1' pragma: @@ -1529,12 +1522,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/efe82d3f-41b9-4dcb-b975-691cfe4200fe","name":"efe82d3f-41b9-4dcb-b975-691cfe4200fe","status":"Succeeded","startTime":"2021-10-22T01:27:30Z","endTime":"2021-10-22T01:27:46Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476","name":"4c1ddbc4-ef81-424d-be97-0bad8dfba476","status":"Succeeded","startTime":"2021-10-22T10:11:43Z","endTime":"2021-10-22T10:11:59Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:10:54.9582489Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache @@ -1545,7 +1538,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:11 GMT + - Fri, 22 Oct 2021 10:12:24 GMT expires: - '-1' pragma: @@ -1577,12 +1570,12 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:26:41.9616738Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}],"nextLink":null}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:10:54.9582489Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}],"nextLink":null}' headers: cache-control: - no-cache @@ -1593,7 +1586,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:12 GMT + - Fri, 22 Oct 2021 10:12:26 GMT expires: - '-1' pragma: @@ -1625,7 +1618,7 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/outboundNetworkDependenciesEndpoints?api-version=2021-08-01 response: @@ -1645,7 +1638,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:15 GMT + - Fri, 22 Oct 2021 10:12:27 GMT expires: - '-1' pragma: @@ -1682,15 +1675,15 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PUT uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Pending","status":"Unknown"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:12:29.5313242Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Pending","status":"Unknown"}}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/7875cd1e-1758-43de-b319-c19ed8340acf?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -1700,11 +1693,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:16 GMT + - Fri, 22 Oct 2021 10:12:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/7875cd1e-1758-43de-b319-c19ed8340acf?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -1734,12 +1727,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/7875cd1e-1758-43de-b319-c19ed8340acf?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/e1466672-7ba0-429c-8441-8272b7ab6598","name":"e1466672-7ba0-429c-8441-8272b7ab6598","status":"Running","startTime":"2021-10-22T01:28:17Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/7875cd1e-1758-43de-b319-c19ed8340acf","name":"7875cd1e-1758-43de-b319-c19ed8340acf","status":"Running","startTime":"2021-10-22T10:12:30Z"}' headers: cache-control: - no-cache @@ -1750,7 +1743,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:27 GMT + - Fri, 22 Oct 2021 10:12:40 GMT expires: - '-1' pragma: @@ -1782,12 +1775,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/e1466672-7ba0-429c-8441-8272b7ab6598?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/7875cd1e-1758-43de-b319-c19ed8340acf?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/e1466672-7ba0-429c-8441-8272b7ab6598","name":"e1466672-7ba0-429c-8441-8272b7ab6598","status":"Succeeded","startTime":"2021-10-22T01:28:17Z","endTime":"2021-10-22T01:28:33Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/7875cd1e-1758-43de-b319-c19ed8340acf","name":"7875cd1e-1758-43de-b319-c19ed8340acf","status":"Succeeded","startTime":"2021-10-22T10:12:30Z","endTime":"2021-10-22T10:12:46Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:12:29.5313242Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache @@ -1798,7 +1791,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:57 GMT + - Fri, 22 Oct 2021 10:13:11 GMT expires: - '-1' pragma: @@ -1830,12 +1823,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --acl-mode --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:12:29.5313242Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache @@ -1846,7 +1839,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:28:58 GMT + - Fri, 22 Oct 2021 10:13:11 GMT expires: - '-1' pragma: @@ -1878,12 +1871,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:12:29.5313242Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache @@ -1894,7 +1887,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:00 GMT + - Fri, 22 Oct 2021 10:13:13 GMT expires: - '-1' pragma: @@ -1926,12 +1919,12 @@ interactions: ParameterSetName: - --disk-pool-name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 response: body: - string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:28:16.3654676Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' + string: '{"value":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:12:29.5313242Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}],"nextLink":null}' headers: cache-control: - no-cache @@ -1942,7 +1935,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:01 GMT + - Fri, 22 Oct 2021 10:13:15 GMT expires: - '-1' pragma: @@ -1979,7 +1972,7 @@ interactions: ParameterSetName: - --name --resource-group --disks User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: @@ -1987,7 +1980,7 @@ interactions: string: '{}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/9707c988-40e8-4304-8df7-68a85a109fe1?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -1997,11 +1990,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:04 GMT + - Fri, 22 Oct 2021 10:13:18 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/9707c988-40e8-4304-8df7-68a85a109fe1?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -2031,12 +2024,12 @@ interactions: ParameterSetName: - --name --resource-group --disks User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/9707c988-40e8-4304-8df7-68a85a109fe1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075","name":"69f453ae-d1ed-4066-b55a-9fb52e15a075","status":"Running","startTime":"2021-10-22T01:29:05Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/9707c988-40e8-4304-8df7-68a85a109fe1","name":"9707c988-40e8-4304-8df7-68a85a109fe1","status":"Running","startTime":"2021-10-22T10:13:18Z","endTime":""}' headers: cache-control: - no-cache @@ -2047,7 +2040,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:15 GMT + - Fri, 22 Oct 2021 10:13:28 GMT expires: - '-1' pragma: @@ -2079,12 +2072,12 @@ interactions: ParameterSetName: - --name --resource-group --disks User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/9707c988-40e8-4304-8df7-68a85a109fe1?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/69f453ae-d1ed-4066-b55a-9fb52e15a075","name":"69f453ae-d1ed-4066-b55a-9fb52e15a075","status":"Succeeded","startTime":"2021-10-22T01:29:05Z","endTime":"2021-10-22T01:29:22Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/9707c988-40e8-4304-8df7-68a85a109fe1","name":"9707c988-40e8-4304-8df7-68a85a109fe1","status":"Succeeded","startTime":"2021-10-22T10:13:18Z","endTime":"2021-10-22T10:13:34Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:13:17.3076561Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache @@ -2095,7 +2088,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:46 GMT + - Fri, 22 Oct 2021 10:13:59 GMT expires: - '-1' pragma: @@ -2127,12 +2120,12 @@ interactions: ParameterSetName: - --name --resource-group --disks User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:13:17.3076561Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache @@ -2143,7 +2136,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:46 GMT + - Fri, 22 Oct 2021 10:13:59 GMT expires: - '-1' pragma: @@ -2181,7 +2174,7 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: PATCH uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: @@ -2189,7 +2182,7 @@ interactions: string: '{}' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/6da98c15-6862-4bd2-939a-27afe31daaf6?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -2199,11 +2192,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:48 GMT + - Fri, 22 Oct 2021 10:14:01 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/6da98c15-6862-4bd2-939a-27afe31daaf6?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -2233,12 +2226,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/6da98c15-6862-4bd2-939a-27afe31daaf6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0","name":"011647c0-29ba-402d-8fcf-f741e8ecf7a0","status":"Running","startTime":"2021-10-22T01:29:49Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/6da98c15-6862-4bd2-939a-27afe31daaf6","name":"6da98c15-6862-4bd2-939a-27afe31daaf6","status":"Running","startTime":"2021-10-22T10:14:02Z"}' headers: cache-control: - no-cache @@ -2249,7 +2242,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:29:59 GMT + - Fri, 22 Oct 2021 10:14:13 GMT expires: - '-1' pragma: @@ -2281,12 +2274,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/6da98c15-6862-4bd2-939a-27afe31daaf6?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/011647c0-29ba-402d-8fcf-f741e8ecf7a0","name":"011647c0-29ba-402d-8fcf-f741e8ecf7a0","status":"Succeeded","startTime":"2021-10-22T01:29:49Z","endTime":"2021-10-22T01:30:05Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:48.1061979Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/6da98c15-6862-4bd2-939a-27afe31daaf6","name":"6da98c15-6862-4bd2-939a-27afe31daaf6","status":"Succeeded","startTime":"2021-10-22T10:14:02Z","endTime":"2021-10-22T10:14:19Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:14:01.3972981Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}}' headers: cache-control: - no-cache @@ -2297,7 +2290,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:30:29 GMT + - Fri, 22 Oct 2021 10:14:43 GMT expires: - '-1' pragma: @@ -2329,12 +2322,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group --luns --luns User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:28:16.3654676Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:48.1061979Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007","name":"iscsi000007","type":"Microsoft.StoragePool/diskPools/iscsiTargets","systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:12:29.5313242Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:14:01.3972981Z"},"properties":{"targetIqn":"iqn.2021-10.com.microsoft:iscsi000007","aclMode":"Dynamic","luns":[{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002","name":"lun0","lun":null},{"managedDiskAzureResourceId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003","name":"lun1","lun":null}],"endpoints":[],"provisioningState":"Succeeded","status":"Healthy"}}' headers: cache-control: - no-cache @@ -2345,7 +2338,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:30:29 GMT + - Fri, 22 Oct 2021 10:14:43 GMT expires: - '-1' pragma: @@ -2379,7 +2372,7 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/deallocate?api-version=2021-08-01 response: @@ -2387,7 +2380,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -2397,11 +2390,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:30:32 GMT + - Fri, 22 Oct 2021 10:14:45 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/dbfd289e-8872-429e-9a83-a652d2ecd77b?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -2431,12 +2424,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b","name":"19e3f268-72a2-455f-acd8-1ea1d455d33b","status":"Running","startTime":"2021-10-22T01:30:32Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b","name":"dbfd289e-8872-429e-9a83-a652d2ecd77b","status":"Running","startTime":"2021-10-22T10:14:45Z","endTime":""}' headers: cache-control: - no-cache @@ -2447,7 +2440,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:30:42 GMT + - Fri, 22 Oct 2021 10:14:55 GMT expires: - '-1' pragma: @@ -2479,12 +2472,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/19e3f268-72a2-455f-acd8-1ea1d455d33b","name":"19e3f268-72a2-455f-acd8-1ea1d455d33b","status":"Succeeded","startTime":"2021-10-22T01:30:32Z","endTime":"2021-10-22T01:30:48Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b","name":"dbfd289e-8872-429e-9a83-a652d2ecd77b","status":"Succeeded","startTime":"2021-10-22T10:14:45Z","endTime":"2021-10-22T10:15:01Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:13:17.3076561Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped (deallocated)","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: @@ -2496,7 +2489,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:31:12 GMT + - Fri, 22 Oct 2021 10:15:26 GMT expires: - '-1' pragma: @@ -2528,12 +2521,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:13:17.3076561Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Stopped (deallocated)","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: @@ -2545,7 +2538,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:31:14 GMT + - Fri, 22 Oct 2021 10:15:28 GMT expires: - '-1' pragma: @@ -2579,7 +2572,7 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: POST uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/start?api-version=2021-08-01 response: @@ -2587,7 +2580,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/c679f47f-5927-42b9-bc88-aef5e64a5517?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -2597,11 +2590,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:31:16 GMT + - Fri, 22 Oct 2021 10:15:30 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/c679f47f-5927-42b9-bc88-aef5e64a5517?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -2631,12 +2624,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/c679f47f-5927-42b9-bc88-aef5e64a5517?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/abfdb90a-c172-4ae1-9d99-359baec98210","name":"abfdb90a-c172-4ae1-9d99-359baec98210","status":"Running","startTime":"2021-10-22T01:31:16Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/c679f47f-5927-42b9-bc88-aef5e64a5517","name":"c679f47f-5927-42b9-bc88-aef5e64a5517","status":"Running","startTime":"2021-10-22T10:15:31Z","endTime":""}' headers: cache-control: - no-cache @@ -2647,7 +2640,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:31:26 GMT + - Fri, 22 Oct 2021 10:15:41 GMT expires: - '-1' pragma: @@ -2679,12 +2672,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/abfdb90a-c172-4ae1-9d99-359baec98210?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/c679f47f-5927-42b9-bc88-aef5e64a5517?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/abfdb90a-c172-4ae1-9d99-359baec98210","name":"abfdb90a-c172-4ae1-9d99-359baec98210","status":"Succeeded","startTime":"2021-10-22T01:31:16Z","endTime":"2021-10-22T01:31:32Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/c679f47f-5927-42b9-bc88-aef5e64a5517","name":"c679f47f-5927-42b9-bc88-aef5e64a5517","status":"Succeeded","startTime":"2021-10-22T10:15:31Z","endTime":"2021-10-22T10:15:47Z","properties":{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:13:17.3076561Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}}' headers: cache-control: - no-cache @@ -2695,7 +2688,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:31:57 GMT + - Fri, 22 Oct 2021 10:16:11 GMT expires: - '-1' pragma: @@ -2727,12 +2720,12 @@ interactions: ParameterSetName: - --name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T01:26:41.9616738Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T01:29:03.4667493Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006","name":"diskpool000006","type":"Microsoft.StoragePool/diskPools","location":"westeurope","tags":{},"systemData":{"createdBy":"zhiyihuang@microsoft.com","createdByType":"User","createdAt":"2021-10-22T10:10:54.9582489Z","lastModifiedBy":"zhiyihuang@microsoft.com","lastModifiedByType":"User","lastModifiedAt":"2021-10-22T10:13:17.3076561Z"},"properties":{"disks":[{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000002"},{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Compute/disks/disk000003"}],"availabilityZones":["1"],"subnetId":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.Network/virtualNetworks/vnet000004/subnets/subnet000005","provisioningState":"Succeeded","status":"Running","additionalCapabilities":["DiskPool.SkipInfrastructureDeployment"]},"sku":{"name":"Standard_S1","tier":"Standard"}}' headers: cache-control: - no-cache @@ -2743,7 +2736,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:31:59 GMT + - Fri, 22 Oct 2021 10:16:13 GMT expires: - '-1' pragma: @@ -2777,7 +2770,7 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group -y User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets/iscsi000007?api-version=2021-08-01 response: @@ -2785,7 +2778,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -2795,11 +2788,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:32:01 GMT + - Fri, 22 Oct 2021 10:16:15 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/ed79faf0-d9c0-421f-9072-2a82a7f827c4?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -2829,12 +2822,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group -y User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9","name":"5936e14d-8a88-45fc-b861-bc77f18ca2d9","status":"Running","startTime":"2021-10-22T01:32:02Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4","name":"ed79faf0-d9c0-421f-9072-2a82a7f827c4","status":"Running","startTime":"2021-10-22T10:16:16Z"}' headers: cache-control: - no-cache @@ -2845,7 +2838,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:32:12 GMT + - Fri, 22 Oct 2021 10:16:26 GMT expires: - '-1' pragma: @@ -2877,12 +2870,12 @@ interactions: ParameterSetName: - --name --disk-pool-name --resource-group -y User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/5936e14d-8a88-45fc-b861-bc77f18ca2d9","name":"5936e14d-8a88-45fc-b861-bc77f18ca2d9","status":"Succeeded","startTime":"2021-10-22T01:32:02Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4","name":"ed79faf0-d9c0-421f-9072-2a82a7f827c4","status":"Succeeded","startTime":"2021-10-22T10:16:16Z"}' headers: cache-control: - no-cache @@ -2893,7 +2886,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:32:43 GMT + - Fri, 22 Oct 2021 10:16:57 GMT expires: - '-1' pragma: @@ -2925,7 +2918,7 @@ interactions: ParameterSetName: - --disk-pool-name --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006/iscsiTargets?api-version=2021-08-01 response: @@ -2941,7 +2934,7 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:32:44 GMT + - Fri, 22 Oct 2021 10:16:59 GMT expires: - '-1' pragma: @@ -2975,7 +2968,7 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: DELETE uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools/diskpool000006?api-version=2021-08-01 response: @@ -2983,7 +2976,7 @@ interactions: string: '' headers: azure-asyncoperation: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?api-version=2021-08-01 cache-control: - no-cache content-length: @@ -2993,11 +2986,11 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:32:48 GMT + - Fri, 22 Oct 2021 10:17:02 GMT expires: - '-1' location: - - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 + - https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationresults/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?api-version=2021-08-01 pragma: - no-cache strict-transport-security: @@ -3027,12 +3020,12 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509","name":"22e44124-bab5-4c23-a9f2-0f0cbfdb0509","status":"Running","startTime":"2021-10-22T01:32:48Z","endTime":""}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b","name":"4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b","status":"Running","startTime":"2021-10-22T10:17:02Z","endTime":""}' headers: cache-control: - no-cache @@ -3043,17 +3036,13 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:32:58 GMT + - Fri, 22 Oct 2021 10:17:13 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-return-client-request-id: @@ -3075,12 +3064,12 @@ interactions: ParameterSetName: - --name --resource-group -y User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET - uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509?api-version=2021-08-01 + uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StoragePool/locations/westeurope/operationsStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?api-version=2021-08-01 response: body: - string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/22e44124-bab5-4c23-a9f2-0f0cbfdb0509","name":"22e44124-bab5-4c23-a9f2-0f0cbfdb0509","status":"Succeeded","startTime":"2021-10-22T01:32:48Z","endTime":"2021-10-22T01:33:04Z"}' + string: '{"id":"/subscriptions/00000000-0000-0000-0000-000000000000/locations/westeurope/operationStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b","name":"4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b","status":"Succeeded","startTime":"2021-10-22T10:17:02Z","endTime":"2021-10-22T10:17:19Z"}' headers: cache-control: - no-cache @@ -3091,17 +3080,13 @@ interactions: content-type: - application/json; charset=UTF-8 date: - - Fri, 22 Oct 2021 01:33:28 GMT + - Fri, 22 Oct 2021 10:17:43 GMT expires: - '-1' pragma: - no-cache strict-transport-security: - max-age=31536000; includeSubDomains - transfer-encoding: - - chunked - vary: - - Accept-Encoding x-content-type-options: - nosniff x-ms-return-client-request-id: @@ -3123,7 +3108,7 @@ interactions: ParameterSetName: - --resource-group User-Agent: - - AZURECLI/2.29.0 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) + - AZURECLI/2.29.1 azsdk-python-mgmt-storagepool/1.0.0b1 Python/3.9.6 (Windows-10-10.0.19043-SP0) method: GET uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/clitest000001/providers/Microsoft.StoragePool/diskPools?api-version=2021-08-01 response: @@ -3137,7 +3122,7 @@ interactions: content-type: - application/json; charset=utf-8 date: - - Fri, 22 Oct 2021 01:33:30 GMT + - Fri, 22 Oct 2021 10:17:45 GMT expires: - '-1' pragma: diff --git a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py b/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py deleted file mode 100644 index 9b904ec7684..00000000000 --- a/src/diskpool/azext_diskpool/tests/latest/test_diskpool_scenario.py +++ /dev/null @@ -1,136 +0,0 @@ -# -------------------------------------------------------------------------- -# Copyright (c) Microsoft Corporation. All rights reserved. -# Licensed under the MIT License. See License.txt in the project root for -# license information. -# -# Code generated by Microsoft (R) AutoRest Code Generator. -# Changes may cause incorrect behavior and will be lost if the code is -# regenerated. -# -------------------------------------------------------------------------- - -import os -from azure.cli.testsdk import ScenarioTest -from azure.cli.testsdk import ResourceGroupPreparer -from .preparers import VirtualNetworkPreparer -from .preparers import SubnetPreparer -from .example_steps import step_create -from .example_steps import step_show -from .example_steps import step_list_outbound_network_dependency_endpoint -from .example_steps import step_list -from .example_steps import step_list2 -from .example_steps import step_update -from .example_steps import step_stop -from .example_steps import step_start -from .example_steps import step_redeploy -from .example_steps import step_delete -from .example_steps import step_list_skus -from .example_steps import step_list_zones -from .example_steps import step_iscsi_target_create -from .example_steps import step_iscsi_target_show -from .example_steps import step_iscsi_target_list -from .example_steps import step_iscsi_target_update -from .example_steps import step_iscsi_target_delete -from .. import ( - try_manual, - raise_if, - calc_coverage -) - - -TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..')) - - -# Env setup_scenario -@try_manual -def setup_scenario(test): - pass - - -# Env cleanup_scenario -@try_manual -def cleanup_scenario(test): - pass - - -# Testcase: Scenario -@try_manual -def call_scenario(test): - setup_scenario(test) - step_create(test, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_show(test, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), - test.check("sku.name", "Basic_V1", case_sensitive=False), - test.check("sku.tier", "Basic", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_list_outbound_network_dependency_endpoint(test, checks=[]) - step_list(test, checks=[ - test.check('length(@)', 1), - ]) - step_list2(test, checks=[ - test.check('length(@)', 1), - ]) - step_update(test, checks=[ - test.check("availabilityZones[0]", "1", case_sensitive=False), - test.check("subnetId", "/subscriptions/{subscription_id}/resourceGroups/{rg}/providers/Microsoft.Network/virtua" - "lNetworks/{vn}/subnets/{subnets}", case_sensitive=False), - test.check("name", "{myDiskPool}", case_sensitive=False), - ]) - step_stop(test, checks=[]) - step_start(test, checks=[]) - step_redeploy(test, checks=[]) - step_delete(test, checks=[]) - step_list_skus(test, checks=[]) - step_list_zones(test, checks=[]) - step_iscsi_target_create(test, checks=[ - test.check("aclMode", "Dynamic", case_sensitive=False), - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_show(test, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_list(test, checks=[ - test.check('length(@)', 1), - ]) - step_iscsi_target_update(test, checks=[ - test.check("targetIqn", "iqn.2005-03.org.iscsi:server1", case_sensitive=False), - test.check("name", "{myIscsiTarget}", case_sensitive=False), - ]) - step_iscsi_target_delete(test, checks=[]) - cleanup_scenario(test) - - -# Test class for Scenario -@try_manual -class DiskpoolScenarioTest(ScenarioTest): - def __init__(self, *args, **kwargs): - super(DiskpoolScenarioTest, self).__init__(*args, **kwargs) - self.kwargs.update({ - 'subscription_id': self.get_subscription_id() - }) - - self.kwargs.update({ - 'myDiskPool': 'myDiskPool', - 'myDiskPool2': 'SampleAse', - 'myIscsiTarget': 'myIscsiTarget', - }) - - @ResourceGroupPreparer(name_prefix='clitestdiskpool_myResourceGroup'[:7], key='rg', parameter_name='rg') - @ResourceGroupPreparer(name_prefix='clitestdiskpool_Sample-WestUSResourceGroup'[:7], key='rg_2', - parameter_name='rg_2') - @VirtualNetworkPreparer(name_prefix='clitestdiskpool_myvnet'[:7], key='vn', resource_group_key='rg') - @SubnetPreparer(name_prefix='clitestdiskpool_mysubnet'[:7], key='subnets', virtual_network_key='vn', - resource_group_key='rg') - def test_diskpool_Scenario(self, rg, rg_2): - call_scenario(self) - calc_coverage(__file__) - raise_if()