diff --git a/scripts/ci/test_source.sh b/scripts/ci/test_source.sh
index 02fe04eb21f..0179058e333 100755
--- a/scripts/ci/test_source.sh
+++ b/scripts/ci/test_source.sh
@@ -2,11 +2,16 @@
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."
+pip list -v
+az --version
+
python ./scripts/ci/test_source.py -v
echo "OK. Completed tests."
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/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..94c9b6bf029 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,20 @@
"Sample-WestUSResourceGroup"
"""
-helps['disk-pool list-skus'] = """
+helps['disk-pool redeploy'] = """
type: command
- short-summary: "Lists available Disk Pool Skus in an Azure location."
+ 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: List Disk Pool Skus
+ - name: Redeploy Disk Pool
text: |-
- az disk-pool list-skus --location "eastus"
+ az disk-pool redeploy --name "myDiskPool" --resource-group "myResourceGroup"
"""
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,7 +145,8 @@
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: |-
@@ -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..805ae5c05ea 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,8 +78,10 @@ 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 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 start') as c:
c.argument('resource_group_name', resource_group_name_type)
@@ -89,6 +98,12 @@ 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 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..f79eb3dcf56 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('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_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..40f7cf4c663 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,9 +106,14 @@ 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_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,
@@ -110,6 +136,16 @@ def disk_pool_stop(client,
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..df38e01a4ea
--- /dev/null
+++ b/src/diskpool/azext_diskpool/tests/latest/example_steps.py
@@ -0,0 +1,231 @@
+# --------------------------------------------------------------------------
+# 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" '
+ '--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" '
+ '--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_redeploy(test, checks=None):
+ if checks is None:
+ checks = []
+ test.cmd('az disk-pool redeploy '
+ '--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: /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}" '
+ '--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_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 fe934cf637b..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
@@ -1,7 +1,7 @@
interactions:
- request:
- body: '{"location": "eastus", "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,38 +13,38 @@ interactions:
Connection:
- keep-alive
Content-Length:
- - '203'
+ - '207'
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.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:
body:
- string: "{\r\n \"name\": \"disk000002\",\r\n \"location\": \"eastus\",\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/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/westeurope/DiskOperations/6a959ba4-f0d0-4265-a4d5-c0391c0acc64?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01
cache-control:
- no-cache
content-length:
- - '371'
+ - '375'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:10 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/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/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,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.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/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/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-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-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\": \"eastus\",\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
- \ \"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-22T10:10:00.1522193+00:00\",\r\n
+ \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\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:
- - '1156'
+ - '1160'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:12 GMT
+ - Fri, 22 Oct 2021 10:10:01 GMT
expires:
- '-1'
pragma:
@@ -114,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:
@@ -139,32 +134,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.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:
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
- \ \"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
- \ \"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-22T10:10:00.1522193+00:00\",\r\n
+ \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n
+ \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"49dfac4e-2726-4ace-b76f-18a3bb6a0ecb\",\r\n
+ \ \"tier\": \"P30\"\r\n }\r\n}"
headers:
cache-control:
- no-cache
content-length:
- - '931'
+ - '935'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:13 GMT
+ - Fri, 22 Oct 2021 10:10:02 GMT
expires:
- '-1'
pragma:
@@ -174,20 +169,16 @@ 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;14999,Microsoft.Compute/LowCostGet30Min;119999
+ - Microsoft.Compute/LowCostGet3Min;4999,Microsoft.Compute/LowCostGet30Min;39998
status:
code: 200
message: OK
- request:
- body: '{"location": "eastus", "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:
@@ -199,38 +190,38 @@ interactions:
Connection:
- keep-alive
Content-Length:
- - '203'
+ - '207'
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.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:
body:
- string: "{\r\n \"name\": \"disk000003\",\r\n \"location\": \"eastus\",\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/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/westeurope/DiskOperations/04543d87-6561-4b53-bcee-613c4594f9c3?p=afd4d8b7-47c6-4551-8514-168b30f1d390&api-version=2020-12-01
cache-control:
- no-cache
content-length:
- - '371'
+ - '375'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:19 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/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/westeurope/DiskOperations/04543d87-6561-4b53-bcee-613c4594f9c3?p=afd4d8b7-47c6-4551-8514-168b30f1d390&monitor=true&api-version=2020-12-01
pragma:
- no-cache
server:
@@ -243,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
@@ -261,36 +252,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.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/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/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-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-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\": \"eastus\",\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
- \ \"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-22T10:10:07.5429408+00:00\",\r\n
+ \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\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:
- - '1156'
+ - '1159'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:21 GMT
+ - Fri, 22 Oct 2021 10:10:09 GMT
expires:
- '-1'
pragma:
@@ -325,32 +315,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.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:
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
- \ \"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
- \ \"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-22T10:10:07.5429408+00:00\",\r\n
+ \ \"provisioningState\": \"Succeeded\",\r\n \"diskState\": \"Unattached\",\r\n
+ \ \"diskSizeBytes\": 1099511627776,\r\n \"uniqueId\": \"94906a53-e546-4e93-8085-9d7ed2e544e4\",\r\n
+ \ \"tier\": \"P30\"\r\n }\r\n}"
headers:
cache-control:
- no-cache
content-length:
- - '931'
+ - '935'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:22 GMT
+ - Fri, 22 Oct 2021 10:10:09 GMT
expires:
- '-1'
pragma:
@@ -367,7 +357,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-ratelimit-remaining-resource:
- - Microsoft.Compute/LowCostGet3Min;14997,Microsoft.Compute/LowCostGet30Min;119997
+ - Microsoft.Compute/LowCostGet3Min;4997,Microsoft.Compute/LowCostGet30Min;39996
status:
code: 200
message: OK
@@ -390,8 +380,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.1
accept-language:
- en-US
method: POST
@@ -414,19 +404,19 @@ interactions:
dataserviceversion:
- 3.0;
date:
- - Wed, 16 Jun 2021 03:31:25 GMT
+ - Fri, 22 Oct 2021 10:10:13 GMT
duration:
- - '3109836'
+ - '2771771'
expires:
- '-1'
ocp-aad-diagnostics-server-name:
- - n5QUhUbqhU+XtwGocvRPzUtEBzXyUogbMRaINVzZ50A=
+ - Ku7q1maI/oqDAOtoM1mvopDfgP3gvlKNUV1dYIMcrdA=
ocp-aad-session-key:
- - mPAtf-FiQKo-mBLV3xrWIWuJyTHjzGSJmPY8IVhGW_HuCdZqOKwK-8M5yDOnlMpEA1Bb4b9aNawxg7WMRPf99F26VtOkyWmQx92jVLmtt8FAS1jGV1JwQWqOV1mHWEpA.05pef6wlWsOfSxYfM5-Pjfl1F0cJdA1-jlx3xeNUvmA
+ - n2F7NhL0fJTfaSdWE_Y1ToiYz3_fBBWIV0BooaOJGfV2H3MFMJsSQTtxV3oTSsuM53F-O-Kt8hb786ZrGgb4KBhw99Y1SXKkaXAYDPsBLQzQrN4owJHn0fIaMlvAagV8.mYF2hWnCF_MqN8lRowPVGoChuBuFYBs3IIpHotGGT7U
pragma:
- no-cache
request-id:
- - 31f94e77-9725-49ef-b536-1070aafd4226
+ - b10858a6-bac6-4282-bb9a-527089d346e1
strict-transport-security:
- max-age=31536000; includeSubDomains
x-aspnet-version:
@@ -454,8 +444,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.1
accept-language:
- en-US
method: GET
@@ -464,16 +454,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
+ - Fri, 22 Oct 2021 10:10:13 GMT
expires:
- '-1'
pragma:
@@ -512,15 +502,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.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-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-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
@@ -529,7 +519,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:32 GMT
+ - Fri, 22 Oct 2021 10:10:20 GMT
expires:
- '-1'
pragma:
@@ -564,8 +554,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.1
accept-language:
- en-US
method: POST
@@ -588,19 +578,19 @@ interactions:
dataserviceversion:
- 3.0;
date:
- - Wed, 16 Jun 2021 03:31:32 GMT
+ - Fri, 22 Oct 2021 10:10:22 GMT
duration:
- - '2810223'
+ - '2678790'
expires:
- '-1'
ocp-aad-diagnostics-server-name:
- - ogWzhH8PujQkdNFnPj+qcPhnvppFuF516dVPAutDfcg=
+ - jZ4o8jImajC9GtdnIBcKjxErTB5TTeYs/ZhZd2yXZT0=
ocp-aad-session-key:
- - 0lqRS-YJjOBlnOXgU8sdT06zQC0QzD_CcP0QcD0Blm8PQzog2hpz7tVoWaxUsWsmlDitmnkqx-emWJ9lpt1NzuksB7raOxETsXjxtHh6mZV6gKnDmITZF-VNN0sjL2Xx.0VvEyl5crSqvXRIuHG6qv8uZrMQBrAUlbf8A83vdrNo
+ - p351fAInjXdSpSqA7vvQx2qOKdmJMhDjbKDquv4dgCWtyKMYcJQJ7ZHSkbOV_oETGHijAfStVmc1mJ6zjkTSezDG8MWwcPsFGjnGhjnMmc-k-r8V_2ItoynhEW43mIKg.quuSjnwPdBvxLo-Iquk1YrzX9g3BmGI2pGM9ck0PUGM
pragma:
- no-cache
request-id:
- - 75523bdc-0cc1-49c0-bca2-46a1d0cab5c4
+ - 50ef3451-a7f8-4da2-8c81-cacc9d50a375
strict-transport-security:
- max-age=31536000; includeSubDomains
x-aspnet-version:
@@ -628,8 +618,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.1
accept-language:
- en-US
method: GET
@@ -638,16 +628,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
+ - Fri, 22 Oct 2021 10:10:22 GMT
expires:
- '-1'
pragma:
@@ -686,15 +676,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.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-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-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
@@ -703,7 +693,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:39 GMT
+ - Fri, 22 Oct 2021 10:10:30 GMT
expires:
- '-1'
pragma:
@@ -720,7 +710,7 @@ interactions:
code: 201
message: Created
- request:
- body: '{"location": "eastus", "tags": {}, "properties": {"addressSpace": {"addressPrefixes":
+ body: '{"location": "westeurope", "tags": {}, "properties": {"addressSpace": {"addressPrefixes":
["10.0.0.0/16"]}, "dhcpOptions": {}}}'
headers:
Accept:
@@ -732,22 +722,22 @@ interactions:
Connection:
- keep-alive
Content-Length:
- - '123'
+ - '127'
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.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-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/\\\"0d75cbab-521f-4767-b30b-c2d11e9df127\\\"\",\r\n \"type\":
- \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n
+ \ \"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\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\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\":
@@ -756,15 +746,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/westeurope/operations/1389e7b5-5e24-43d0-a68e-5edb97930e3f?api-version=2021-03-01
cache-control:
- no-cache
content-length:
- - '683'
+ - '687'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:47 GMT
+ - Fri, 22 Oct 2021 10:10:38 GMT
expires:
- '-1'
pragma:
@@ -777,9 +767,9 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 363fcfbf-ac3c-487d-a6ce-15e4c6ecaeca
+ - 6be73a39-5f0a-49f2-a8b9-3ec0e1954fa7
x-ms-ratelimit-remaining-subscription-writes:
- - '1199'
+ - '1198'
status:
code: 201
message: Created
@@ -797,9 +787,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.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/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/westeurope/operations/1389e7b5-5e24-43d0-a68e-5edb97930e3f?api-version=2021-03-01
response:
body:
string: "{\r\n \"status\": \"Succeeded\"\r\n}"
@@ -811,7 +801,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:51 GMT
+ - Fri, 22 Oct 2021 10:10:41 GMT
expires:
- '-1'
pragma:
@@ -828,7 +818,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - a95c3a84-a20e-444f-9577-4c010ae7be26
+ - 7b1c5d5a-8635-4821-9dbb-6fe690663dd4
status:
code: 200
message: OK
@@ -846,16 +836,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.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-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/\\\"a23e3034-8e41-4eea-b4b2-90be6b3f4050\\\"\",\r\n \"type\":
- \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n
+ \ \"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\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\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\":
@@ -864,13 +854,13 @@ interactions:
cache-control:
- no-cache
content-length:
- - '684'
+ - '688'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:52 GMT
+ - Fri, 22 Oct 2021 10:10:42 GMT
etag:
- - W/"a23e3034-8e41-4eea-b4b2-90be6b3f4050"
+ - W/"46dae171-e1d7-46d9-a3c8-50f1b18f9d5b"
expires:
- '-1'
pragma:
@@ -887,7 +877,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - cd14fb5a-d51d-42f3-b7c1-649a99375b25
+ - 1a712597-8fa1-4c6f-811b-b536f74af8c6
status:
code: 200
message: OK
@@ -905,16 +895,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.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-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/\\\"a23e3034-8e41-4eea-b4b2-90be6b3f4050\\\"\",\r\n \"type\":
- \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n
+ \ \"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\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\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\":
@@ -923,13 +913,13 @@ interactions:
cache-control:
- no-cache
content-length:
- - '684'
+ - '688'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:54 GMT
+ - Fri, 22 Oct 2021 10:10:43 GMT
etag:
- - W/"a23e3034-8e41-4eea-b4b2-90be6b3f4050"
+ - W/"46dae171-e1d7-46d9-a3c8-50f1b18f9d5b"
expires:
- '-1'
pragma:
@@ -946,13 +936,13 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 2aed7e27-fe2c-4fa7-bc97-9267f833ff0d
+ - a4a16b5a-a630-4e8d-936d-3028e8a7a6bf
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": "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":
@@ -968,32 +958,32 @@ interactions:
Connection:
- keep-alive
Content-Length:
- - '624'
+ - '628'
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.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-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/\\\"676c2cd3-68a3-4fa3-ac0a-3bc89195d9c2\\\"\",\r\n \"type\":
- \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n
+ \ \"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\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\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/\\\"676c2cd3-68a3-4fa3-ac0a-3bc89195d9c2\\\"\",\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/\\\"676c2cd3-68a3-4fa3-ac0a-3bc89195d9c2\\\"\",\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,16 +994,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/westeurope/operations/aab6a114-100b-4181-828d-e2bad8fe7883?api-version=2021-03-01
cache-control:
- no-cache
content-length:
- - '1996'
+ - '2000'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:55 GMT
+ - Fri, 22 Oct 2021 10:10:44 GMT
expires:
- '-1'
pragma:
@@ -1030,7 +1022,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - cfb52276-120b-4fdb-b678-6c7d1d5ae8a1
+ - 1a51222e-df5f-49b4-b944-d6706641e299
x-ms-ratelimit-remaining-subscription-writes:
- '1199'
status:
@@ -1050,9 +1042,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.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/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/westeurope/operations/aab6a114-100b-4181-828d-e2bad8fe7883?api-version=2021-03-01
response:
body:
string: "{\r\n \"status\": \"Succeeded\"\r\n}"
@@ -1064,7 +1056,7 @@ interactions:
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:58 GMT
+ - Fri, 22 Oct 2021 10:10:49 GMT
expires:
- '-1'
pragma:
@@ -1081,7 +1073,7 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - 8437e71e-2966-482a-87cb-bdef6161fa91
+ - 06470ccc-8af5-4039-a557-c608db621b1c
status:
code: 200
message: OK
@@ -1099,26 +1091,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.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-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/\\\"5490f5a3-66b7-4fba-b6e5-408d26f3f36f\\\"\",\r\n \"type\":
- \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"eastus\",\r\n
+ \ \"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\": \"9c00555f-38fd-46ea-91e3-a77bdece341b\",\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/\\\"5490f5a3-66b7-4fba-b6e5-408d26f3f36f\\\"\",\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/\\\"5490f5a3-66b7-4fba-b6e5-408d26f3f36f\\\"\",\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
@@ -1132,13 +1124,13 @@ interactions:
cache-control:
- no-cache
content-length:
- - '1998'
+ - '2002'
content-type:
- application/json; charset=utf-8
date:
- - Wed, 16 Jun 2021 03:31:59 GMT
+ - Fri, 22 Oct 2021 10:10:49 GMT
etag:
- - W/"5490f5a3-66b7-4fba-b6e5-408d26f3f36f"
+ - W/"45d331b0-cd3d-47ed-8b28-06dae45bb49d"
expires:
- '-1'
pragma:
@@ -1155,14 +1147,15 @@ interactions:
x-content-type-options:
- nosniff
x-ms-arm-service-request-id:
- - b665d639-cba2-44c3-8b5e-bf734e4845aa
+ - 0905f85b-96f5-4c28-b3e0-26f7c9a293c4
status:
code: 200
message: OK
- request:
- body: '{"sku": {"name": "Standard", "tier": "Standard"}, "location": "eastus",
- "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"}}'
+ 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",
+ "additionalCapabilities": ["DiskPool.SkipInfrastructureDeployment"]}}'
headers:
Accept:
- application/json
@@ -1173,32 +1166,36 @@ interactions:
Connection:
- keep-alive
Content-Length:
- - '439'
+ - '515'
Content-Type:
- application/json
ParameterSetName:
- --name --resource-group --location --availability-zones --subnet-id --sku
- --disks
+ --disks --additional-capabilities
User-Agent:
- - AZURECLI/2.25.0 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: 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":"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/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/westeurope/operationsStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?api-version=2021-08-01
cache-control:
- no-cache
content-length:
- - '927'
+ - '1015'
+ 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
+ - 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/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?api-version=2021-08-01
pragma:
- no-cache
strict-transport-security:
@@ -1208,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:
@@ -1227,23 +1224,25 @@ interactions:
- keep-alive
ParameterSetName:
- --name --resource-group --location --availability-zones --subnet-id --sku
- --disks
+ --disks --additional-capabilities
User-Agent:
- - AZURECLI/2.25.0 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/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/westeurope/operationsStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?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/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
content-length:
- - '243'
+ - '247'
+ 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
+ - Fri, 22 Oct 2021 10:11:08 GMT
expires:
- '-1'
pragma:
@@ -1274,23 +1273,25 @@ interactions:
- keep-alive
ParameterSetName:
- --name --resource-group --location --availability-zones --subnet-id --sku
- --disks
+ --disks --additional-capabilities
User-Agent:
- - AZURECLI/2.25.0 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/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/westeurope/operationsStatus/d017ea98-c979-44c1-bdc6-d5d6d1c269d0?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/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
content-length:
- - '243'
+ - '1300'
+ 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
+ - Fri, 22 Oct 2021 10:11:39 GMT
expires:
- '-1'
pragma:
@@ -1321,23 +1322,25 @@ interactions:
- keep-alive
ParameterSetName:
- --name --resource-group --location --availability-zones --subnet-id --sku
- --disks
+ --disks --additional-capabilities
User-Agent:
- - AZURECLI/2.25.0 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/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":"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
content-length:
- - '243'
+ - '1017'
+ 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
+ - Fri, 22 Oct 2021 10:11:39 GMT
expires:
- '-1'
pragma:
@@ -1359,32 +1362,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.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/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":"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
content-length:
- - '243'
+ - '1017'
+ 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
+ - Fri, 22 Oct 2021 10:11:41 GMT
expires:
- '-1'
pragma:
@@ -1406,49 +1410,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.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.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:
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/westeurope/operationsStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476?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:34:20 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/4c1ddbc4-ef81-424d-be97-0bad8dfba476?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:
@@ -1457,28 +1468,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.25.0 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/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/westeurope/operationsStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476?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/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
content-length:
- - '243'
+ - '247'
+ 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
+ - Fri, 22 Oct 2021 10:11:53 GMT
expires:
- '-1'
pragma:
@@ -1504,28 +1516,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.25.0 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/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/westeurope/operationsStatus/4c1ddbc4-ef81-424d-be97-0bad8dfba476?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/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
content-length:
- - '243'
+ - '1300'
+ 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
+ - Fri, 22 Oct 2021 10:12:24 GMT
expires:
- '-1'
pragma:
@@ -1547,32 +1560,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.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/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":"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
content-length:
- - '243'
+ - '1045'
+ 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
+ - Fri, 22 Oct 2021 10:12:26 GMT
expires:
- '-1'
pragma:
@@ -1594,32 +1608,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.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/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-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:
- - '243'
+ - '783'
+ 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
+ - Fri, 22 Oct 2021 10:12:27 GMT
expires:
- '-1'
pragma:
@@ -1638,52 +1657,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.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/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-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/7875cd1e-1758-43de-b319-c19ed8340acf?api-version=2021-08-01
cache-control:
- no-cache
content-length:
- - '243'
+ - '835'
+ 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
+ - 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/7875cd1e-1758-43de-b319-c19ed8340acf?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:
@@ -1692,28 +1721,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.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/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/westeurope/operationsStatus/7875cd1e-1758-43de-b319-c19ed8340acf?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/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
content-length:
- - '243'
+ - '234'
+ 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
+ - Fri, 22 Oct 2021 10:12:40 GMT
expires:
- '-1'
pragma:
@@ -1739,28 +1769,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.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/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/westeurope/operationsStatus/7875cd1e-1758-43de-b319-c19ed8340acf?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/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
content-length:
- - '243'
+ - '1120'
+ 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
+ - Fri, 22 Oct 2021 10:13:11 GMT
expires:
- '-1'
pragma:
@@ -1786,28 +1817,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.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/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-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
content-length:
- - '243'
+ - '837'
+ 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
+ - Fri, 22 Oct 2021 10:13:11 GMT
expires:
- '-1'
pragma:
@@ -1829,32 +1861,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.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/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-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
content-length:
- - '243'
+ - '837'
+ 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
+ - Fri, 22 Oct 2021 10:13:13 GMT
expires:
- '-1'
pragma:
@@ -1876,32 +1909,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.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/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-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
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:39:26 GMT
+ - Fri, 22 Oct 2021 10:13:15 GMT
expires:
- '-1'
pragma:
@@ -1920,52 +1954,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.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:
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/westeurope/operationsStatus/9707c988-40e8-4304-8df7-68a85a109fe1?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:39:56 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/9707c988-40e8-4304-8df7-68a85a109fe1?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:
@@ -1974,28 +2018,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.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/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/westeurope/operationsStatus/9707c988-40e8-4304-8df7-68a85a109fe1?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/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
content-length:
- - '243'
+ - '247'
+ 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
+ - Fri, 22 Oct 2021 10:13:28 GMT
expires:
- '-1'
pragma:
@@ -2021,28 +2066,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.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/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/westeurope/operationsStatus/9707c988-40e8-4304-8df7-68a85a109fe1?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/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
content-length:
- - '243'
+ - '1438'
+ 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
+ - Fri, 22 Oct 2021 10:13:59 GMT
expires:
- '-1'
pragma:
@@ -2068,28 +2114,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.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/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":"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
content-length:
- - '243'
+ - '1155'
+ 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
+ - Fri, 22 Oct 2021 10:13:59 GMT
expires:
- '-1'
pragma:
@@ -2108,52 +2155,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.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:
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/westeurope/operationsStatus/6da98c15-6862-4bd2-939a-27afe31daaf6?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:41:58 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/6da98c15-6862-4bd2-939a-27afe31daaf6?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:
@@ -2162,28 +2220,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.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/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/westeurope/operationsStatus/6da98c15-6862-4bd2-939a-27afe31daaf6?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/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
content-length:
- - '243'
+ - '234'
+ 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
+ - Fri, 22 Oct 2021 10:14:13 GMT
expires:
- '-1'
pragma:
@@ -2209,28 +2268,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.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/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/westeurope/operationsStatus/6da98c15-6862-4bd2-939a-27afe31daaf6?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/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
content-length:
- - '243'
+ - '1307'
+ 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
+ - Fri, 22 Oct 2021 10:14:43 GMT
expires:
- '-1'
pragma:
@@ -2256,28 +2316,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.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/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-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
content-length:
- - '243'
+ - '1024'
+ 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
+ - Fri, 22 Oct 2021 10:14:43 GMT
expires:
- '-1'
pragma:
@@ -2299,49 +2360,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.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:
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/westeurope/operationsStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b?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:44:01 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/dbfd289e-8872-429e-9a83-a652d2ecd77b?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:
@@ -2350,3960 +2418,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
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:44: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:45: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:45: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:46: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:46:34 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:47: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:47: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:48: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:48:36 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:49:07 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:49: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:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:50:07 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:50: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
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:51:09 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:51:39 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:52:10 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:52:41 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:53:12 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:53:42 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:54:12 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:54: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:55: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:55: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:56: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:56: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:57: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:57: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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:58:17 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 create
- Connection:
- - keep-alive
- 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)
- 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
- 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"}}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1208'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:58: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 create
- Connection:
- - keep-alive
- 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)
- 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-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"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '929'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 03:58:49 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.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-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"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '929'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:50: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:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool list
- Connection:
- - keep-alive
- ParameterSetName:
- - --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?api-version=2021-04-01-preview
- 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}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '957'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:50: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:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool list-outbound-network-dependency-endpoint
- 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)
- 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
- 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}]}]}]}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '637'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:50:25 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": {"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:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool iscsi-target create
- Connection:
- - keep-alive
- 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: 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
- 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"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '230'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:50: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:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool iscsi-target create
- Connection:
- - keep-alive
- 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: 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
- 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"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '230'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:51:08 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 create
- Connection:
- - keep-alive
- 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: 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
- 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"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '230'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:51: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
-- request:
- body: null
- headers:
- Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool iscsi-target create
- Connection:
- - keep-alive
- 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: 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
- 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"}}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1130'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:52:10 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 create
- Connection:
- - keep-alive
- 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: 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
- 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"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '851'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 04:52:10 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 show
- Connection:
- - keep-alive
- ParameterSetName:
- - --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)
- 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
- 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"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '851'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:26: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:
- - 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
- Connection:
- - keep-alive
- Content-Length:
- - '386'
- Content-Type:
- - application/json
- ParameterSetName:
- - --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: 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
- response:
- body:
- string: ''
- 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'
- date:
- - Wed, 16 Jun 2021 06:35:16 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
- 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 iscsi-target update
- Connection:
- - keep-alive
- ParameterSetName:
- - --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/d5226da4-68af-4502-a2cb-0bc58307266f?api-version=2021-04-01-preview
- 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"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '230'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:35: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 iscsi-target update
- Connection:
- - keep-alive
- ParameterSetName:
- - --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/d5226da4-68af-4502-a2cb-0bc58307266f?api-version=2021-04-01-preview
- 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"}}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1314'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:35: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 iscsi-target update
- Connection:
- - keep-alive
- ParameterSetName:
- - --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/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-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"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1035'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:35: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:
- - application/json
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool stop
- 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
- response:
- body:
- string: ''
- 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'
- date:
- - Wed, 16 Jun 2021 06:35:58 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
- 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:36:09 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:36:39 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:37:10 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:37:41 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:38:11 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:38:42 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:39:12 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.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/3e61ab2f-523b-4454-9610-d0cad1cabb0a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:39: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:40: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:40: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:41: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:41: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 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)
- 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
- 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"}}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1360'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:42:17 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.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":"Stopped
- (deallocated)"},"sku":{"name":"Standard","tier":"Standard"}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1081'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:42:19 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.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
- response:
- body:
- string: ''
- 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'
- date:
- - Wed, 16 Jun 2021 06:42:21 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
- 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.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/b922af2d-e06a-46fc-a4c7-3d96ae8af24a?api-version=2021-04-01-preview
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:42: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:43: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:43: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 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)
- 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:44: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 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)
- 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
- 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"}}}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '1346'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:44:34 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.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:44: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 iscsi-target delete
- Connection:
- - keep-alive
- Content-Length:
- - '0'
- 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)
- 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
- 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
- cache-control:
- - no-cache
- content-length:
- - '0'
- date:
- - Wed, 16 Jun 2021 06:44:39 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
- 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.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/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview
- 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"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '230'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:44:49 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.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/eb01e89c-4af4-4f78-a619-118827dbdb86?api-version=2021-04-01-preview
- 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"}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '230'
- content-type:
- - application/json
- date:
- - Wed, 16 Jun 2021 06:45: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 iscsi-target delete
- Connection:
- - keep-alive
- ParameterSetName:
- - --name --disk-pool-name --resource-group -y
+ - --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.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/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/westeurope/operationsStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b?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/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
content-length:
- - '230'
+ - '247'
+ 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
+ - Fri, 22 Oct 2021 10:14:55 GMT
expires:
- '-1'
pragma:
@@ -6329,27 +2466,30 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool iscsi-target delete
+ - disk-pool stop
Connection:
- keep-alive
ParameterSetName:
- - --name --disk-pool-name --resource-group -y
+ - --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.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/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/westeurope/operationsStatus/dbfd289e-8872-429e-9a83-a652d2ecd77b?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/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:
- no-cache
content-length:
- - '232'
+ - '1452'
+ 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
+ - Fri, 22 Oct 2021 10:15:26 GMT
expires:
- '-1'
pragma:
@@ -6375,27 +2515,30 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool iscsi-target list
+ - disk-pool show
Connection:
- keep-alive
ParameterSetName:
- - --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.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-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: '{"value":[],"nextLink":null}'
+ 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:
- no-cache
content-length:
- - '28'
+ - '1169'
+ 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
+ - Fri, 22 Oct 2021 10:15:28 GMT
expires:
- '-1'
pragma:
@@ -6421,33 +2564,37 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool start
Connection:
- keep-alive
Content-Length:
- '0'
ParameterSetName:
- - --name --resource-group -y
+ - --name --resource-group
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.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:
body:
string: ''
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
+ - 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:
- '0'
+ 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
+ - 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/eastus/operationresults/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?api-version=2021-04-01-preview
+ - 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:
@@ -6456,8 +2603,8 @@ interactions:
- nosniff
x-ms-async-operation-timeout:
- PT1H
- x-ms-ratelimit-remaining-subscription-deletes:
- - '14999'
+ x-ms-ratelimit-remaining-subscription-writes:
+ - '1199'
x-ms-return-client-request-id:
- 'true'
status:
@@ -6471,27 +2618,29 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool start
Connection:
- keep-alive
ParameterSetName:
- - --name --resource-group -y
+ - --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.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/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/westeurope/operationsStatus/c679f47f-5927-42b9-bc88-aef5e64a5517?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/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
content-length:
- - '243'
+ - '247'
+ 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
+ - Fri, 22 Oct 2021 10:15:41 GMT
expires:
- '-1'
pragma:
@@ -6517,27 +2666,29 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool start
Connection:
- keep-alive
ParameterSetName:
- - --name --resource-group -y
+ - --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.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/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/westeurope/operationsStatus/c679f47f-5927-42b9-bc88-aef5e64a5517?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/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
content-length:
- - '243'
+ - '1438'
+ 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
+ - Fri, 22 Oct 2021 10:16:11 GMT
expires:
- '-1'
pragma:
@@ -6559,77 +2710,33 @@ interactions:
body: null
headers:
Accept:
- - '*/*'
- Accept-Encoding:
- - gzip, deflate
- CommandName:
- - disk-pool delete
- Connection:
- - keep-alive
- 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: 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
- 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":""}'
- headers:
- cache-control:
- - no-cache
- content-length:
- - '243'
- content-type:
- application/json
- date:
- - Wed, 16 Jun 2021 06:47:36 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
+ - disk-pool show
Connection:
- keep-alive
ParameterSetName:
- - --name --resource-group -y
+ - --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.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/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?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/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/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
content-length:
- - '243'
+ - '1155'
+ 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
+ - Fri, 22 Oct 2021 10:16:13 GMT
expires:
- '-1'
pragma:
@@ -6651,48 +2758,56 @@ interactions:
body: null
headers:
Accept:
- - '*/*'
+ - application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool iscsi-target delete
Connection:
- keep-alive
+ Content-Length:
+ - '0'
ParameterSetName:
- - --name --resource-group -y
+ - --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)
- 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
+ - 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:
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: ''
headers:
+ azure-asyncoperation:
+ - 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:
- - '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 06:48:38 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/ed79faf0-d9c0-421f-9072-2a82a7f827c4?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:
@@ -6701,27 +2816,29 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool iscsi-target delete
Connection:
- keep-alive
ParameterSetName:
- - --name --resource-group -y
+ - --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.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/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/westeurope/operationsStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4?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/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
content-length:
- - '243'
+ - '234'
+ 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
+ - Fri, 22 Oct 2021 10:16:26 GMT
expires:
- '-1'
pragma:
@@ -6747,27 +2864,29 @@ interactions:
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool iscsi-target delete
Connection:
- keep-alive
ParameterSetName:
- - --name --resource-group -y
+ - --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.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/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/westeurope/operationsStatus/ed79faf0-d9c0-421f-9072-2a82a7f827c4?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/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
content-length:
- - '243'
+ - '236'
+ 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
+ - Fri, 22 Oct 2021 10:16:57 GMT
expires:
- '-1'
pragma:
@@ -6789,31 +2908,33 @@ interactions:
body: null
headers:
Accept:
- - '*/*'
+ - application/json
Accept-Encoding:
- gzip, deflate
CommandName:
- - disk-pool delete
+ - disk-pool iscsi-target list
Connection:
- keep-alive
ParameterSetName:
- - --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.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/operationsStatus/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3?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/b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","name":"b8cb2c96-fc9e-43ff-bc35-349d8c4b51e3","status":"Running","startTime":"2021-06-16T06:46:25Z","endTime":""}'
+ string: '{"value":[],"nextLink":null}'
headers:
cache-control:
- no-cache
content-length:
- - '243'
+ - '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:50:09 GMT
+ - Fri, 22 Oct 2021 10:16:59 GMT
expires:
- '-1'
pragma:
@@ -6835,48 +2956,56 @@ 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: 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
+ - 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:
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: ''
headers:
+ azure-asyncoperation:
+ - 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:
- - '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 06:50:40 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/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?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:
@@ -6891,31 +3020,29 @@ 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.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/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/westeurope/operationsStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?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/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
content-length:
- - '243'
+ - '247'
+ 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
+ - 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:
@@ -6937,31 +3064,29 @@ 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.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/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/westeurope/operationsStatus/4717ac3a-c7b1-48e3-8c2e-8cd9f9347f1b?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/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
content-length:
- - '265'
+ - '269'
+ 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
+ - 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:
@@ -6983,35 +3108,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.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-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
+ - Fri, 22 Oct 2021 10:17: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
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..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
@@ -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,
@@ -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': 'eastus',
+ 'location': 'westeurope',
'targetName': self.create_random_name(prefix='iscsi', length=10),
'storagePoolObjectId': '09f10f07-08cf-4ab7-be0f-e9ae3d72b9ad'
})
@@ -45,24 +45,27 @@ 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" 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')])
+ '--availability-zones {zone} --subnet-id {subnetId} --sku name="Standard_S1" 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}'),
self.check('disks[0].id', '{diskId}'),
self.check('subnetId', '{subnetId}'),
self.check('tier', 'Standard')])
+ self.cmd('disk-pool redeploy --name {diskPoolName} --resource-group {rg}')
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 +114,7 @@ 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)
+ result = self.cmd('disk-pool list-zones -l eastus2euap ').get_output_in_json()
self.assertIsNotNone(result)
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..584be2012cf 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,10 +24,16 @@
|[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 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)|
+### 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,16 +150,17 @@ 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`
+#### Command `az disk-pool redeploy`
-##### Example
+##### Example
```
-az disk-pool list-skus --location "eastus"
+az disk-pool redeploy --name "myDiskPool" --resource-group "myResourceGroup"
```
-##### Parameters
+##### Parameters
|Option|Type|Description|Path (SDK)|Swagger name|
|------|----|-----------|----------|------------|
-|**--location**|string|The location of the resource.|location|location|
+|**--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`
@@ -173,6 +186,29 @@ 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|
+### 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..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.2'
+VERSION = '0.2.0'
try:
from azext_diskpool.manual.version import VERSION
except ImportError: